Seems like you have a permissions issue. I just tested it on Fedora workstation gnome, run it from regular menu, then it asked me for password.
You, you have a permission denied isssue, so you need to figure out how to run it as root.
Do you have something like polkit-gnome installed?
Edit:
Glad you found a solution. Just for completeness:
You also have to start the polkit agent via your sway config file. For polkit-gnome it would have been
8 Comments
fossphi@lemm.ee · 4 pts · 1y
Does any app which asks for permission to elevate to root work?
https://wiki.archlinux.org/title/Polkit
You might have to translate the names to what Fedora reposi provide. But this should be a good start
maliciousonion@lemmy.ml · 4 pts · 1y
Nice catch, lxpolkit works for me.
dragnucs@lemmy.ml · 3 pts · 1y
Seems like you have a permissions issue. I just tested it on Fedora workstation gnome, run it from regular menu, then it asked me for password. You, you have a permission denied isssue, so you need to figure out how to run it as root.
maliciousonion@lemmy.ml · 2 pts · 1y
Yep, that seems to be it. lxpolkit worked for me.
528491@lemmy.one · 3 pts · 1y
Do you have something like
polkit-gnomeinstalled?Edit: Glad you found a solution. Just for completeness: You also have to start the polkit agent via your sway config file. For polkit-gnome it would have been
maliciousonion@lemmy.ml · 2 pts · 1y
polkit-gnome is not available in dnf. I did install polkit-kde, polkit-qt and mate-polkit to see if it works. Same problem, sadly
Strit@lemmy.linuxuserspace.show · 1 pts · 1y
Might have to reboot for the polkit agent to be started.
maliciousonion@lemmy.ml · 1 pts · 1y
Nope, rebooting doesn't do anything