Sway polkit on f37 does not work?

I try to get sway running because gnome on wayland is sometimes bit buggy on my monitor setup (different resolutions, window glitches).

So i try to get sway running, and everything works - beside of polkit. somehow the applications seam not to be able to reach? polkit but polkit itself is running (according to systemctl). and journalctl indicats that application fails to aquire permission:

Nov 19 16:54:05 unicorn-desktop gnome-control-c[10004]: Error acquiring permission: Failed to acquire permission for action-id org.opensuse.cupspkhelper.mechanism.all-edit

This example is to access the printer panel from the gnome settings app.

Would be a blast if some could help me to narrow this problem down and come closer to a solution.

Everything works fine when i launch everything in a gnome session.

I have sway and polkit running just fine with exec /usr/libexec/polkit-gnome-authentication-agent-1 in the config file, so polkit on sway does work. Note that I don’t have gnome-control-center installed, so your problem might be related to that. Do you really need gnome-control-center on sway, for example, you can use system-config-printer package for a GUI to manage printers.

Also, did you start a polkit agent from your config file? If not, you can install polkit-gnome package and put exec /usr/libexec/polkit-gnome-authentication-agent-1 in your config file and try again. gnome-shell has its own built-in polkit agent so you don’t need to start one manually.

1 Like

(post deleted by author)

Ty, will try polkit-gnome out :slight_smile: