linux vnc重启失败,vncserver 启动失败的一种情况
#vncserverWarning: localhost.localdomain:1 is taken because of /tmp/.X11-unix/X1Remove this file if there is no X server localhost.localdomain:1Warning: localhost.localdomain:2 is taken because of /tm
#vncserver
Warning: localhost.localdomain:1 is taken because of /tmp/.X11-unix/X1
Remove this file if there is no X server localhost.localdomain:1
Warning: localhost.localdomain:2 is taken because of /tmp/.X11-unix/X2
Remove this file if there is no X server localhost.localdomain:2
New ‘localhost.localdomain:3 (root)‘ desktop is localhost.localdomain:3
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:3.log
解决办法:
删除 / tmp/.X11-unix/的内容
重启vnvserver
# systemctl restart vncserver@:2.service
原文:http://www.cnblogs.com/lion382/p/4063007.html
更多推荐
所有评论(0)