How to run a Linux graphical application as root

The gksu utility can be used to launch a graphical application using the su permissions.

gksu is not installed by default but it can be easily installed using the following command in a terminal (Ubuntu example):

sudo apt-get install gksu

Once gksu is installed, start the graphical application using the following command:

gksu application_name

Examples:

gksu firefox - Starts the Firefox browser

gksu thunar - Start the Ubuntu File Manager

gksu gedit - Start a text editor

Comments

Popular posts from this blog

Install Splunk on Ubuntu

Configure rsyslog to create logs for each device in their own folders

How to access Ubuntu's graphical interface from Windows