vncserver 启动失败的一种情况

#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
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3