March 12, 2010 · General · Email This Post

Sponsored Link
x2go is an open source terminal server project offering a comprehensive "server based computing" solution. Combining the advantages of existing systems it features ease of use, performance and scalability. x2go provides you with access to your desktop as an individual as well as a corporate user -- from within your own network and via the internet. x2go is not limited to any particular hardware, it supports a variety of devices and architectures. x2go is open source and open minded. The project also offers you a command line client for you to implement your own client applications and ideas. Like any open source project we welcome your support.

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 lenny main

Save and exit the file

Install GPG key

sudo gpg --keyserver --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

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

Sponsored Link

Incoming search terms:

Related posts

18 Comments to “X2go – Open source terminal server project (alternative to FreeNX)”

  1. Benjamin says:

    Why would I want to use x2go over NX or even just ssh and vnc?


    admin Reply:

    Check full comparison


  2. Tommy Butler says:

    …and the home site for this project is where? I’m going to guess based on the apt configuration instructions that it’s at

    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!


    admin Reply:

    Updated with link in first line of this article


  3. Tyler Style says:

    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?


  4. 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 –recv-keys C509840B96F89133


    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


    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.


  5. Samuel Allen says:

    I’m getting the same errors as Angel


  6. vesela_houba says:

    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 lenny main
    gpg –keyserver –recv-keys FC918B335044912E
    gpg -a –export FC918B335044912E | sudo apt-key add –
    gpg –keyserver –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


  7. vesela_houba says:

    oh… sorry, one line should NOT be there:
    “sudo gpg -a –export C509840B96F89133 | sudo apt-key add -“


  8. 4everlearning says:

    vesela_houba what what if we did do

    sudo gpg -a –export C509840B96F89133 | sudo apt-key add –

    is there a way to fix this?


  9. 4everlearning says:

    Thank you in advance


  10. Seth says:

    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.


  11. jhansonxi says:

    Much easier way to add the key:
    sudo apt-key adv –recv-keys –keyserver C509840B96F89133


  12. Doesnt seem to work with unity says:

    Doesnt seem to work with unity


  13. jouke says:

    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.


  14. robin says:

    Thanks, jhansonxi !!!

    That works ;)


    danton Reply:

    sudo gpg –keyserver –recv-keys C509840B96F89133

    If instead of eu you put uk or us then it works.


  15. Daniel says:

    gpg: Schlüssel 5044912E von hkp Server anfordern
    gpgkeys: HTTP fetch error 6: Couldn’t resolve host ‘’
    gpg: Keine gültigen OpenPGP-Daten gefunden.
    gpg: Anzahl insgesamt bearbeiteter Schlüssel: 0

    ” Cant resolve ”

    Any solution to fix this problem? Thanks in advance


Leave a Reply