How to configure Remote Desktop (GUI) on my VPS Ubuntu 12.04

  • Posted on July 23, 2014
  • dojamAsked by dojam

I want to access VPS as Desktop remotely, how can i configure it on my Ubuntu 12.04 VPS securely.

Looking for help…


Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Spin up a new 1GB or larger droplet running Ubuntu 14.04 x64 and follow these two articles:

I found the following worked for me. This is simple to do and quite quick to setup.


Your Droplet The source recommends creating your droplet with a hostname, but I don’t see the utility. Anyway, after creation, ssh in and execute the following:

# For this first line, I was having issues with the digitalocean ubunutu mirrors and switched them out.  This may not be neccessary if digitalocean fixes the issues later.
sudo sed 's/' -i /etc/apt/sources.list
sudo apt-get update
sudo apt-get install python-software-properties software-properties-common -y
sudo apt-add-repository -y ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goserver x2goserver-xsession -y
sudo apt-get install xfce4 -y #optional

Locally You’ll need to do this (assuming you’re on ubuntu/mint, but probably works on any debian as well):

sudo apt-add-repository ppa:x2go/stable
sudo apt-get update
sudo apt-get install x2goclient

Now, start your x2go and create a new session:

  • hostname: ip address of your droplet
  • username: probably root
  • assuming you are using ssh keys, just check the box to use default key
  • Optionally disable print sharing or else you might get a warning when starting the session, but you can also just ignore the error message.
  • start your session in x2go. BOOM! Done. Start installing apps or whatever…

This is a super basic setup that may not work for everyone. In my case, I have crap bandwidth and needed a place to download a few gigs of data, massage it with csvkit, awk, etc and reupload without it taking hours and hours for data transfers.

Look at this article where I comment on two ways to configure. Last one (using NoMachine) being the one with best performance.