Currently, I am starting x11vnc on my Pi 400 (stock Raspbian) after it boots up (with no display attached) via ssh with command x11vnc -forever -display :0
How can I do it with systemd? I am trying this file:
[Unit]
Description=x11vnc
After=graphical.target
[Service]
Type=idle
ExecStart=/usr/bin/x11vnc -forever -display :0 > /home/pi/x11vnc.log
[Install]
WantedBy=graphical.target
but that does not seem to work? Any ideas why? I am quite new to systemd.
systemctl status whateverthatserviceiscalled. – goldilocks Nov 22 '20 at 15:55Andyroo : If I understand it correctly, it would start a new X dispaly. I want to see the same display as I use through VNC once and when I turn on my projector. But I did not specifu that in the question.
– sup Nov 22 '20 at 18:50