rpm -ivh tigervnc-server-1.1.0-16.el6.x86_64.rpm
yum install tigervnc-server
yum groupinstall "X Window System" "Desktop"
VNCSERVERS="1:root" VNCSERVERARGS[1]="-geometry 800x600 -alwaysshared -depth 24"
[root@JY-DB ~]# vncserver You will require a password to access your desktops. Password: Verify: xauth: creating new authority file /root/.Xauthority New 'JY-DB:1 (root)' desktop is JY-DB:1 Creating default startup script /root/.vnc/xstartup Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/JY-DB:1.log [root@JY-DB ~]#
[root@JY-DB ~]# vncpasswd Password: Verify:
/etc/init.d/vncserver restart
vncserver -list
相关文章