I use x0vncserver to connect to my ubuntu display. I start it with /usr/bin/x0vncserver -display :0. I can see it running with pidof x0vncserver.
I have also seen that the proper way to stop vncserver is to use vncserver -kill :xx command.
Is there a similar command to properly stop x0vncserver or one should just use killall x0vncserver to stop it?
When trying sudo systemctl stop x0vncserver, I got:
Failed to stop x0vncserver.service: Unit x0vncserver.service not loaded.