Install a Desktop on Ubuntu Remotely using x2go server
Edited by Doug Collins
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.
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!)
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.
Running X2GO Client
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.
- 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
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.
- If you have problems with any of these steps, ask a question for more help, or post in the comments section below.
Categories : Linux