See #1123, and in particular ticket:1123#comment:10 : find a way to move display related stuff into the server class, delaying the actual bindings initialization until we have a display to connect to.. (hard)
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2294