-
Notifications
You must be signed in to change notification settings - Fork 32
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
DBus socket not accessible by non-root users #14
Comments
Hi, I'm also experiencing this issue as part of my attempt at a standalone shell extension. As it's effectively the same implementation as pop-shell, I'm wondering if this is an issue with my extension rather than the scheduler itself. As a temporary workaround, I edited the policy in
Would greatly appreciate some clarification on proper usage. |
I'll add a fix for this alongside the existing PR |
Technically you only have to be part of the sudo/adm group right now. |
You can install from the scheduler branch to have the updated policy. |
Inspecting into internals and So maybe it's best to run this portion of the service as a user service (and use the session dbus instead of the system one); it would suppress the need for the privileged API and having to handle permissions, etc. |
Root is required to set negative priorities. User accounts can only set 0 and above. |
Hi, I'm encountering an issue with the new policy in #13. The service is now failing to start with the following error:
By adding back the
For reference, here is the full output from
|
Seeing the issue above here as well, can confirm their solution. |
Hi! I'm writing a tiny daemon to make this scheduler work with swaywm. That is, when the currently focused window changes, call
SetForeground(u32)
.Regrettably, it seems that non-root users cannot access the
com.system76.Scheduler
bus. I used d-feet to try and use it interactively, and get:Isn't this method intended to be called by the desktop user? Am I missing something?
The text was updated successfully, but these errors were encountered: