VNC - connection refused (111)
Teo Fonrouge
fedora-list at windtelsoft.com
Sun Aug 10 05:08:42 UTC 2008
On Saturday 09 August 2008 11:32:44 pm Colin Paul Adams wrote:
> >>>>> "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.
And it must work, as long as you have the port 22 open and the sshd service
running on the vncserver side:
# vncviewer -via yourname at yourvncserver localhost:5
best regards
Teo Fonrouge
More information about the fedora-list
mailing list