One, VNC Configuration connection remote server desktop
1, Server Installation Vnc-server
# yum-y Install Vnc-server
2. Configure the VNC connection login password
# VNCPASSWD Enter
3, Configuration Vnc-server
# vi/etc/sysconfig/vncservers
4, cancel the following two lines of comments
Vncservers= "2:root"
vncserverargs[2]= "-geometry 1024x768"
Save exit
5. Start Vnc-server
#/etc/init.d/vncserver Start
6. View your vnc-server port number
# PS aux | grep vnc*
Root 9472 0.0 0.4 137560 34260 pts/2 S 09:50 0:00/usr/bin/xvnc:2-desktop dy001.cn:2 (Root)-auth/root/. Xauthority-geometry 1024x768-rfbwait 30000-rfbauth/root/.vnc/passwd-rfbport 5902-FP Catalogue:/etc/X11/fontpath.d- Pn
Port number is 5902
7. Configure Iptables to open 5902 ports
Second, Windows installation VNC client
Start VNC Viewer when installation is complete
Start interface Input IP: port number OK to connect
Enter the password for the VNCPASSWD setting
Landing success
VNC configuration Connect remote server Desktop-linux\windows