Subscribe to How-To Geek

Start an Ubuntu Gnome Application as Root User

Ubuntu 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

Ubuntu 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! 

| More
This article was originally written on 11/25/06 Tagged with: Ubuntu, Ubuntu Tips & Tweaks

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:

Comments (3)

  1. jasperism

    Thank you for the very good and useful information! I applied it to my Limewire using Ubuntu. First, I am really much tired looking for any solution to run my limewire as root without using the gnome-terminal. Using ‘gksu’ command, I found it easy!!! Thanks again!

  2. Nrip Cheema

    It really helped. I am using 8.04 LTS and wanted to update antivirus definition. Thanks for sharing the information.

  3. mickey12gauge

    Thanks a bunch. This was just what I was looking for.


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

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

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

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