Failed to start Remote desktop service (VNC)
问题:搭建好vnc之后,重启一直失败[root@gaia system]# systemctl status vncserver@:1.service● vncserver@:1.service - Remote desktop service (VNC)Loaded: loaded (/usr/lib/systemd/system/vncserver@:1.service; disa...
·
问题:搭建好vnc之后,重启一直失败
[root@gaia system]# systemctl status vncserver@:1.service
● vncserver@:1.service - Remote desktop service (VNC)
Loaded: loaded (/usr/lib/systemd/system/vncserver@:1.service; disabled; vendor preset: disabled)
Active: failed (Result: resources) since Fri 2020-03-27 16:27:34 CST; 14s ago
Process: 12500 ExecStart=/usr/sbin/runuser -l root -c /usr/bin/vncserver %i (code=exited, status=0/SUCCESS)
Process: 12496 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
Mar 27 16:27:30 gaia systemd[1]: Starting Remote desktop service (VNC)...
Mar 27 16:27:34 gaia systemd[1]: PID file /root/.vnc/gaia:1.pid not readable (yet?) after start.
Mar 27 16:27:34 gaia systemd[1]: Failed to start Remote desktop service (VNC).
Mar 27 16:27:34 gaia systemd[1]: Unit vncserver@:1.service entered failed state.
Mar 27 16:27:34 gaia systemd[1]: vncserver@:1.service failed.
解决:
rm -rf /tmp/.X*
[root@gaia data]# systemctl daemon-reload
[root@gaia data]# systemctl restart vncserver@:1.service
[root@gaia data]# systemctl status vncserver@:1.service
更多推荐
已为社区贡献2条内容
所有评论(0)