Hello,
I'm experiencing an issue with /etc/systemd/service/x11vnc.service:
Code:
[Unit]Description=Start x11vnc at startup. Requires=gdm.service After=gdm.service [Service] Type=simple ExecStart=/usr/bin/x11vnc -auth /run/user/1000/gdm/Xauthority -rfbauth /home/ubuntu/.vnc/passwd -rfbport 5900 -noxdamage -forever [Install] WantedBy=graphical.target
Code:
systemctl enable x11vnc
Code:
systemctl -l status x11vncu25cf x11vnc.service - Start x11vnc at startup. Loaded: loaded (/etc/systemd/system/x11vnc.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2016-04-15 12:38:25 CEST; 55s ago Process: 2392 ExecStart=/usr/bin/x11vnc -auth /run/user/1000/gdm/Xauthority -rfbauth /home/ubuntu/.vnc/passwd -rfbport 5900 -noxdamage -forever (code=exited, status=1/FAILURE) Main PID: 2392 (code=exited, status=1/FAILURE)
Code:
x11vnc[2392]: 15/04/2016 12:38:21 *** 1 2 3 4
x11vnc[2392]: No protocol specified
x11vnc[2392]: 15/04/2016 12:38:25 XOpenDisplay(":0") failed.
Does anyone knows what is going on? I really need to be able to launch the service when the system is unattended, i.e without being able to launch the daemon manually when the system boots up.
برچسب:
نویسنده: استخدام کار