GNOME Bugzilla – Bug 461773
Please include hostname in Avahi service name
Last modified: 2007-08-06 19:25:40 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.
2007-08-06 Jonh Wendell <jwendell@gnome.org> * server/vino-mdns.c: Include hostname in Avahi service name, closes #461773.