Dr. A's Ubuntu Install Notes

These are general notes and not specific to a class, so tread lightly if you are one of my students.

Ubuntu 18.04 or 20.04

One of the first things I like to do with an Ubuntu machine inst install xrdp. Here are the steps I got from here. Of course you should update the server first!

$ apt install -y xrdp
$ sudo sed -e 's/^new_cursors=true/new_cursors=false/g' -i /etc/xrdp/xrdp.ini
$ sudo systemctl restart xrdp

Create the .xsessionrc in your home directory and have it contain:

GNOME_SHELL_SESSION_MODE=ubuntu
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=${D}
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg

I like to use gnome so the following fixes were also added in /etc/polkit-1/localauthority/50-local.d/xrdp-color-manager.pkla

[Networkmanager]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device
ResultAny=no
ResultInactive=no
ResultActive=yes

Then you need to restart polkit:

$ systemctl restart polkit

That should do it for connecting from Windows.

Moodle Install