Hey guyz .... just thought i would post a way of installing the Remote Desktop on a linux VPS ... some 256mb of ram will also able to run it but ofc it'll be slow .. i recommend 512mb of ram as minmum for it ...

for this i'll be using the software putty which many of u use ...

this is basically installing the VNC on the VPS ....

ok so here i go ....

login to ur putty and then start with these codes for installing required packages for VNC We'll need the X Window System and a desktop environment :-

Code: 
 yum groupinstall "X Window System"
yum groupinstall "GNOME Desktop Environment"
Over here if u want u can install another Desktop Environment ... but GNOME uses less resources and thats what i use

also the installation will take some time ... so i'll say patience gives sweets fruits ...

NOTE: If you receive the error “Error: Missing Dependency: libgaim.so.0 is needed by package nautilus-sendto” while installing GNOME Desktop Environment, you will need to manually install nautilus-sendto with the following procedure:


Code: 
yum install yum-utils

yumdownloader nautilus-sendto

rpm -Uvh --nodeps nautilus-sendto[PRESS TAB]
VNC Server will be installed with the X-Window System .. so now the thing left is to edit it's config for ur needs , so now type in :-


Code: 
nano /etc/sysconfig/vncservers
and then look for

Code: 
VNCSERVERS="2:root" # display port and username
VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost
Now over here in the 1st line 2:root defines 2 as the port no. u want for the RDP and root is the username ...
the 2nd line 800x600 is the reselution ... edit it as per ur needs


now ur RDP is almost ready ... all u gotta do is give it a password ...

type in :-

Code: 
vncpasswd
and then add the pass ...


now add the thing is to run these Remote Desktop u 1st need to start it manually from the ssh by typing


Code: 
vncserver :2
where 2 is ur port no. that u assined !!


now ... not so fast .... theres one more thing u need to edit ...

starting the server was just to chk if it was working fine ...


now kill it's process :-


Code: 
vncserver -kill :2
Now edit the local config file in the root folder :-


Code: 
nano ~/.vnc/xstartup
We want to have VNC load GNOME instead of the default twm. Look for the following line :-


Code: 
twm &
And replace it with

Code: 
gnome-session &
Ok now save and restart the VNC :

Code: 
vncserver :2
ok .. now it's all done ... remember the port no. and then add it to ur ip for example :-

Code: 
87.68.xx.xx:2
this will be the ip u'll use for connecting .... now what to use to connect ?
will i use TightVNC for this

u can also use RealVNC

now all u gotta do is type the ip with the port in this way



and then connect to it ... type in the password of the VNC that u made in the SSH ... and voila ... ur remote desktop is ready !!!

it may look something of thing kind



Enjoy guyz ... and ofc u may need to install the softwarez that u want in it ... my 1st tutorial .... hope u all like it
vizoomer Reviewed by vizoomer on . Installing Remote Desktop on a Linux VPS With CentOS 5 Hey guyz .... just thought i would post a way of installing the Remote Desktop on a linux VPS ... some 256mb of ram will also able to run it but ofc it'll be slow xD .. i recommend 512mb of ram as minmum for it ... for this i'll be using the software putty which many of u use ;) ... this is basically installing the VNC on the VPS .... ok so here i go .... login to ur putty and then start with these codes for installing required packages for VNC We'll need the X Window System and Rating: 5