Need to stop VNC Server on shutdown and NOT automatically restart in Raspbian
Need to stop VNC Server on shutdown and NOT automatically restart in Raspbian.
All I can find is how to have VNC server start automatically on boot. I do not want this.
Using a Raspberry Pi 3B with OS version 9, stretch.
Raspberry Pi 3B can use only one monitor at a time and I need to boot to the connected monitor.
Then I can run script to start VNC.
Me being me I will forget to manually run a script to turn off VNC before shutdown, so I need a way to automatically disconnect VNC on shutdown so on reboot connected monitor starts, NOT VNC.
So I can use VNC when I want and not worry about remembering to turn it off every time I shut down?
How do I do this?