Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-13-2005, 02:16 PM
|
#1
|
Member
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 104
Rep:
|
HOWTO Run as root in graphical environment
I would like to know how to run a graphical application as root (for ex /applications/system tools/network tools)
Thanks
|
|
|
10-13-2005, 02:40 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Log in as root.
|
|
|
10-13-2005, 02:54 PM
|
#3
|
Member
Registered: Nov 2004
Location: Torreón, Coahuila, México
Distribution: Gentoo
Posts: 342
Rep:
|
Hold everything, the title of your post got me off-guard once I read your post. So let me clarify... you are in a regular user account and want to execute a graphical app with root powers, right? If so there are several ways, if your are using KDE just run
Code:
kdesu appyouwannarun
or type from your console (or konsole again -if you use KDE)
Code:
su -c "appyouwannarun"
. Hope this helps.
EDIT: Avoid log in as root.
|
|
|
10-13-2005, 09:17 PM
|
#4
|
LQ Newbie
Registered: Oct 2005
Location: Ohio
Distribution: Fedora4
Posts: 19
Rep:
|
|
|
|
10-14-2005, 12:27 PM
|
#5
|
Member
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 104
Original Poster
Rep:
|
Thanks mebrelith.
I also thought to log in as root is not the best way, Often I'm in my user account and need to run text editor as root. Running vi in terminal is to difficult for me, don't know the command structure of vi. But the graphical Text editor! As long as I'm root!
You said su -c "appyyouwannarun" but are the names that clear/ For example, su -c "smug menu editor" returned a com,mand not found.
|
|
|
10-14-2005, 01:30 PM
|
#6
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
The command is just smeg, so you would do
I think XavierP meant that you can switch to root using su or su - whilst logged in as a normal user, so you won't be really starting a full graphical session for root.
|
|
|
10-14-2005, 02:18 PM
|
#7
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
I was being facetious
|
|
|
10-14-2005, 02:39 PM
|
#8
|
Member
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 104
Original Poster
Rep:
|
Help!
Thanks everybody!
|
|
|
All times are GMT -5. The time now is 10:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|