Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
gksu is not working properly
#5
(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.
Reply


Messages In This Thread
gksu is not working properly - by PistachioGuy - 06-11-2024, 08:55 PM
RE: gksu is not working properly - by John - 06-12-2024, 12:46 AM
RE: gksu is not working properly - by Nathan - 06-12-2024, 06:15 PM
RE: gksu is not working properly - by John - 06-12-2024, 04:29 AM
RE: gksu is not working properly - by Nathan - 06-13-2024, 06:20 PM
RE: gksu is not working properly - by John - 06-14-2024, 11:21 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)