Skip to content

AskAndroids.com

Android Tutorial Station

Install X2GO on Ubuntu for remote desktop

Thousands of times we find the need for a remote desktop, and we can meet this need by installing one on our VPS or dedicated server, for this we just have to follow this tutorial on how to install X2GO on Ubuntu . We have carried out all the tests in a 512MB RAM VPS .

What is X2GO and what is it for?

X2GO is a totally free, open source and cross-platform remote desktop solution . It is based on FreeNX libraries and transmissions are made using the SSH protocol so they are encrypted. One of the main advantages of X2GO over other remote desktop solutions (VNC, etc.) is the response speed even with slow connections, which is really good.

How to install X2GO on Ubuntu

This X2GO installation guide has been tested on the versions of Ubuntu 12.04, Ubuntu 12.10 and Ubuntu 13.10. Before installing X2GO we need to select and install a graphic environment for our remote desktop .

The first step will be to install the necessary Python iberias, there is a small variation according to the Ubuntu version as we see below:

  • If it is Ubuntu 12.10 we will use the following command:
    sudo apt-get install software-properties-common python-software-properties
  • If it is another version of Ubuntu it will be enough with:
    sudo apt-get install python-software-properties

The second step is to add the X2GO PPA:
sudo add-apt-repository ppa:x2go/stable
After executing the previous command it will ask us to press “Enter” to confirm, press it.
sudo apt-get update

The third step will be to verify that everything went well by doing a search for X2GO packages:
apt-cache search x2go
And we can see how the different packages of X2GO are listed.

Finally install X2GO with the command:
sudo apt-get install x2goserver x2goserver-xsession

At the end it is advisable to restart the system to free up resources for which we use the command:
shutdown -r now

Now we can only access the remote desktop by installing the client on our PC, which we can download from the official website .

Final conclusions on a remote desktop with X2GO

Having remote desktop access with X2GO is something very simple as we can see. My choice has been to install only the XFCE graphic environment, as it has been the one I liked the most and consumes few resources. Something that influences the choice of the graphic environment is the use that we will give to the remote desktop.

I could verify that the graphic environments make use of a large amount of RAM, on the VPS server where I have been testing (with 512MB of RAM) I do not run out of memory at any time. But if it is true that you can walk just RAM and more if we open FireFox for example.

If we do not have the possibility to buy a VPS server with more than 512MB of RAM, an option to give the system more resources is to create an exchange space, known as Swap. In an article published above we explain in detail what the Swap is and how to create it in Ubuntu .

As always if you have doubts or questions arise, do not hesitate to use the comments.

No comments yet.

Leave a Reply

Your email address will not be published.

Comments (0)