-
Install x2go repositories (Ubuntu 22.04 Jammy)
- sudo apt update
- sudo add-apt-repository ppa:x2go/stable
- sudo apt update
-
Install x2go on the server
- add repositories as mentioned above
- sudo apt install x2goserver x2goserver-xsession
-
Install x2go on the client
- add repositories as mentioned above
- sudo apt install x2goclient
Note: x2go does not seem to work well with Gnome on the remote machine. It seems to work well with xfce. But some gotchas below
- Xfce4 gotchas
- Compositor needs to be disabled. Else it’ll be very slow and windows will smear and it’ll generally be unusable
- Setting -> Window Manager Tweaks -> Compositor -> Disable
- Or (untested):
/usr/bin/xfconf-query -c xfwm4 -p /general/use_compositing -s false
- Disable screensaver. Else window will freeze after some idle period
- sudo apt remove xfce4-screensaver; sudo apt autoremove
- Compositor needs to be disabled. Else it’ll be very slow and windows will smear and it’ll generally be unusable