Xpra: Ticket #1776: move $XAUTHORITY to runtime dir

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)



Wed, 28 Feb 2018 17:11:16 GMT - Antoine Martin: status changed; resolution set

Done in r18646.


Fri, 09 Mar 2018 07:08:45 GMT - Antoine Martin: status changed; resolution deleted


Fri, 09 Mar 2018 09:55:34 GMT - Antoine Martin: status changed; resolution set

Fixes with details in r18675.


Mon, 30 Apr 2018 07:31:11 GMT - Antoine Martin:

This has caused confusion: Xpra "can't open display" error so is now reverted in r19124.


Sat, 23 Jan 2021 05:33:29 GMT - migration script:

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