X2Go (External Link) allows you to interact with ALICE or SHARK through a graphical desktop instead of the command line interface. For some applications, using X2Go can be more efficient than running X11 forwarding. X2Go is available for Windows, MacOS and various Linux flavors.
This page shows how to setup and make use of X2Go on ALICE and SHARK
Getting X2Go
The X2Go client can be downloaded from the X2Go homepage (External Link) and installation instructions are available here (External Link).
For Linux, x2go is available through the standard package manager of several distributions, e.g.,
CentOS/Fedora/Red Hat: yum install x2goclient
Ubuntu/Debian: apt-get install x2goclient
Arch Linux: pacman -S x2goclient
For Windows, you can choose between a Windows installer or a portable version
For MacOS, you can choose between installer for different versions of MacOS
You do not need the X2Go server.
Setting up the connection
If you have installed the X2Go client, you can set it up for ALICE or SHARK:
ALICE | SHARK | |
---|---|---|
Start X2Go, select “Session” in the menu and then “New Session”. | Start X2Go, select “Session” in the menu and then “New Session”. | |
In Session name you can replace “New session” by a more suitable name, e.g., “ALICE 2”. In the Server settings,
You can also set the path to your ssh key in Use RSA/DSA key for ssh connection if you do not want to authenticate using your password. In Session type, select either Finally, confirm the settings by clicking OK. | In Session name you can replace “New session” by a more suitable name, e.g., “SHARK 1”. In the Server settings,
You can also set the path to your ssh key in Use RSA/DSA key for ssh connection if you do not want to authenticate using your password. In Session type, select either Finally, confirm the settings by clicking OK. |
Using X2Go
Available desktop and how to log out of your X2Go session
The following desktop environment are available:
on ALICE: XFCE, MATE
on SHARK: XFCE, ICEWM
The screenshots below give an impression of how the different desktop environments look like. The actual appearance of the desktop can vary between SHARK and ALICE and from user to user.
ICEWM
ICEWM is only available on SHARK
The ICEWM desktop for a new session
In order to log out, click on bottom-right icon, select “Logout” and then “Logout”.
Confirm that you want to log out, by clicking “OK” on the appearing overlay window:
MATE
MATE is only available on ALICE
The MATE desktop for a new session
In order to log out, click on “System” in the menu bar and then select “Log Out <user-name>”, where <user-name> is your ALICE user name.
Confirm that you want to log out, by clicking on “Log Out” on the appearing overlay window:
XFCE
The XFCE desktop for a new session
In order to log out, click on Application in the top-left menu and select “Log out”.
An overlay window will appear, asking you to confirm by clicking once more on “Log Out”.
Mounting a local folder to the X2Go session
Best Practices
Always logout of your desktop environment in order to properly terminate your session. Do not just close the window because this will keep your session suspended consuming resources on the login nodes.
While there is most likely always a limited amount of time lag involved when using X2Go, you can try to improve the performance by changing the Compression Method in Sesssion preferences -> Connection.
Known Issues
There is a known issue that results in breaking the copy-and-paste functionality from the host to the server or the other way around. In some cases, it helps to enable do not use primary cliboard in Options -> Settings -> X.Org Server settings. Otherwise, it might be necessary to restart X2Go.