Unable to connect through VNC

I'm trying to configure VNC server on my Ubuntu 19.04 desktop so that I can connect to it through my windows laptop over home wifi. I followed steps mentioned

My firewall is inactive and I am unable to connect from my laptop. I tried to connect from local vnc viewer using 127.0.0.1:5902 and it connects.

But if I give local-lan-ip:5902 I see the error "unable to connect to socket:connection refused"

I'm really not a pro at configuring stuff on linux, can someone help me figure out the issue ?

1 Answer

I found the solution here. VNC was bound to local host and I had to bind it to lan interface I ran vncserver -localhost no and it worked.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like