Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

StartAsRoot

StartAsRoot - running X-applications via pkexec

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

StartAsRoot - running X11 / Xwayland 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/10, Ubuntu.