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 :-
Over here if u want u can install another Desktop Environment ... but GNOME uses less resources and thats what i use 8-)Code:yum groupinstall "X Window System" yum groupinstall "GNOME Desktop Environment"
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:
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:yum install yum-utils yumdownloader nautilus-sendto rpm -Uvh --nodeps nautilus-sendto[PRESS TAB]
and then look forCode:nano /etc/sysconfig/vncservers
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 ...Code:VNCSERVERS="2:root" # display port and username VNCSERVERARGS="-geometry 800x600 -nolisten tcp -nohttpd -localhost
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 :-
and then add the pass ...Code:vncpasswd
now add the thing is to run these Remote Desktop u 1st need to start it manually from the ssh by typing
where 2 is ur port no. that u assined !!Code:vncserver :2
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 :-
Now edit the local config file in the root folder :-Code:vncserver -kill :2
We want to have VNC load GNOME instead of the default twm. Look for the following line :-Code:nano ~/.vnc/xstartup
And replace it withCode:twm &
Ok now save and restart the VNC :Code:gnome-session &
ok .. now it's all done ... remember the port no. and then add it to ur ip for example :-Code:vncserver :2
this will be the ip u'll use for connecting .... now what to use to connect ?Code:87.68.xx.xx:2
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