Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:services:application_services:high_performance_computing:interactive_queue:x2go [2022/06/17 19:15] – [X2Go client] ckoehle2en:services:application_services:high_performance_computing:interactive_queue:x2go [2022/06/17 19:21] (current) – [xterm environment] ckoehle2
Line 1: Line 1:
 +====== X2Go ======
  
 +===== Introduction =====
 +When using interactive GUI applications via SSH with X11 forwarding, input delays resulting from network latency are often an issue. For the initial connection from your machine to the HPC frontends, [[https://wiki.x2go.org/doku.php|X2Go - everywhere@home]] is a possible alternative to remedy this situation, since it uses the [[https://en.wikipedia.org/wiki/NX_technology|NoMachine NX technology]].
 +===== Setup =====
 +We first describe how to set up X2Go on your system and afterwards how to prepare your login session for using the batch system.
 +==== X2Go client ====
 +The first step is to visit [[https://wiki.x2go.org/doku.php/doc:installation:x2goclient|Installing the Qt-based X2Go Client]] and download the appropriate client for your platform (Win/Mac/Linux)
 +
 +{{:en:services:application_services:high_performance_computing:interactive_queue:x2go-gwdg-hpc3.png?nolink&500 |}}
 +
 +When setting up a session to one of the frontends ''gwdu101'', ''gwdu102'' or ''gwdu103'', be sure to to put the complete domain name into the field ''Host'' and your user name into ''Login''. Just like for raw SSH connections, key-based authentication is required. This can be done by specifying the location of your private key. An alternative is to just activate the checkbox "Try auto login" in order to acquire a key from the SSH agent or to use the default one.
 +
 +Because the default use case for X2Go is to start a desktop environment, which is not installed on the HPC frontends, change the ''Session type'' to //Single application// and type ''xterm'' as the run command.
 +==== xterm environment ====
 +In order to ensure the correct shell environment for the batch system, enter the following in the xterm session
 +<code>
 +source /etc/profile.d/slurm.sh
 +</code>
 +To make the setting permanent, just add this line it to the file ''~/.bashrc''.
 +
 +You can now continue by submitting an [[en:services:application_services:high_performance_computing:interactive_queue|interactive job]] with X-Forwarding from the frontend to the compute nodes as usual.
 +
 +<WRAP center round important 60%>
 +The X2Go server is installed on the HPC frontends but not on the login server ''login.gwdg.de''. If you're not connecting from within //GöNET//, please establish a [[en:services:it_consulting:apple_consulting_center:mac_network:mac_vpn|VPN connection]] first.
 +</WRAP>
 +
 + --- //[[christian.koehler@gwdg.de|ckoehle2]] 2022/06/17 19:20//