vnc启动失败时候的解决方案

装好了VNC, 修改了相关配置,输入service vncserverstart,竟然启动失败,折腾好久没结果,最后输入vncserver,设置密码,生成了相关目录,问题解决,用service vncserverrestart可以顺利重启vnc,如下是整个过程。


[root@test log]# service vncserver start
Starting VNC server: 2:root [FAILED]
[root@test log]# vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth:  creating new authority file /root/.Xauthority
New ‘test.test.com:1 (root)’ desktop is test.test.com:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/test.test.com:1.log

 

你可能感兴趣的:(Linux系统管理)