Accessing BEAR Cloud VMs using X2Go

BEAR Cloud VMs can be enabled to allow graphical access using a X2Go - this access is not enabled by default. Requesting this option to be enabled should be done via a Service Desk ticket.

Downloading and Installing X2Go

Go to https://wiki.x2go.org/doku.php/doc:installation:x2goclient and follow the instructions (relevant to your operating system) for installing X2Go on your local machine. Note for Mac OS users: you will need to install XQuartz (https://www.xquartz.org), and open it before following the steps below.

Using X2Go to access a BEAR Cloud VM

Once you have installed X2Go, open the application. You should see a window similar to the one below, asking you to create a new session. If not, select the New session option.  

X2Go New Session

Change the Session name to something suitable. In the Host section, enter the IP address of your Linux VM. In the Login section, enter your ADF username. The final step is to change the option in the drop-down menu under Session type to MATE. Once you have modified these options, click OK.

You should then see the session details saved in a pane on the right-hand-side, as below. 

X2Go Click SessionClick on the session details, enter your username and password, and then click OK.


X2Go Enter PasswordOnce you have completed these steps, an interactive session will start, and you should see the desktop of the Linux VM.

centos_vm

Loading modules

If you want to load BEAR applications using the "module load" command, then you will need to change the following setting:

  1. Open the Mate Terminal (click the terminal icon in the top panel)
  2. Click "Edit" in the terminal's menu
  3. Click "Profiles"
  4. Select the desired profile (usually "Default") and click "Edit"
  5. Select the "Title and Command" tab
  6. Tick the "Run command as a login shell" box
  7. Click "Close", and "Close" again.
  8. Then close this terminal and open a new one.
  9. You can now run "module load ..." commands in the terminal.