CentOS安装VNC

yum install tigervnc-server
vncserver
vncpasswd
vi /etc/sysconfig/vncservers
VNCSERVERS=”1:root”
#VNCSERVERARGS[1]=”-geometry 800×600 -nolisten tcp -localhost”
vi /root/.vnc/xstartup
service vncserver restart