Virtual machine with GUI and remote desktop (x2go)

x2go is an easy-to-set-up terminal server. It allows access to my Debian vServer with a graphical user interface. This also works wonderfully with an lxc container within Proxmox.

First, we need to add the package source. To do this, we add the following line to the file /etc/apt/sources.list:

deb http://packages.x2go.org/debian jessie main

 

Now we update our package lists

apt-get update

And install the necessary key

apt-get install x2go-keyring && apt-get update

Now the actual server can be installed

sudo apt-get install x2goserver x2goserver-xsession

The installation of the x2go server is now complete.

Now we still need a GUI. I have decided to use MATE:

sudo apt-get install mate-desktop-environment-extras

To access the GUI we need a user with shell access. This is also quite simple with

adduser <benutzername>

Now we can install the x2go client (available for Linux, Windows, Mac and even the Raspberry Pi) and log on to our server.

2 comments

  1. Hello Matthias.

    How does the performance of x2go compare to xrdp, for example? I like to use Mint or LMDE4 and install XRDP. Is the performance of the connection better with x2go?

Leave a comment

E-mail address will not be published.


*