Re: VNC - connection refused (111)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 09 August 2008 11:32:44 pm Colin Paul Adams wrote:
> >>>>> "Teo" == Teo Fonrouge <fedora-list@xxxxxxxxxxxxxxx> writes:
>
>     Teo> On Saturday 09 August 2008 10:35:23 am Colin Paul Adams wrote:
>     >> >>>>> "Tim" == Taylor, Tim <ttaylor@xxxxxxxxx> 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@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@yourvncserver localhost:5



best regards

Teo Fonrouge

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux