We all know what is remote desktop connection which is a built in application inside windows.
We all know what is remote desktop connection which is a built in application inside windows. With this software we can create remote connection into virtual private servers directly from our own computer. But what about linux? How we can make it on linux vps and our computer is windows base operating system?
Thanks to real vnc who make this thing possible to do remote desktop connection into linux OS server. I applied this method on my Centos virtual private server and well done smoothly. So here we go, all requirements you need is
- VPS Centos 5.x linux os you can get it for free from free1host
- Real Vnc (windows application to connect the servers)
- Putty (SSH connection to your VPS)
Remote Desktop Services (Photo credit: Wikipedia)
Steps:
1. Connect to your VPS using Putty as usual, enter the username & password after Go to step 2
2. type the following command in PuTTY
Code:
# yum groupinstall “X Window System”
# yum groupinstall “GNOME Desktop Environment”
If this is your step getting error “Error: Missing Dependency: libgaim.so.0 is needed by package nautilus-sendto” when installing GNOME Desktop Environment, then you have to manually install nautilus-sendto ways:
Code:
# yum install yum-utils
# nautilus-sendto yumdownloader
# rpm-Uvh – nodeps nautilus-sendto[Press TAB]
3. VNC Server will be installed with the X-Windows System. then, the final step is to edit its config VNC,
Code:
# vi / etc / sysconfig / vncservers
and see the line:
Code:
VNCSERVERS = “2: root”
VNCSERVERARGS [2] = “-geometry 800×600-nolisten tcp-localhost-nohttpd
In the first row, shows the “vncserver =” 2: root “which means you will connect to the VPS via port 2. In the second line shows resolution.
4. Now, the VNC Server is nearing completion. Now we give the password for security:
Code:
# vncpasswd
Give the password as to it, repeat the password for verify.
5. Run VNC:
Code:
# vncserver: 2
remember: it’s ports 2 to be used to connect, make sure to use set it properly
6. Now we kill first VNC process, we run the VNC just to test it is really work or not.
Code:
# vncserver-kill: 2
7. Now, edit the local config file in the root folder
Code:
# vi ~ / .vnc / xstartup
Find the line that reads “twm &” change it to “gnome-session &”. store its files.
8. Ok Now we start again its vnc:
Code:
# vncserver: 2
9. Now we can already connect to the server using software named “RealVNC” so connect via vnc:
Code:
your ip : 2
source : http://masndol.com











Good guidance
like thank for share