Last modified: | February 06, 2024 |
---|
You may use remote desktop for fast and secure access to graphical applications.
Warning
2-step authentication must be configured before logging into X2Go
download and install the X2go client from https://wiki.x2go.org/doku.php/download:start
Open the X2Go client program
If you use Mac OSX, you may be prompted you to install X11 (10.7 and earlier) or XQuartz (10.8 and later). Proceed to install either package.
Create a new session
I recommend creating an X2Go session for multiple servers, so you can easily log into a server with the most resources available.
If a ‘Session Preferences’ window doesn’t appear, then select Session -> New Session from the file menu
Session Name: Anything goes. I use the server’s host name, e.g. nx4 (see below)
Host: Choose from a host in the table below. I recommend choosing a host with the fewest Users.
Login: Type your username on the Neuro cluster
Session Type: Use the drop-down menu to select ‘XFCE’
click image to see full-scale:
Optional:
- Try auto login: If you configured a SSH key, then check the box next to ‘Try auto login (via SSH Agent or default SSH key).
First enable 2-step authentication
In the X2go client, there is a session box on the right with a picture of a seal and a menu (hamburger bar). To start a new session, click on the seal. To edit your session preferences, click on the menu button.
Type your password in the field provided.
A new window will open requesting a ‘Verification Code’. Open the Google Authenticator app on your device, and look for the 6 digit code. Type that code into the window requesting the ‘Verification Code’.
To terminate your session, click the ‘power’ button.
Alternatively, you may resume your X2Go session later (from another computer). This is called ‘suspend’, although your jobs continue to run in the background. To suspend a session, click the ‘pause’ button just to the left of the power button (displayed above), or simply close your laptop.
If you suspended your X2Go session, and start a new X2Go session on a different computer, then your old X2Go session will be terminated automatically.
If you want to resume a X2Go session, but forgot where it’s running, then use the ‘cjobs’ command to locate your x2goagent process:
Log into a Neuro cluster computer with secure shell
Run the ‘cjobs’ command:
[joe@nx5 ~]$ cjobs
for best performance...
Login to the X2Go server with the fewest number of users. This information is provided below, or by using ‘nxload’ command on the Neuro cluster.
Limit cpu-intensive jobs within X2Go
The X2Go servers have only 8 CPU cores, and are used by multiple labs.
If you use more than 3 cpu cores in your X2Go session, then your jobs may be restricted to a single CPU core. You will receive email with instructions about how to use Grid Engine to run jobs in parallel. Grid Engine distributes jobs across the cluster for optimal performance.
When using secure shell (SSH) or python notebook, log into the server where your X2Go session is running.
Please do not log into multiple servers simultaneously. If you want to run jobs in parallel, please use Grid Engine.
Use your local web browser to display the Jupyter Notebook.
If you experience network lag...
if you continue to experience performance problems, email support-neuro@berkeley.edu. Please include the following information:
If you receive an error when logging in via X2Go, then
wait a few minutes. The X2Go state database is refreshed every 5-10 minutes
log into a server with the fewest users
email support-neuro@berkeley.edu. If you’ve waited a few minutes, and want to resume your session, then email me. Sometimes I can help ;)