TightVNC connection refused


3 posts
by gregor » Sun Dec 09, 2012 12:03 am
Having trouble connecting to TightVNC on the Pi, I always get a "Connection Refused"

when I look in the log I see

Listening for VNC Connections on TCP port 5901

Using Chicken on OS X as a client.

FWIW, ssh works fine.

Any ideas on how to debug would be appreciated.

Thanks!
Posts: 13
Joined: Tue Nov 27, 2012 1:35 am
by adlambert » Sun Dec 09, 2012 9:06 am
gregor wrote:Having trouble connecting to TightVNC on the Pi, I always get a "Connection Refused"

when I look in the log I see
Listening for VNC Connections on TCP port 5901
Using Chicken on OS X as a client.
FWIW, ssh works fine.
Any ideas on how to debug would be appreciated.
Thanks!


Are you trying to connect via SSH tunnelling or direct to 5901? If using tunnelling then you need to be connecting Chicken to localhost.
Does your MAC have a firewall that needs 5901 opening?
When you configured tightVNC on the Pi you specified a connection password, is your Chicken setup to use this Password on connect?
Posts: 291
Joined: Tue Jan 03, 2012 3:18 pm
by gregor » Sun Dec 09, 2012 9:34 am
adlambert wrote:
gregor wrote:Having trouble connecting to TightVNC on the Pi, I always get a "Connection Refused"

when I look in the log I see
Listening for VNC Connections on TCP port 5901
Using Chicken on OS X as a client.
FWIW, ssh works fine.
Any ideas on how to debug would be appreciated.
Thanks!


Are you trying to connect via SSH tunnelling or direct to 5901? If using tunnelling then you need to be connecting Chicken to localhost.
Does your MAC have a firewall that needs 5901 opening?
When you configured tightVNC on the Pi you specified a connection password, is your Chicken setup to use this Password on connect?


Connecting directly to 5901.
Mac firewall is turned off.
Yes, I've configured Chicken to use the tightVNC password.
When I try SSH tunnelling and use localhost as the server, I get a connection refused from localhost.

Thanks for help, please keep the suggestions coming...
Posts: 13
Joined: Tue Nov 27, 2012 1:35 am