Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move ~/.Xauthority to ${XDG_RUNTIME_DIR} if XDG_RUNTIME_DIR is set #338

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
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