LightDM is already able to create the xauthority file locally under
$XDG_RUNTIME_DIR, using configuration option user-authority-in-system-
dir. This option is off by default on Ubuntu 16.04/18.04, but can be
enabled with
# echo -e '[LightDM]\nuser-authority-in-system-dir=true'
see also bug 685194
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1648107
Title:
$XAUTHORITY should move into $XDG_RUNTIME_DIR
To manage notifications about this bug go to:
While we are at it, we could probably also set
ICEAUTHORITY=$XDG_RUNTIME_DIR/ICEauthority
in a similar fashion, as this is the equivalent cookie facility for X11
client-client communication.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
As a workaround, install the attached shell script as
/etc/X11/Xsession.d/10local-xauthority
It uses xauth to merge ~/.Xauthority into $XDG_RUNTIME_DIR/xauthority
and then updates XAUTHORITY to point at that location.
(Note that the "xauth merge" command will leave a warning such as
"xauth:
** Changed in: lightdm (Ubuntu)
Status: New => Triaged
** Changed in: lightdm (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1648107
Title: