Install a Desktop on Ubuntu Remotely using x2go server

Edited by Doug Collins, Eng, Anonymous, Dougie-1 and 2 others

I had the need to use a cheap $8 per month headless server I have from Kimsufi (ovh) as a desktop that I could connect to from anywhere with an x2goclient. It has worked out quite well for me. These instructions are brief but I wanted to document it for others and myself.

Was this helpful? Yes | No | I need help


Installing X2GO Server

I chose x2go as the x Windows client because it is very easy to get running on both Windows and ubuntu. Feel free to update this wiki with other options if you figure out some other alternatives (please!)

Was this helpful? Yes | No | I need help

apt-get install python-software-properties
add-apt-repository ppa:x2go/stable
apt-get update
apt-get install x2goserver
service x2goserver start
apt-get install lubuntu-desktop

Now you have a server always on and running on the internet you can connect to and do whatever you need any time you want.

Was this helpful? Yes | No | I need help

Running X2GO Client

Yassora 200116035208-meme.jpg

After installing your X2GO client, configure a profile to connect to your server(s) like this.

Be sure to choose KDE unless you are running a different desktop. If it won't startup properly it is most likely you have chosen the wrong session type. So play around a bit before assuming its something else.

Was this helpful? Yes | No | I need help


  • You can download the x2go client for Windows or whatever operating system you are using.
  • They don't seem to have an Android x2go client app yet :( Probably an x server client would work but I have found nothing that works on my Samsung Galaxy Note2 to date.
  • Any work you do on this server does not trace back to you because you are basically running a server remotely. Add in some log scrubbing if needed. I personally use this setup for SEO purposes so log scrubbing is not needed.

Questions and Answers

I can create an x2go server on virtual machine with Ubuntu and connect them with Windows from same machine?

Is it possible to make this? it's just a test for one project. I have tried: I already installed a lot of patches. I think it was caused by: The virtual machine and Windows have the same IP, so the server and the client have same IP

Was this helpful? Yes | No | I need help

Theoretically, you should be able to do this although Virtual Machine is not always stable since Windows 10 came out. See if you can do it since this is something of an experiment for a project.


VisiHow welcomes all comments. If you do not want to be anonymous, register or log in. It is free.

Doug Collins
Featured Author
36 Articles Started
4,812 Article Edits
130,590 Points
Doug Collins is a featured author with VisiHow. Doug Collins has achieved the level of "Commander" with 130,590 points. Doug Collins has started 36 articles and made 4,812 article edits. 59,486 people have read Doug Collins's article contributions.
Ask Doug Collins
Hi, my name is Doug Collins. I hope my article on "Install a Desktop on Ubuntu Remotely using x2go server" was helpful. If you have a question please click the button below.

Article Info

Categories : Linux

Recent edits by: Alexandru Miclos, Dougie-1, Anonymous

Share this Article:

Thanks to all authors for creating a page that has been read 6,207 times.


Thank Our Volunteer Authors.

Would you like to give back to the community by fixing a spelling mistake? Yes | No