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 461773 - Please include hostname in Avahi service name
Please include hostname in Avahi service name
Status: RESOLVED FIXED
Product: vino
Classification: Applications
Component: Server
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Vino Maintainer(s)
Vino Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2007-07-30 12:36 UTC by Lennart Poettering
Modified: 2007-08-06 19:25 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Lennart Poettering 2007-07-30 12:36:46 UTC
I have a couple of machines on my LAN here. On every single machine I run a GNOME session as the user name "lennart". On all machines I also run vino. And on all machines the vino servers try to register "lennart's remote desktop". The name collision protocol in Avahi makes sure that all but one of them are renamed to "lennart's remote desktop #2" and so on. If I now run bvnc or a similar tool to browse for VNC session this is mildly confusing, since I cannot be sure which session I have to select for a specific machine, since all sessions have mostly the same name. 

A fix is simple: use "lennart's remote desktop on foobar" (with foobar being the machine name). This would be a lot more useful. In the Avahi API you can use avahi_client_get_host_name() to query the host name.

Also, please consider using the real name of the user instead of the Unix user name for naming the service in Avahi.
Comment 1 Jonh Wendell 2007-08-06 19:25:40 UTC
2007-08-06  Jonh Wendell  <jwendell@gnome.org>
	* server/vino-mdns.c: Include hostname in Avahi service name,
	  closes #461773.