One, install the Tigervnc-server VNC package
[email protected] ~]# Yum install Tigervnc-server
[Email protected] ~]# RPM-QC tigervnc-server
/etc/sysconfig/vncservers
[[email protected] ~]# chkconfig--level vncserver on set boot up
Second, vim/etc/sysconfig/vncservers modification
vncservers= "1:root" #1为访问端口号, connect as root user
vncserverargs[2]= "-geometry 800x600 1366x768"
Use the root login system with VNC to create a VNC password
[Email protected] ~]$ VNCPASSWD
Password: Enter password
Verify:
[[email protected] ~]$ vncserver start service generation/root/.vnc/xstartup
View the VNC service that is already open, turn off the service
[Email protected] ~]$ vncserver-list
TigerVNC Server Sessions:
X DISPLAY # PROCESS ID
: 1 5567
[Email protected] ~]$ vncserver-kill:1
Killing Xvnc process ID 5567
Third, start the service
[[email protected] ~]#/etc/init.d/vncserver start
Four, Client access
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/76/A5/wKioL1ZYJNjTD4GaAACugJ_TkmI771.png "title=" 00.png "alt=" Wkiol1zyjnjtd4gaaacugj_tkmi771.png "/>
This article is from the "down to Earth, steady forward" blog, please be sure to keep this source http://linuxtech.blog.51cto.com/3670088/1717561
How to install the VNC Remote Connection tool