i have just installed mx17.01 32bit on an old hp dx2000.
i updated the system and tried setting up x11vnc with systemd,
so it will let me login headless.
i'v done this on ubuntu and sparky but it seems to me i'm having a
permission problem in mx :
Code: Select all
$ systemctl start x11vnc
Failed to start x11vnc.service: Unknown unit: x11vnc.service
i do not wont it to ask for a password , i would like it to start automatically .
could someone point me in the right direction.
i created the file :
/etc/systemd/system/x11vnc.service
Code: Select all
[Unit]
Description=x11vnc
Requires=display-manager.service
After=display-manager.service
[Service]
ExecStart=/usr/bin/x11vnc -xkb -noxrecord -noxfixes -noxdamage -auth /var/run/lightdm/root/:0 -auth guess -rfbauth /etc/x11vnc.pass
ExecStop=/usr/bin/killall x11vnc
Restart=on-failure
Restart-sec=2
[Install]
WantedBy=multi-user.target
Code: Select all
$ chown root:root /etc/systemd/system/x11vnc.service
Code: Select all
$ chmod 700 /etc/systemd/system/x11vnc.service
Code: Select all
$ systemctl daemon-reload
Code: Select all
$ systemctl start x11vnc
Failed to start x11vnc.service: Unknown unit: x11vnc.service