VNC - connection refused (111)

Teo Fonrouge fedora-list at windtelsoft.com
Sat Aug 9 18:29:37 UTC 2008


On Saturday 09 August 2008 10:35:23 am Colin Paul Adams wrote:
> >>>>> "Tim" == Taylor, Tim <ttaylor at mitre.org> writes:
>
>     Tim> If you are sure a firewall isn't running on the server, and
>     Tim> you can telnet to that port from the server but nowhere else
>     Tim> then I would suggest checking that the VNC server is indeed
>     Tim> listening on the EXTERNAL interface.  It sounds like it is
>     Tim> listening on the local loopback only.
>
> Could you expand on that please?
>
> It is configured thus:
>
> VNCSERVERS="5:username"
> VNCSERVERARGS[5]="-geometry 1024x780 -depth 24 -nolisten tcp -nohttpd
> -localhost"

You need to remove the "-localhost" parameter, as this is telling to the vnc 
server to accept connections only from the host.

Or, you can try to do a tunneling, from the client:

# ssh -XY yourname at yourvncserver /usr/bin/vncviewer localhost:5


>
> The connection attempt is made as:
>
> hostname:5 -via localhost
>
> Is this what you mean by not listening on the EXTERNAL interface?
> --
> Colin Adams
> Preston Lancashire

best regards

Teo Fonrouge






More information about the users mailing list