64位安装xfce4桌面vncserver服务(10)

7,修改vncservers配置文件该文件可以设置客户端帐号连接信息
# tail -n 3 /etc/sysconfig/vncservers
VNCSERVERS="1:root 2:tao "
VNCSERVERARGS[1]="-geometry 1024x768"
VNCSERVERARGS[2]="-geometry 1024x768"

8,开启vncserver服务
# /etc/init.d/vncserver restart
关闭 VNC 服务器:[确定]
正在启动 VNC 服务器:1:root
New 'localhost:1 (root)' desktop is localhost:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost:1.log

2:tao
New 'localhost:2 (tao)' desktop is localhost:2

Starting applications specified in /home/tao/.vnc/xstartup
Log file is /home/tao/.vnc/localhost:2.log

[确定]
# chkconfig vncserver on

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/21009.html