update..
This commit is contained in:
parent
1546d9e5c5
commit
09ddb17aa0
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
- name: "(ubuntu-x11vnc-1804-amd64.yml) Transfer x11vnc.service.j2 to /lib/systemd/system/x11vnc.service"
|
- name: "(ubuntu-x11vnc-1804-amd64.yml) Transfer x11vnc.service.j2 to /lib/systemd/system/x11vnc.service"
|
||||||
template:
|
template:
|
||||||
src: lib/systemd/system/x11vnc-gdm3.service.j2
|
src: lib/systemd/system/x11vnc-gdm3.service-ALT.j2
|
||||||
dest: /lib/systemd/system/x11vnc.service
|
dest: /lib/systemd/system/x11vnc.service
|
||||||
|
|
||||||
- name: "(ubuntu-x11vnc-1804-amd64.yml) Enable service"
|
- name: "(ubuntu-x11vnc-1804-amd64.yml) Enable service"
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
- name: "(ubuntu-x11vnc-2004-amd64.yml) Transfer x11vnc.service.j2 to /lib/systemd/system/x11vnc.service"
|
- name: "(ubuntu-x11vnc-2004-amd64.yml) Transfer x11vnc.service.j2 to /lib/systemd/system/x11vnc.service"
|
||||||
template:
|
template:
|
||||||
src: lib/systemd/system/x11vnc-gdm3.service.j2
|
src: lib/systemd/system/x11vnc-gdm3.service-ALT.j2
|
||||||
dest: /lib/systemd/system/x11vnc.service
|
dest: /lib/systemd/system/x11vnc.service
|
||||||
|
|
||||||
- name: "(ubuntu-x11vnc-2004-amd64.yml) Enable service"
|
- name: "(ubuntu-x11vnc-2004-amd64.yml) Enable service"
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
# {{ 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
|
@ -4,6 +4,7 @@ Description=Start x11vnc at startup.
|
|||||||
After=multi-user.target
|
After=multi-user.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
User=gdm
|
||||||
Type=simple
|
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
|
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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user