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 330691 - show .local hostname if avahi is present
show .local hostname if avahi is present
Product: vino
Classification: Applications
Component: Preferences Dialog
Other All
: Low enhancement
: ---
Assigned To: Vino Maintainer(s)
Vino Maintainer(s)
Depends on:
Reported: 2006-02-10 16:57 UTC by j^
Modified: 2009-06-20 02:48 UTC
See Also:
GNOME target: 2.28.x
GNOME version: 2.25/2.26

Description j^ 2006-02-10 16:57:23 UTC
It would be nice if the preferences dialog used the .local name
instead of hostname if avahi is present:
Users can view your desktop using this command:
vncviewer hostname.local:0
Comment 1 Mark McLoughlin 2006-05-04 18:12:25 UTC
There isn't really widespread support for resolving .local domain names ... e.g. even on Linux, you need a non-standard NSS module before glibc can resolve .local domain names
Comment 2 Sam Morris 2006-08-08 15:30:35 UTC
But in the vast majority of desktop machines, displaying the hostname as it is currently discovered is useless anyway... :)

I think it would be better to have vino-preferences say something like:

 Users can connect to your desktop at:

  * xerces.local:0

I'll take a crack at this if you think it's a good idea.

Are there any vnc clients that can use mdns to look for servers? We should recommend their use on the client side.
Comment 3 Bastien Nocera 2006-08-16 07:58:19 UTC
Actually, gnome-vfs can resolve .local hostnames when built with avahi support.
Comment 4 Jonh Wendell 2009-02-13 13:34:14 UTC
Now that bug 167690 ( was closed I think we can close this one as WONTFIX. Now vino capplet shows the IP address.
Comment 5 Bastien Nocera 2009-02-13 14:01:20 UTC
It should really be showing both the .local hostname as well as the IP address.
Comment 6 Dave Miller 2009-02-19 18:31:55 UTC
The Screen Sharing app that comes with Mac OS X Leopard browses via the .local names.
Comment 7 Jonh Wendell 2009-02-26 23:04:10 UTC
OK, the string will be
"Others can access your computer using the address %s or %s."

Currently it's only:
"Others can access your computer using the address %s."

Will send a request for string freeze break.
Comment 8 Jonh Wendell 2009-02-27 12:59:04 UTC
Ok, string freeze break was denied, so, I'm using the same string:
"Others can access your computer using the address %s."

%s can be one or two address, separated by a comma.
Comment 9 Wouter Bolsterlee (uws) 2009-02-27 13:25:10 UTC
Reopening, since this needs proper fixing after branching.
Comment 10 Matthias Clasen 2009-03-29 22:13:59 UTC
While changing this string, I think it would be worthwhile to make it more explicit that you can send and invitation to other users. That the link will bring up an email window for sending out an invitation is by no means obvious (to me, at least). 

I'd propose to make that more explict by putting an "Invite users" button below the yellow text. I also think that the invitation may need to contain something about the password thats configured in the security section.  
Comment 11 André Klapper 2009-06-13 16:38:56 UTC
Any news here, Jonh?
Comment 12 Jonh Wendell 2009-06-20 02:48:01 UTC
just committed the modified string.

Matthias, I already had this idea, it should be even better to have a buddy widget to invite your empathy contact to access your machine. Please, comment on bug 585149