[root@localhost ~]#/etc/sysconfig/vncservers VNCSERVERS="1:test"(Port (5900 + 1)) VNCSERVERARGS[1]="-geometry 800x600" [root@localhost ~]#adduser test [root@localhost ~]#passwd test [root@localhost ~]#su test [root@localhost ~]#vncpasswd(自動建立密碼檔:/home/user/test/.vnc/passwd) [root@localhost ~]#/etc/init.d/vncserver start [root@localhost ~]#vim home/test/.vnc/xstartup(修改讓連接時變成所安裝的 X-Win) unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc [root@localhost ~]#/etc/init.d/vncserver restart
三月 12
近期迴響