How to Install Centos Remote Desktop (RDP) on VPS

How to Install Centos Remote Desktop (RDP) on VPS

In this small tutorial we are going to learn how to install an CenOS remote desktop (rdp)  on a linux vps with centos operating system installed. Linux remote desktop has a graphical interface like windows and loads and works faster than a windows rdp. And in this way you can get an Centos Remote Desktop (rdp) for even quarter of the price that you will be paying for a windows rdp.The only consideration is that your vps should have a minimum guaranteed ram of 512 mb and burstable ram of more than 700 mb. Now you can follow this step by step tutorial to install your remote desktop on your Centos vps.

Step 1:

Download an install putty . This is a utility which you will use to send remote commands to your vps for installing Centos Remote Desktop. You can download putty from here. When you will run putty , it will open a window like this.Where you enter the ip address of your vps which your host gave you and click on open.

Step 2:

In the next window login as root and supply your root password. This will log you as root into your vps.

Step 3:

The next steps assume that your centos comes with YUM already installed. You may check if it is installed or not by issuing the following command in ur putty window.


If the output is something like this window , then it is ok otherwise contact your hosting provider to isntall yum for you. They can do it in two seconds and they should have included it in the first place.

Step 3:

Now we are using the command to install genome desktop enviroment which will install graphical environment on your vps . Issue the following command in the putty window.

yum groupinstall 'GNOME Desktop Environment' 'X Window System'

This will take quite some time ( around 10-15 ) minutes , depending upon the speed of your vps. Please wait for it to finish. After the command executes successfully , issue the following command in our quest to install Centos Remote Desktop (RDP).

yum update

This will update your system.

Step 4:

Now we will install NX/FreeNX server in vps which will act as our server when in the next steps we connect to this vps as Cenotos Remote Desktop. More information about NX server and client can be found here. In your putty window , issue the following command.

yum install nx freenx

When this command executes successfully , you again issue the yum update command.

yum update

Now restart your server and issue the following command.

shutdown -r now

This will restart your server in about two minutes time. You will have to close the putty window and again start putty and connect to your server as in Step 2 above. We will be needing something from this putty window one final time in a while.

Step 5:

For the next step to install Centos Remote Desktop go  here and download NX client for windows and install it.

Now run nx client from programs and a window like this will open.Enter in the Host box your IP address of vps , Select Gnome as desktop and display area as Available Area and move to next step without pressing any other button.

Step 6:

Go to your putty window and issue the following command.

cat /var/lib/nxserver/home/.ssh/client.id_dsa.key

Now copy the resulting dsa key with Control + C . The area to be copied is shown as grey area in the following picture.

Now go to the nomachine client window that we have left opened in Step 5 and click on key and paste the copied text from putty window in place of the already existing default key there.

Click Save and Then Click OK. It will open a window like this.

Enter your user name as root and your root password and click login. And if you followed me correctly , you will soon see a screen like this.

And then finally your centos remote desktop screen like this:

Hope you liked the tutorial to install Centos Remote Desktop and it was of some use for you. Do contact me in case of any queries.


  1. Nikola November 14, 2010
  2. silverboy February 28, 2011
  3. teddy April 17, 2011
  4. JumpJustin_ May 22, 2011
    • hatem April 2, 2012
    • Abdullah June 30, 2012
  5. martin June 8, 2011
  6. Gonzalo Sanchez June 9, 2011
  7. Robert Madore July 27, 2011
  8. Google-Boy July 29, 2011
  9. Thilina August 9, 2011
  10. nano August 19, 2011
  11. syed muhammad taha August 20, 2011
  12. Nick August 27, 2011
    • Thilina September 29, 2011
    • amir April 5, 2013
  13. abdullahkamal August 29, 2011
  14. mitakie September 7, 2011
  15. YeuHost September 10, 2011
  16. jk33443 September 30, 2011
  17. Jeremy McCoy March 28, 2012
    • Woody He May 3, 2012
  18. hatem April 2, 2012
  19. hatem April 3, 2012
    • Woody He May 3, 2012
  20. Abdullah June 30, 2012
  21. ed July 12, 2012
  22. jay July 31, 2012
  23. Vikram Kamath November 29, 2012
  24. Bifs January 29, 2013
  25. Raj February 1, 2013
  26. Fachim February 10, 2013
  27. rizal February 11, 2013
  28. Bill May 14, 2013
  29. ad June 6, 2013
  30. ad June 19, 2013
  31. itho July 2, 2013
  32. ad September 3, 2013
  33. lck September 11, 2013

Leave a Reply

Your email address will not be published. Required fields are marked *