-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
XDG_RUNTIME_DIR isn't set for root
user, logged in via sudo
inside SSH session
#601
Comments
You don't even need to do that remotely. Doing something like |
Seems this is (mostly) by design. See, e.g., systemd/systemd#7451 (comment) Specifically, the su and sudo PAM configurations intentionally don't include Using $ machinectl shell test@ to make a login shell for the user "test" on the local system. So I would suggest using |
interesting. So |
One of the problems with |
Thank you for your contribution! I marked this issue as stale due to inactivity. If this remains inactive for another 7 days, I will close this issue. Please read the relevant sections below before commenting. If you are the original author of the issue
If you are not the original author of the issue
Memorandum on closing issuesIf you have nothing of substance to add, please refrain from commenting and allow the bot close the issue. Also, don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort. |
My setup (pretty scary):
ubuntu
usersudo su -
to obtain rootroot
-s homeI get a problem that
systemctl --user
can't reach DBus:I fix it with
but I wonder why this isn't default.
The text was updated successfully, but these errors were encountered: