Vino uses a hard coded string when registering with Avahi (Zeroconf)

Bug #297323 reported by michael D Hale
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
vino
New
Medium
vino (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: vino

Vino self registers as "$User remote desktop on $hostname"
I would like to control this string, but I can not find any method to
do so. I can work around this by using an option in avahi to not use
dbus, however that doesn't work well, because then my chat service
doesn't show up from the Linux box.

I currently have the rfb service also defined
in /etc/avahi/services/rfb.service using the string (common among my
rfb and afp services) so that they show up in a very Mac-fashion in
Finder.

So I think.... Vino is registering using that string above, but there
is no way to either disable that registration or to control the string
to use under the vino-preferences (or any other manual way that I can
tell)

Revision history for this message
nathanh (nathanh) wrote :

Looking at the source vino-mdns.c there are only two options available:

1) if the translation file defines vino-mdns:showusername=1 then the MDNS name is "$username"
2) otherwise the MDNS name is "$username's remote desktop on $hostname"

It would be good to have a third option:

3) "$hostname"

As this is consistent with how OS X displays VNC shares over MDNS.

Preferably all three options would be available to the user as a drop down list in the Remote Desktop configuration dialog.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Changed in vino (Ubuntu):
importance: Undecided → Low
Revision history for this message
Will Norris (willnorris) wrote :
Changed in vino (Ubuntu):
status: New → Triaged
Revision history for this message
Gossar (gossar) wrote :
Revision history for this message
Nigel Stewart (nigels) wrote :

Proposed upstream patch: https://bugzilla.gnome.org/show_bug.cgi?id=561123#c4
Comments, reviews, testing welcome.

Changed in vino:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
Jacob (jacob11) wrote :

Temporary workaround upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=561123#c7

(Enable username-only VNC naming and make the username the same as the hostname)

Hopefully someone writes a fix for this very laughably easy-to-fix issue.

Revision history for this message
Brad Love (b-rad) wrote :

Still affected, and unable to disable the broadcasting.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.