1, before installing the software first check whether the system has installed the software: Rpm-qa tigervnc-server
2, according to the query of the previous command, the display system is still not installed VNC server-side software, then we will use the command to install: Yum Install tigervnc-server-y
3, the first server side needs to run Level 5 graphical interface. You can make the command query: RunLevel
4, use the Vncserver command to configure the VNC remote use password: vncserver
5. Edit VNC to start the GUI file vim/root/.vnc/xstartup the last line Twm & this comment off, then add a line of content Gnome-session & then save exit (: Wq)
6, re-edit vnc another configuration file vim/etc/sysconfig/vncservers modify the last two lines as follows vncservers= "1:root 2:root" #VNCSERVERARGS [2]=]-geometry 800x600-nolisten tcp-localhost "vncserverargs[1]="-geometry 1366x768 "vncserverargs[2]="-geometry 1366x768 "then save exit (: Wq
7. Automatically starts with the system Chkconfig--level 345 vncserver on
8. Firewall Settings View VNC listening port Netstat-ntupl|grep vnc modify vim/etc/sysconfig/iptables copy 22 port One line, paste two lines change port (5901, 5902)
9. Restart Firewall Services service iptables restart
CENTOS-6.5X64:VNC installation Configuration