xpra icon
Bug tracker and wiki

Opened 6 months ago

Closed 5 months ago

Last modified 4 months ago

#1776 closed task (fixed)

move $XAUTHORITY to runtime dir

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.3
Component: server Version: 2.2.x
Keywords: x11 Cc:

Description

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)

Change History (4)

comment:1 Changed 6 months ago by Antoine Martin

Resolution: fixed
Status: newclosed

Done in r18646.

comment:2 Changed 5 months ago by Antoine Martin

Resolution: fixed
Status: closedreopened
  • breaks xpra exit + xpra --use-display: we need to set the path before checking the display
  • should use a different file for each display?

comment:3 Changed 5 months ago by Antoine Martin

Resolution: fixed
Status: reopenedclosed

Fixes with details in r18675.

comment:4 Changed 4 months ago by Antoine Martin

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

Note: See TracTickets for help on using tickets.