X2go – Open source terminal server project (alternative to FreeNX)
Sponsored Link
Install x2go in Ubuntu 9.10 (Karmic)
First you need to edit the /etc/apt/sources.list file
gksudo gedit /etc/apt/sources.list
Add the following line
deb http://x2go.obviously-nice.de/deb/ lenny main
Save and exit the file
Install GPG key
sudo gpg --keyserver wwwkeys.eu.pgp.net --recv-keys C509840B96F89133
sudo gpg -a --export C509840B96F89133 | apt-key add --
Update source list
sudo apt-get update
Installing x2go server
X2goserver-Home is a meta package which will install an x2goserver for a single host. This meta package will take care of configuring your system and you'll be able to use it after very short time. This Edition fits perfectly inside Ubuntu machines. An unlimited number of users can access this PC – but you won't be able to use multi server features like “load balancing”.
sudo apt-get install x2goserver-home
Note:- Please make sure that the following packages are installed: SSHFS, FUSE and SQLIGHT3.
Installing X2go client
To get access to a x2goserver, you'll need to install x2goclient. If you are using Gnome, you can use x2goclient-gtk
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
Why would I want to use x2go over NX or even just ssh and vnc?
…and the home site for this project is where? I’m going to guess based on the apt configuration instructions that it’s at x2go.obviously-nice.de
I just found it strange that you had no link back to the home site, because you always furnish links. It’s not like you! *gasp!*
Thanks ubuntugeek! I THINK I LOVE YOU!
Updated with link in first line of this article
Check full comparison http://en.wikipedia.org/wiki/Comparison_of_remote_desktop_software
Well, I tried it out but cannot get a connection from my windows machine to my ubuntu box. There is an option to see more details, but the box closes immediately so that I cannot read the text! Very annoying. Anyone had any success with this and can provide some pointers?
Hi all!
There is something that should be point out in this procedure. In Ubuntu in the Install GPG key section should be:
gpg –keyserver wwwkeys.eu.pgp.net –recv-keys C509840B96F89133
and
gpg -a –export C509840B96F89133 | sudo apt-key add –
Because if not this errors arises:
gpg: WARNING: unsafe ownership on configuration file `/home/XXXXX/.gnupg/gpg.conf’
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error
and
gpg: WARNING: unsafe ownership on configuration file `/home/XXXXX/.gnupg/gpg.conf’
gpg: no writable keyring found: eof
gpg: error reading `-‘: general error
gpg: import from `-‘ failed: general error
Please anotate.
I’m getting the same errors as Angel
This worked for me.
You are supposed to run gpg commands as normal user, but apt-key must be run as superuser.
sudo vim /etc/apt/sources.list
# add
deb http://x2go.obviously-nice.de/deb/ lenny main
gpg –keyserver wwwkeys.eu.pgp.net –recv-keys FC918B335044912E
gpg -a –export FC918B335044912E | sudo apt-key add –
gpg –keyserver wwwkeys.eu.pgp.net –recv-keys C509840B96F89133
sudo gpg -a –export C509840B96F89133 | sudo apt-key add –
gpg -a –export C509840B96F89133 | sudo apt-key add –
sudo aptitude update
sudo aptitude install -y x2goserver-home x2goclient-gtk x2gognomebindings
oh… sorry, one line should NOT be there:
“sudo gpg -a –export C509840B96F89133 | sudo apt-key add -“
vesela_houba what what if we did do
sudo gpg -a –export C509840B96F89133 | sudo apt-key add –
is there a way to fix this?
Thank you in advance
Try adding the GPG repo key using the following trick:
echo “gpg -a –export C509840B96F89133 | apt-key add -” | sudo sh
Thank you Don Marti from Linux Journal, I use this all the time.
http://www.linuxjournal.com/content/running-complex-commands-sudo
Much easier way to add the key:
sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com C509840B96F89133
Doesnt seem to work with unity
The cli client works on a unity desktop. The gnome client does not, it crashes with a segfault.
Compiz on the server will not work, so unity will neither.
Thanks, jhansonxi !!!
That works 😉
sudo gpg –keyserver wwwkeys.eu.pgp.net –recv-keys C509840B96F89133
If instead of eu you put uk or us then it works.
gpg: Schlüssel 5044912E von hkp Server wwwkeys.eu.pgp.net anfordern
gpgkeys: HTTP fetch error 6: Couldn’t resolve host ‘wwwkeys.eu.pgp.net’
gpg: Keine gültigen OpenPGP-Daten gefunden.
gpg: Anzahl insgesamt bearbeiteter Schlüssel: 0
” Cant resolve wwwkeys.eu.pgp.net ”
Any solution to fix this problem? Thanks in advance
Odd that x2go is not on that list…