you can always ask chatgpt for some guidance, because it will consolidate a lot of the online tutorials that others have wrote. treat the LLM ask a “smart” search engine.
wrt to your vnc availability issue
1. check that your firewall is not blocking the incoming port 5900+N onwards where N is your display ID.
2. make sure your vnc service is running.
check the above are both properly configured and running after your system reboot.
for ssh, it is a service that allows remote console, but it can also be used for secure tunnelling meaning one could access a vnc service on the remote server which only listen to local host ip on some ports, hence from the current system/laptop/desktop, you can first use ssh to create a forward tunnel and then the local vnc client to connect to the remote host local ip services tunnelled thru ssh.
I don’t know if this is how you want to use the ssh when you mention it together with your vnc issue.
