Subscribe to How-To Geek

Start a KDE / Kubuntu GUI Application as Root User

Kubuntu Linux runs the the desktop as a regular user account, and so all programs launched are launched in the context of a normal user account.

To run a command-line program with superuser(root) priviledges, you normally will preceed the command with "sudo", as shown in this example:

sudo gedit filename.txt

Kubuntu provides a graphical alternative to the sudo command that you have probably seen if you try to run any administrative tool:

 

You can easily and quickly run any program as root by preceeding the command with the "gksu" command. For instance, let's launch xterm as root by hitting Alt+F2 to bring up the quick run dialog:

We'll first see the password dialog shown above, enter your password… and there we go - we now have a terminal running as root:

Easy stuff! 

The Geek is the founder of How-To Geek and a geek enthusiast. When he's not coming up with great how-to articles, he's probably writing at his personal blog. This article was written on 11/25/06 and tagged with: Ubuntu, Ubuntu Tips & Tweaks, KDE, Kubuntu

Disclaimer: Many of our articles require making changes to your system. While we fully test and stand by our advice, there is still the potential for problems when making any configuration changes. Please be careful.


Leave a Comment




Leave your friendly comment here. If you have a computer help question, leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Sponsored Links
Getting Started
About How-To Geek
Popular Articles

Copyright © 2006-2008 HowToGeek.com. All Rights Reserved.