linux x11vnc服务失败,退出代码

6qftjkof  于 2023-05-16  发布在  Linux
关注(0)|答案(1)|浏览(522)

谢谢!
我试图在树莓派4 B平台上设置x11 vnc服务,但失败了。下面是状态日志:

root@raspberrypi4-64:~# systemctl status x11vnc.service
x x11vnc.service - x11vnc service
     Loaded: loaded (/lib/systemd/system/x11vnc.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Wed 2022-11-23 09:44:49 UTC; 10s ago
    Process: 1947 ExecStart=/usr/bin/x11vnc -forever -display :0 -auth guess -passwdfile /home/root/.vnc/passwd (code=exited, status=1/FAILURE)
   Main PID: 1947 (code=exited, status=1/FAILURE)

Nov 23 09:44:49 raspberrypi4-64 systemd[1]: x11vnc.service: Failed with re...e'.
Nov 23 09:44:49 raspberrypi4-64 systemd[1]: x11vnc.service: Scheduled rest... 5.
Nov 23 09:44:49 raspberrypi4-64 systemd[1]: Stopped x11vnc service.
Nov 23 09:44:49 raspberrypi4-64 systemd[1]: x11vnc.service: Start request ...ly.
Nov 23 09:44:49 raspberrypi4-64 systemd[1]: x11vnc.service: Failed with re...e'.
Nov 23 09:44:49 raspberrypi4-64 systemd[1]: Failed to start x11vnc service.
Hint: Some lines were ellipsized, use -l to show in full.

这方面的任何建议都将非常有帮助。
我希望在树莓派4 B上启用x11 vnc服务。

mbyulnm0

mbyulnm01#

尝试重新启动操作系统(计算机)。然后尝试这些命令:

systemctl daemon-reload
systemctl enable x11vnc.service
systemctl start x11vnc.service
systemctl status x11vnc.service

相关问题