How to Get Access to the GUI of a OSGeoLive VM Using X2go?

You can get access to the GUI of a OSGeoLive VM in two ways: Using the SPICE console in the Horizon panel or using the application X2go for remote control.

SPICE console in Horizon panel

Login to https://cloud.fra1-1.cloudferro.com/auth/login/?next=/, go to “Project” → “Compute” → “Instances” and select the VM you wanted connect to.

../_images/accessguilive1.png

Open “Action” menu and choose “Console”.

../_images/accessguilive2.png

The default user for OSGeoLive image is “eouser” (EO User). Select the password field and press enter twice.

../_images/accessguilive3.png

Then you can set a new password. After logging in you will gain access to the GUI.

X2go for remote control

To access the GUI you can also use a remote access program such as x2go. It can be installed in Linux, Windows and macOS. The application can be downloaded from official website: https://wiki.x2go.org/doku.php

To install x2go on your instance connect to your VM via ssh:

ssh -i key eouser 194.152.XXX.XXX

Perform the following operations on the VM:

sudo add-apt-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession
sudo apt-get install x2golxdebindings

Operations that need to be performed on the client-side on Linux (Instructions for Windows and macOS can be found on the official website. In most cases it is simple downloading and running the installer):

sudo apt-get install x2goclient

Run x2go by command:

x2goclient

In the top menu select “Session”→ “New session …

Complete the fields:

Host - floating IP of the VM Login - eouser (this account allows ssh connections) SSH port - 22 (by default) Use RSA/DSA key for ssh connection - the path to your ssh private key file Session type - chose “Custom desktop ” and type in “Command” field:

/usr/bin/lxsession -s Lubuntu -e LXDE
../_images/accessguilive4.png

Click “OK”. If all fields have been filled out correctly you should see a tile with information about the newly created session. You can change the resolution of the start up window from the context menu:

../_images/accessguilive5.png

After starting the session, you will gain access to your virtual machine.:

../_images/accessguilive6.png