vncserver 启动失败的一种情况

时间:2014-10-30 16:54:43   收藏:0   阅读:2455

#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
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!