xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 5 years ago

Closed 5 years ago

Last modified 12 months ago

#1332 closed task (fixed)

mdns discovery of sessions

Reported by: Antoine Martin Owned by: alas
Priority: major Milestone: 1.0
Component: core Version: trunk
Keywords: Cc:


Make mdns more useful.

It should be easier to see which sessions are available on the LAN.
Tools like avahi-discover aren't very user friendly and don't know about our service type.. (#731)

Change History (4)

comment:1 Changed 5 years ago by Antoine Martin

Owner: changed from Antoine Martin to alas
  • r14008 cleanup, move mdns bits to a sub-package
  • r14009 + r14010: expose the server uuid in the mdns data
  • r14011 + r14013: "list-mdns" subcommand
  • r14012 add support for building --without-mdns


  • there is no support for OSX or win32 yet (#1333)
  • a GUI would be nice: #1334


$ xpra start --bind-tcp= --mdns=yes --session-name=hello
$ xpra list-mdns
Looking for xpra services via mdns
* user 'antoine' on 'desktop.local'
 session 'hello', uuid=bce14c3aeed34c7892aea576ea8d78a8
 + ssh endpoint on host, port 22, interface eth1
 + tcp endpoint on host, port 14500, interface eth1
1 service found
$ xpra info | grep uuid

(works equally well for ssl sockets and the quoted uri should be usable as-is)

@afarr: mostly a FYI.

comment:2 Changed 5 years ago by Antoine Martin

Pull request for avahi: add Xpra service type

comment:3 Changed 5 years ago by J. Max Mena

Resolution: fixed
Status: newclosed

Neat. Closing.

Note: if a server is on the non-standard port, this will not find it. Makes sense(because one would be deviating from the standard, and it'd be unreasonable to try to check every single port), but just wanted to note it for future reference.

comment:4 Changed 12 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1332

Note: See TracTickets for help on using tickets.