We can now start servers via the proxy (#1105) and this may well become the default. Since we may not know the actual X11 display in advance (we rely on Xorg -displayfd, #172), we check for new sockets and probe them. A better way would be to provide a "--displayfd" switch and write the display to this file descriptor.
Would really help speedup the start-via-proxy feature (#1105 aka logind multiseat), so raising.
work in progress - doesn't like daemon=yes
Done in r16612.
Not as useful as I thought it was going to be: we still have to go through the identify_new_socket
code because the display may not be available when we get the display value back (sockets take time, may not be accessible, etc).
But at least things should be more reliable than before. This feature may also be used for other purposes.
Minor related fixes:
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1535