GNU/Linux GKsu Alternative Guide
Hi! The Tip shows you How to use a GKsu Alternative in GNU/Linux Desktops.
The GKsu Alternative is pkexec a Tool that allows an Authorized User to execute PROGRAM as Another User.
If username is not specified, then the program will be executed as the Admin Super User, root.
Running Program
Hence to Run GUI App as another User on Linux
The General Command is:sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY [MYPROGRAM]
Like:sudo pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/local/bin/hardinfo