edit sources.lst
gksudo gedit /etc/apt/sources.list
add source
deb http://x2go.obviously-nice.de/deb/ lenny main
save and close.
Install GPG key
sudo gpg --keyserver wwwkeys.us.pgp.net --recv-keys C509840B96F89133
sudo gpg -a --export C509840B96F89133 | sudo apt-key add -
Update source list
sudo apt-get update
Install server
sudo apt-get install x2goserver-home
Install client
To get access to a x2goserver, you’ll need to install x2goclient. If you are using Gnome, you can use x2goclient-gtk
==========================================
Step 1: Add a PPA respository
sudo add-apt-repository ppa:x2go/stable
Step 2: Update your package database
sudo aptitude update
Step 3: Install x2go server
sudo aptitude install x2goserver
Step 4: (Optional) Install x2go client in case you are using a Linux desktop
sudo aptitude install x2goclient
That’s basically all the configuration you need to do.
On your Windows/Linux desktop/workstation, just launch the x2go client and connect to your Ubuntu desktop using the connection profile information it asks for. Just make sure that you have SSH server enabled on your Ubuntu desktop and the firewall is not blocking its port.
sudo apt-get install x2goclient-gtk
If you want to install x2go client in windows first you need to download windows client from here http://www.x2go.org/index.php?id=7
Installing X2go gnome bindings
If you are using Gnome as serverside desktop, you can install the x2gognomebindings package to get a icon to suspend sessions and to be able to access clientside filesystems.
sudo apt-get install x2gognomebindings