-
Notifications
You must be signed in to change notification settings - Fork 135
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
Failed to connect to user bus: Permission denied #257
Comments
I'm having the same problem on Ubuntu 20.04. I reckon it's an ubuntu problem, and recent - I had my notifications working until recently (I upgraded to 20.04 a month ago). Any idea what to look for debugging this @emersion ? Might have to report it to ubuntu itself. I've tried with Ubuntu's package and also compiled my own, with the same problem. I'm also getting this with my config file:
This config has been working fine forever. Removing the file results in the failed to connect to bus error. |
@Sunderland93 I discovered I had |
I'm having the same problem on Ubuntu 20.04. And this seems an issue related to AppArmor. I just disable the rule for mako and it's working. $ sudo aa-disable /etc/apparmor.d/fr.emersion.Mako |
I can confirm its related to AppArmor in Ubuntu 20.04 . |
Closing because this is a distribution issue. We already have an AppArmor file: https://github.com/emersion/mako/tree/master/contrib/apparmor |
Just as a note for 20.04: the apparmor error for the mako message
I added the line |
Just a tip for some, if you get |
Ubuntu 20.10 workaround
|
Same issue on debian bullseye, the workaround works. I'd like to report this to the package maintainer, but I'm confused on what the fix should be on the distribution package. Can anyone clarify this? thanks |
Quick update of the workaround, because the notifications were not closed automatically by the sender :
|
Replacing I'm running Linux Mint 20.1 - based of off Ubuntu 20.04, and installed the original file with the |
Thank @fbo25. His approach and https://github.com/emersion/mako/tree/master/contrib/apparmor works for me on Ubuntu 20.04. |
This line failed for me, on Ubuntu 20.04:
Produced this error when trying to reload/apply the profile:
Instead, I left the
This takes
To instead working as expected. Yay! |
Tried the above from @karlmdavis on Ubuntu 22.04 and sadly seems no longer working. I've no experience with apparmour so struggling to know where to start. Have reverted to the Error I'm getting with profile enforced is
|
I am also facing this same issue on Ubuntu 22.04. |
For those using Ubuntu 22.04 (I also ran into this issue :P)- the issue is that the packaged Two options: add local config to
|
Hello. I'm running Sway 1.4 on Kubuntu 20.04. I put
exec mako
in Sway's config, but it doesn't work. When I manually start Mako, it gives an errorFailed to connect to user bus: Permission denied
The text was updated successfully, but these errors were encountered: