CentOS 7 启动VNC失败问题

开机后发现VNC服务没有启启来,提示我们使用journalctl -xn查看错误信息,提示信息如下:

Sep 23 15:14:12 localhost.localdomain systemd[1]: Unit  vncserver@:5.service entered failed state.
Sep 23 15:14:12 localhost.localdomain systemd[1]: Faild to mark scope session-c4.scope as abandoned: Stale file handle
Sep 23 15:14:12 localhost.localdomain sudo[5063]:  Mesogene : TTY =pts/0 ; PWD=/home/Mesogene/Desktop ; USER=root ; COMMAND=/bin/journalctl -xn

 解决方案如下:

  删除/tmp/.X11-unix/X5 文件,然后重启VNC服务解决问题。

附图:

参考:https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-remote-access-for-the-gnome-desktop-on-centos-7

 

posted @ 2015-09-23 16:30  谢佳东/馨予希  阅读(1281)  评论(0编辑  收藏  举报