Install a Desktop on Ubuntu Remotely using x2go server

Edited by Doug Collins, Eng, Dougie-1, Alexandru Miclos and 1 other

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.

Referencing this Article

If you need to reference this article in your work, you can copy-paste the following depending on your required format:

APA (American Psychological Association)
Install a Desktop on Ubuntu Remotely using x2go server. (2016). In VisiHow. Retrieved Apr 29, 2017, from

Was this helpful? Yes | No | I need help

MLA (Modern Language Association) "Install a Desktop on Ubuntu Remotely using x2go server." VisiHow, Accessed 29 Apr 2017.

Chicago / Turabian "Install a Desktop on Ubuntu Remotely using x2go server." Accessed Apr 29, 2017.

If you have problems with any of the steps in this article, please ask a question for more help, or post in the comments section below.


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

Ask the author

Doug Collins
Featured Author
36 Articles Started
5,379 Article Edits
132,720 Points
Doug Collins is a featured author with VisiHow. Doug Collins has achieved the level of "Commander" with 132,720 points. Doug Collins has started 36 articles (including this one) and has also made 5,379 article edits. 66,900 people have read Doug Collins's article contributions.
Doug Collins's Message Board
Doug Collins: Hi, my name is Doug Collins.
Doug Collins: Can I help you with your problem about "Install a Desktop on Ubuntu Remotely using x2go server"?

Article Info

Categories : Linux

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

Share this Article:

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

Do you have a question not answered in this article?
Click here to ask one of the writers of this article

Thank Our Volunteer Authors.

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