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.
1. SPICE console in Horizon panel
Login to https://cf2.cloudferro.com, go to “Project” → “Compute” → “Instances” and select the VM you wanted connect to.
Open “Action” menu and choose “Console”.
The default user for OSGeoLive image is “eouser” (EO User). Select the password field and press enter twice.
Then you can set a new password. After logging in you will gain access to the GUI.
2. 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 /path/to/private/key.pem [email protected]
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:
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
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:
After starting the session, you will gain access to your virtual machine.: