This commit is contained in:
2021-07-16 19:44:46 +02:00
parent fe55db0799
commit ddaac9259b
5 changed files with 18 additions and 6 deletions

View File

@ -0,0 +1,11 @@
# {{ ansible_managed | comment }}
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -loop -forever -bg -rfbport 5900 -xkb -noxrecord -noxfixes -noxdamage -shared -norc -auth /run/user/{{ grp_id_gdm.stdout }}/gdm/Xauthority -rfbauth /etc/x11vnc.pass
[Install]
WantedBy=multi-user.target

View File

@ -1,3 +1,4 @@
# {{ ansible_managed | comment }}
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target