Ask questionsQuestion: How to launch root applications like gparted
Hello. I wonder what's the most convenient way of running applications which need root priviliges under sway.
sudo gparted [sudo] password for asbachb: No protocol specified Unable to init server: Could not connect: Connection refused (gpartedbin:1059): Gtk-WARNING **: 11:35:36.413: cannot open display: :0
gparted localuser:root being added to access control list Error executing command as another user: No authentication agent found. localuser:root being removed from access control list
Answer questions X0rg
@asbachb: I use GNOME authentication agent to launch root applications.
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1