-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Connect to dbus user bus as root #6249
Comments
dbus-daemon is the component enforcing access there, and it does not consider "root" as a user that has god-like privs by default (but you can drop an xml policy file in, to make it so). Anyway, closing this here, as the policy is enforced by something outside of systemd (i.e. dbus-daemon), please ping the dbus folks about this. |
For reference, I managed to give root access to all session buses by putting this
into the file Maybe this will help somebody some day. |
You sir made my night. Took me hours to figure out. For SEO: I had a similar issue under Wayland when trying to send notifications from root to my user. The error I had was |
Submission type
systemd version the issue has been seen with
Used distribution
Steps to reproduce the problem
Expected behaviour you didn't see
Unless I misunderstood something, we should be able to connect to a user dbus bus as root as long as we have the proper environment set.
Unexpected behaviour you saw
The text was updated successfully, but these errors were encountered: