After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 593205 - Cannot connect to avahi-advertised shares
Cannot connect to avahi-advertised shares
Status: RESOLVED FIXED
Product: vinagre
Classification: Applications
Component: general
git master
Other Linux
: Normal major
: ---
Assigned To: vinagre-maint
vinagre-maint
: 586938 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-08-26 18:30 UTC by Michael Monreal
Modified: 2009-10-26 18:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Monreal 2009-08-26 18:30:14 UTC
I can no longer connect to shares advertised over avahi.

I'm testing with latest 2.27.x vinagre/vino on ubuntu and fedora rawhide.

I can however still connect fine manually (with IP).
Comment 1 Jonh Wendell 2009-08-28 16:14:30 UTC
Please, run vinagre in a terminal with the argument --gtk-vnc-debug and paste here the output.

Thanks.
Comment 2 Michael Monreal 2009-08-29 10:48:45 UTC
$ vinagre --gtk-vnc-debug
gtk-vnc: Expose 0x0 @ 1011,863
gtk-vnc: Started background coroutine
gtk-vnc: Resolving host pandora.local 5900
gtk-vnc: Failed to resolve hostname
gtk-vnc: Doing final VNC cleanup
gtk-vnc: Requesting that VNC close
gtk-vnc: Requesting that VNC close
gtk-vnc: Releasing VNC widget

In vinagre, I get this error message:

---
Connection closed

Connection to host monreal's remote desktop on pandora was closed
---

Vino on pandora is configured to accept connection from anywhere without any password or confirmation and there is (currently) no firewall active.
Comment 3 Jonh Wendell 2009-08-29 12:07:04 UTC
What's the result of ping pandora.local?

This seems to be a dns/avahi fail, not a vinagre issue...
Comment 4 Michael Monreal 2009-08-29 12:17:23 UTC
ping: unknown host pandora.local

Notice that avahi-discover shows all hosts on the local net and also shows the correct IPs (in the "Address" field). Does vinagre rely on avahi writing discovered hostnames to resolf.conf or something? I don't know if it is supposed to do this, but at least it does not work that way on both Ubuntu and Fedora...

I think vinagre should get the actual IP from avahi and use this to connect.
Comment 5 Jonh Wendell 2009-09-06 12:40:38 UTC
commit a986583ba8b7f6a144238298a89d6aa19c03ebb2
Author: Jonh Wendell <jwendell@gnome.org>
Date:   Sun Sep 6 09:36:50 2009 -0300

    Show IP addresses of avahi-discovered machines instead of names.
    
    For instance, show 10.0.0.1 instead of wendell-laptop.local.
    Closes #593205.
Comment 6 Jonh Wendell 2009-10-26 18:51:15 UTC
*** Bug 586938 has been marked as a duplicate of this bug. ***