I can’t launch GTK3 [and possibly other] apps with elevated privileges. Here’s what happens when I try to use e.g. Ventoy:
[halvar@marek-ms7e56 ventoy-1.1.10]$ ./VentoyGUI.x86_64
Authorization required, but no authorization protocol specified
(Ventoy2Disk.gtk3:6726): Gtk-WARNING **: 12:29:30.125: cannot open display: :0
I did my research on this topic and what I found is I need a Polkit agent. However, I have one running already, it’s polkit-gnome, and when I try to launch Ventoy, I get the authentication window:
Ok, so this works (sudo -EH). At least I know it can be launched. But I would like to be able to launch apps like gparted from my app menu (it’s Fuzzel)
(And now I could create another topic asking why after fixing Qt apps not using dark mode my GTK apps don’t use dark mode, but it’s just gparted, and KDE Partition Manager exists, so I guess I will just use KDE one)