How to connect a remote CentOS server using the VNC viewer
Installing the Graphical interface
1.
Yum groupinstall-y "Desktop" yum groupinstall-y "X window System"
2.vi/etc/inittab
3.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7E/75/wKioL1cBC9rgfOu7AAA601QLdoA959.png "style=" float: none; "title=" 31.png "alt=" Wkiol1cbc9rgfou7aaa601qldoa959.png "/>
4.Reboot
Linux VNC Server installation and simple configuration use
1. Open terminal using the Yum command to install VNC Sever.
Command: Yum install tigervnc-server-y
2, set the Vncserver to boot with the system.
Command: Chkconfig vncserver on
Or: Chkconfig vncserver--level 5 on
3. Modify the Vncserver configuration file.
Command: Vim/etc/sysconfig/vncservers
4, configuration file. Where is the yellow place in the picture?
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7E/78/wKiom1cBCzTR3CVoAADNOfgsa0c433.png "style=" float: none; "title=" 32.png "alt=" Wkiom1cbcztr3cvoaadnofgsa0c433.png "/>
": Wq" is saved and exited,
5, set the password for vncserver (VNC client login is used).
Command: VNCPASSWD
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7E/75/wKioL1cBC92gRnkUAABfuG8xZz0477.png "style=" float: none; "title=" 33.png "alt=" Wkiol1cbc92grnkuaabfug8xzz0477.png "/>
6. Restart the Vncserver service.
Command: Service vncserver restart
7, if there is failed that is generally the configuration file is wrong, if the problem is still after the check, and the error is similar to the version of the reason. Install or update the X11.
Command: Yum install Pixman pixman-devel libxfont-y
Please note that the x inside the Libxfont is capitalized.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7E/78/wKiom1cBCzageL1oAADP32vqaCI995.png "style=" float: none; "title=" 34.png "alt=" Wkiom1cbczagel1oaadp32vqaci995.png "/>
8. Restart the Vncserver service once the installation is complete.
Command: Service vncserver restart
Client:
Download Vncviewer software
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7E/75/wKioL1cBC97ypgj9AAAtfpzoHIk983.png "style=" float: none; "title=" 35.png "alt=" Wkiol1cbc97ypgj9aaatfpzohik983.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7E/75/wKioL1cBC9-ifWBPAABGwclPh7g315.png "style=" float: none; "title=" 36.png "alt=" Wkiol1cbc9-ifwbpaabgwclph7g315.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7E/75/wKioL1cBC9-TIb0pAAA-IkI0Eq4020.png "style=" float: none; "title=" 37.png "alt=" Wkiol1cbc9-tib0paaa-iki0eq4020.png "/>
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7E/75/wKioL1cBC-CBDId_AAA-PT2IbKM050.png "style=" float: none; "title=" 38.png "alt=" Wkiol1cbc-cbdid_aaa-pt2ibkm050.png "/>
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7E/75/wKioL1cBC-CCKM_PAABE70ZAGX4169.png "style=" float: none; "title=" 39.png "alt=" Wkiol1cbc-cckm_paabe70zagx4169.png "/>
Victor.jiang
This article is from the It Dick thread blog, so be sure to keep this source http://68686789.blog.51cto.com/10438688/1759930
How to connect a remote CentOS server using the VNC viewer