VNC 服务器在正常运行且没有任何问题后突然停止在我的虚拟机上运行。我似乎无法启动 VNC 服务。
这是 VNC 服务状态的输出
systemctl -l status vncserver@:1.service
● vncserver@:1.service - Remote desktop service (VNC)
Loaded: loaded (/etc/systemd/system/vncserver@:1.service; enabled; vendor preset: disabled)
Active: failed (Result: resources) since Mon 2017-07-31 09:31:48 UTC; 4h 44min ago
Process: 11659 ExecStart=/usr/sbin/runuser -l user -c /usr/bin/vncserver %i -geometry 1280x1024 (code=exited, status=0/SUCCESS)
Process: 11648 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill %i > /dev/null 2>&1 || : (code=exited, status=0/SUCCESS)
Jul 31 09:31:45 hname systemd[1]: Starting Remote desktop service (VNC)...
Jul 31 09:31:48 hname systemd[1]: PID file /home/user/.vnc/reggie:1.pid not readable (yet?) after start.
Jul 31 09:31:48 hname systemd[1]: Failed to start Remote desktop service (VNC).
Jul 31 09:31:48 hname systemd[1]: Unit vncserver@:1.service entered failed state.
Jul 31 09:31:48 hname systemd[1]: vncserver@:1.service failed.
有人对如何让它发挥作用有任何建议吗?我已经仔细检查了配置文件的位置和内容。