Set user-authority-in-system-dir=false in config.
Tested with ConsoleKit2. Not sure that will work with logind without additional code.
ConsoleKit2 will create /var/run/user/$UID dir and promote it as XDG_RUNTIME_DIR in any way.
user-authority-in-system-dir=true mean that lightdm will create /var/run/$USER to keep xauthority.
user-authority-in-system-dir=false mean that lightdm will create ~/.Xauthority, after this change lightdm will create /var/run/user/$UID/.Xauthority if XDG_RUNTIME_DIR is set.
Hey! rozhuk-im has not signed the Canonical CLA which is required to get this contribution merged on this project.
Please head over to https://ubuntu.com/legal/contributors to read more about it.
Set
user-authority-in-system-dir=false
in config. Tested with ConsoleKit2. Not sure that will work with logind without additional code.ConsoleKit2 will create
/var/run/user/$UID
dir and promote it asXDG_RUNTIME_DIR
in any way.user-authority-in-system-dir=true
mean that lightdm will create/var/run/$USER
to keep xauthority.user-authority-in-system-dir=false
mean that lightdm will create~/.Xauthority
, after this change lightdm will create/var/run/user/$UID/.Xauthority
ifXDG_RUNTIME_DIR
is set.Licence: BSD2CLAUSE