Hot answers tagged vnc
I also had this issue. I tried user1689961's answer but got a connection refused. When I added the -allow <ip address of client> option, it worked. The full command: sudo x11vnc -safer -localhost -once -nopw -auth /var/run/lightdm/root/:0 -display :0 -allow <ip address>
I try to compose an answer so that we can mark this question solved. To check the connection, run ssh using one or more -v options, like in: ssh -v ... or ssh -vvv ... Checking the log, it is as the user can't connect (locally) to the port 5900. Try to see if you can connect locally: ssh someotheruser@server and when you have the user's ...
Only top voted, non community-wiki answers of a minimum length are eligible