# useradd -m user1
# passwd user1
# su - user1
$ vncpasswd // it will create ~/.vnc/passwd
# vi /etc/sysconfig/vncservers
VNCSERVERS="1:user1 2:user2"
VNCSERVERARGS[1]="-geometry 800x600"
VNCSERVERARGS[2]="-geometry 640x480"
# /etc/init.d/vncserver start
$ vi ~/.vnc/xstartup
客製化啟動 x
# /etc/init.d/vncserver restart
Reference :
HowTos/VNC-Server - CentOS Wiki
沒有留言:
張貼留言