Remote Desktop Connections with X2go

X2go allows graphical remote connections to our central interactive clusters comparable to the Windows Terminal Server access via CitrixReceiver.

Why should I use X2go?

To get rid of the prehistoric VNC or commercial solutions like X-Win32 we recommend to use the open source program X2go for graphical remote login on Linux hosts. This product offers many advantages:
  • No server side configuration or interaction required.
  • Better performance especially via WAN connections.
  • Dynamic resizing of the imported desktop.
  • No license issues.
  • Automatic tunneling via ssh (TCP port 22).

The server part (for exporting the desktop) is installed on all desktop systems using Wheezy or later, e.g., clients (for displaying the desktop) are available on all machines running Squeeze or later.
Computers with Windows may install the x2goclient package via the Software Center.

How do I use X2go?

Start the client

On Linux hosts you may enter the command x2goclient or use the corresponding menu entry:
  • KDE4: K → Applications → Internet → X2Go Client
  • XFCE: x → Internet → X2Go Client

Create a connection

You'll have to create at least one connection for using X2go.
  1. In the tab "Sitzung" (session) you may enter a reasonable session name in the field "Sitzungsname".
  2. You'll have to enter the host name of the remote system and your remote user name in the fields "Host" and "User" and keep the default port number 22.
  3. If you're using a key pair for ssh connections (see SshUsage) you may check the corresponding box "Anmeldung …".
    info For login with your Linux password please leave the box unchecked.
  4. At last you may choose your session type in the pull-down menu "Sitzungsart". KDE is the default setting, if you prefer XFCE, then choose the corresponding menu entry.
  5. Finally save your connection settings by clicking the OK button.

x2goclient session

Start a connection

Click on one of your available connections. If you are using it for the first time, you may have to accept the ssh key of the remote host. Depending on your authentication method you may be prompted for your password or the secret for you private ssh key. The server will start the graphical session and a new window will appear granting you access to the remote desktop.

x2goclient connection

Close a connection

To end a remote session you'll have to log out from the remote desktop, e.g.:
  • KDE4: K → Leave → Log out
  • XFCE: x → Log Out

info Closing the session window without logging out keeps the session running, so you may reconnect to this session later.

ALERT! Leaving a session open is only useful when connecting to a dedicated machine. If you're using a pool like with DNS round-robin the next connection may take you to another member of the host group, where you'll have to start a new session.
To pick a single machine from a pool like you may run the command pipe host | ip2host to get a list of available hosts.


Host key problems

It seems that some versions of x2go doesn't support the new ECDSA host key algorithm yet (see bug#240), so the connection will fail with a error message:


As a workaround you'll have to delete the ECDSA host key from your known_hosts file using the command ssh-keygen -R {servername} and add the old RSA host key instead with ssh -oHostKeyAlgorithms='ssh-rsa' {servername}


Ctrl - Alt - F
Toggle between fullscreen and window mode

-- StefanHaller, ChristopherHuhn - 2014
Topic revision: r12 - 2020-03-03, StefanHaller - This page was cached on 2021-09-19 - 19:48.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Imprint (german) | Privacy Policy (german)