I add x11vnc start command to /etc/rc.local before exit 0
x11vnc -display :0 -auth ~/.Xauthority -rfbauth ~/.vnc/passwd -forever
after reboot, the systemctl status was failed:
process:408 execstart=/etc/rc.local start (code=exited, status=1/FAILURE)
I try to enable used command:
systemctl enable rc-local
the error:
The Unit files have no installation config (WantedBy ...
so, I created overflow.conf in /etc/systemd/system/rc-local.service.d, add :
[Install]
WantedBy=multi-user.target
but failed again after reboot. It can be changed to active, I think there is some steps I have skipped for systemctl. Please help what need i do. thanks.