Install X2Go Server
* this is from a basic ubuntu server install
1. the following command will fix the add-apt-repository command
sudo apt-get install python-software-properties
2. adding the x2go PPA for debian/ubuntu
sudo add-apt-repository ppa:x2go/stable
3. update
sudo apt-get update
4. install ubuntu-desktop (*option –no-install-recommends)
Gnome
sudo apt-get install ubuntu-desktop
or xfce
sudo apt-get install xubuntu-desktop
or KDE
sudo apt-get install kubuntu-desktop
5. install x2goserver
sudo apt-get install x2goserver
6. install gnome-session-fallback
sudo apt-get install gnome-session-fallback
7. install in windows or linux the client
https://www.x2go.org/doku.php