Analysis of centos6.5 installation vncserver instance
This article mainly introduces the relevant knowledge of "centos6.5 installation vncserver instance analysis". The editor shows you the operation process through the actual case, and the operation method is simple, fast and practical. I hope this "centos6.5 installation vncserver instance analysis" article can help you solve the problem.
Centos6.5 install vncserver
Brief introduction
Vnc (virtual network computer) is the abbreviation of virtual network computer, and vnc is an excellent remote control tool software.
Install the vnc service
First of all, confirm that the virtual machine has installed the desktop environment, such as gnome, etc.
# vi / etc/inittab
Startup level changed to 5
Id:5:initdefault:
Install the vnc service
# yum install pixman pixman-devel libxfont-y # yum install tigervnc tigervnc-server-y
Configure vnc vi / etc/sysconfig/vncservers to find vncservers and vncserverargs [2], open the comments and modify the code:
Vncservers= "2:root" vncserverargs [2] = "- geometry 800x600-depth 32"
Firewall: vi / etc/sysconfig/iptables has been added as follows:
-an input-m state-- state new-m tcp-p tcp-- dport 5900 tcp 5903-j accept
Start vncserver and set the password for vncserver
# vncserver
Restart the vncserver service:
# vncserver-kill: vncserver: 2
Use the vnc windows client
As follows:
Interface after successful connection:
This is the end of the introduction to "centos6.5 installation vncserver instance Analysis". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.