/StartAsRoot

StartAsRoot - running X-applications via pkexec

Primary LanguagePascalGNU General Public License v3.0GPL-3.0

StartAsRoot - running X-applications via pkexec

Designed to run an X-application via pkexec. This is useful if you need to distribute applications in non-rpm packages. There is no need to write rules and additional executable files.

  • The application to be launched must be located in the same StartAsRoot directory (or StartAsRoot + StartAsRoot.ini in the directory of your application)
  • The name of the application to start is written in StartAsRoot.ini
  • Before starting, the intercepted User Name is written to the StartAsRoot.ini file. It can be used by the developer in the future

Made and tested in Mageia Linux-8/9, Ubuntu.