Before we start, many of you might be thinking that this required huge amount of ram and VPS resources, but let me tell you that it uses no more then like 40mb RAM tops, but can be tweaked to only 10-20mb I think. So it is a great way to have windows-like desktop environment on on low end VPS. It will run great on 256mb ram VPSs
It would be great if the linux vps has a newly installed operating system such as Ubuntu, however it isn't required. Clean and latest Linux VPS would provide better functioning, that's it.
Make sure you login as root, while executing the following commands.
1. Updating the apt-get system, usually gets done in under 30 seconds.
2. Upgrading the apt-get system, might take upto 20-30 minutes depending on the resources. You may be asked to press Y for yes, and press enter.
3. Upgrading the apt-get distribution system, usually takes about 20-30 seconds.
4. Installing X, LXDE, VPN programs, might take upto 20-30 minutes, but is worth the wait. You may be asked to press Y for yes, and press enter.
5. If you were successful in running the above command, most likely the VNC server is installed. Now we'll start it. Using this command
It will ask you for a password, type in any password you want when you login to your desktop, it will be asked for. It will ask you to retype the password for verification, type your pass again. When it asks "Do you want a view-only pass, type in n and press enter"
6. We'll close the vnc server process so we can edit its configuration file a bit. Kill the process of vnc server using this command.
7. To edit the file, we need Nano which is the file editor for linux, it is usually auto-installed, but if it isn't run the following command.
8. Now we will edit config file to start session with LXDE: It will look like this
9. Add the following lines to the config file we just opened, so it will look like this now. After doing so, press Ctrl + X, and then type Y and then press enter.
10. We have now successfully installed the VNC Server, we may run it again using this command.
11. Now we need to download the VNC Client to our PC, from which we will open our linux vps desktop. You may download it from the following link, according to your PC.
12. After downloading, install the TightVNC Client and open it up, it will look like this. In the remote host area, type in your VPS IP followed by :1
13. Now click on connect, and it will show a box asking for password, type in the same password, as we used earlier in the installation. Type in the password, and click on okay.
We have now successfully installed our VPS, and after clicking on okay, our very own desktop linux will open up.
This tutorial is one hundred percent written by me, I may have shared this on other communities so I thought I would post it here, so others can find this useful..