In the terminal
It'll run like any other command.
then run your root command.
the xhost command switches you to use root apps, but only for the current desktop session in use.Code:xhost si:localuser:root then press enter then try synaptic-pkexec or some other root gui app
To set as persistent you can add the line to a new Startup Application entry.
That way it'll run everytime you log in.
Bookmarks