We should be able to use $XDG_RUNTIME_DIR
to store the $XAUTHORITY
file.
This may avoid some permission problems (see ticket:1654#comment:7), but may also create some new ones: the user's default environment settings will not use our XAUTHORITY
file but the default one. Also, when the session goes away, logind / systemd may decide to cleanup XDG_RUNTIME_DIR
and the authority file with it... (but then we would be likely to have bigger fish to fry)
Done in r18646.
xpra exit
+ xpra --use-display
: we need to set the path before checking the display
Fixes with details in r18675.
This has caused confusion: Xpra "can't open display" error so is now reverted in r19124.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1776