VNC Server (Tiger VNC) on CENTOS 8
Hi guys, I'm running into a connection issue when trying to connect to my linode CENTOS 8 using VNC viewer.
I have followed the guide from:
and I have confirmed all the install settings and I am running on port 5901
I received the error: "The connection closed unexpectedly" window when I try to connect using localhost:5901.
I tried researching this on https://help.realvnc.com/hc/en-us/articles/360002254738-VNC-Connect-Error-Messages
and scrolled down to the message: "The connection closed unexpectedly" and the possible root cause:
VNC Server’s private key is missing or corrupt.
and the fix:
You should investigate why this has occurred. On a remote Mac or Linux computer, note the location of the private key is determined by the VNC Server RsaPrivateKeyFile parameter.
You can restart VNC Server to regenerate the private key, or alternatively at the command line without restarting by running <server-binary>-service -generatekeys</server-binary>
Have you guys run into this issue? Am I missing something? The guide from Linode didn't mention anything on this… please let me know your guys thoughts or any pointers would be greatly appreciated.