VNC - connection refused (111)
Colin Paul Adams
colin at colina.demon.co.uk
Sun Aug 10 04:32:44 UTC 2008
>>>>> "Teo" == Teo Fonrouge <fedora-list at windtelsoft.com> writes:
Teo> 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"
Teo> You need to remove the "-localhost" parameter, as this is
Teo> telling to the vnc server to accept connections only from the
Teo> host.
Thank -you.
That works (I also removed -nolisten tcp, i don't know if that was
relevant or not).
Teo> Or, you can try to do a tunneling, from the client:
Teo> # ssh -XY yourname at yourvncserver /usr/bin/vncviewer
Teo> localhost:5
As I understood it, passing -via localhost was supposed to do that
automatically.
But this looks a good idea anyway, as I can make it into an icon.
--
Colin Adams
Preston Lancashire
More information about the users
mailing list