Skip to content

Conversation

@rozhuk-im
Copy link

@rozhuk-im rozhuk-im commented Dec 28, 2023

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.

Licence: BSD2CLAUSE

Set user-authority-in-system-dir=false in config.
Tested with ConsoleKit2. Not sure that will work with logind without additional code.

Licence: BSD2CLAUSE
@github-actions
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant