- Make sure system is updated: sudo apt update && sudo apt upgrade
- Install xrdp: sudo apt install xrdp
- Enable Service: sudo systemctl enable xrdp
- Add to SSL group: sudo adduser xrdp ssl-cert
- Start Service: sudo systemctl start xrdp
- Go to your home folder: cd
- Edit .xsessionrc: vi .xsessionrc
- Go to line 85: :85
- Change line as shown below (see also screenshot with first arrow below)
- This line: remove_apps=("thunderbird" "rhythmbox" "libreoffice-writer")
- to: remove_apps="thunderbird" "rhythmbox" "libreoffice-writer"
- by removing ( and )
- Go to end of file: Escape Key and then press G
- Add new line: Press o and Enter
- Add below
- export GNOME_SHELL_SESSION_MODE=ubuntu
- export XDG_CURRENT_DESKTOP=ubuntu:GNOME
- export XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
- Save and Quit: Escape and :q! then Enter
- Disable Automatic Login:
- Open Settings App: gnome-control-center
- Left side menu, find Users
- Find your user and Disable Automatic Login
- Reboot: sudo reboot
.sessionrc file after change should look like below