nis/roles/common/templates/lib/systemd/system/x11vnc-gdm3.service-ALT.j2
2023-04-13 02:07:58 +02:00

12 lines
344 B
Django/Jinja

# {{ ansible_managed }}
[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