1 Check if Vnc-server is installed in the system
[Email protected] ~]# Rpm-qa vnc-server
vnc-server-4.1.2-14.el5_6.6
This means that it has been installed, and if it is not installed, execute:
[email protected] ~]# Yum install-y vnc-server
2 Starting the VNC server
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/01/wKiom1VwdZHz6aYkAAD5A9BwXSY180.jpg "style=" float: none; "title=" 1.png "alt=" Wkiom1vwdzhz6aykaad5a9bwxsy180.jpg "/>
To generate a display configuration file using the Vncserver command
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6D/FD/wKioL1Vwdy6zJHoeAAEzSIay_sk524.jpg "style=" float: none; "title=" Vncserver.png "alt=" Wkiol1vwdy6zjhoeaaezsiay_sk524.jpg "/>
The login password can be changed using VNCPASSWD
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6D/FD/wKioL1VweGeCtfWYAABZqZQ5Gbo378.jpg "title=" Vncpasswd.png "alt=" Wkiol1vwegectfwyaabzqzq5gbo378.jpg "/>
Storage path for the above file: $HOME/.vnc
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/6D/FD/wKioL1VweX_BBoJeAACs6TyIaKM865.jpg "title=". Vnc.png "alt=" Wkiol1vwex_bbojeaacs6tyiakm865.jpg "/>
Finally, open the firewall:
The default port used by VNC is 5900, then create a display on the +1
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6D/FD/wKioL1Vwe0STXw4pAAFM-2mguPA174.jpg "title=" Iptables.png "alt=" Wkiol1vwe0stxw4paafm-2mgupa174.jpg "/>vnc
3 when VNC is configured, connect to the VNC server
adjourned
This article is from the "Tiandaochouqin" blog, make sure to keep this source http://luzhi1024.blog.51cto.com/8845546/1658689
The construction of VNC server under Linux