Getting mdns working with avahi on ubuntu. It still needs sudo but it works.