(06-12-2024, 01:44 AM)PistachioGuy Wrote: Unfortunately that didn't work. I also tried DISPLAY=:0 gksu zzzfm and no luck. I realized that once I run anything with sudo in the terminal, gksu works for the rest of the session, but also doesn't ask for a password.
gksu is just a GTK+ library that wraps sudo, su providing a graphical interface for you to authenticate yourself and grant superuser permissions without needing to go to the command line.
When you run something with sudo in the terminal you are also granting that permission. Once it gas been granted it is maintained for a certain period of time. If you start a new process that requests those permissions before they are automatically revoked it will be automatically granted iirc.
-----
No idea why you weren't getting the gksu generated dialog boxes, but if they weren't being assigned to the display used for the current X windows session/desktop environment then you wouldnn't be able to see or interact with them.