LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-13-2005, 02:16 PM   #1
fedix
Member
 
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 104

Rep: Reputation: 17
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
 
Old 10-13-2005, 02:40 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Log in as root.
 
Old 10-13-2005, 02:54 PM   #3
mebrelith
Member
 
Registered: Nov 2004
Location: Torreón, Coahuila, México
Distribution: Gentoo
Posts: 342
Blog Entries: 1

Rep: Reputation: 30
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.
 
Old 10-13-2005, 09:17 PM   #4
bobvh77
LQ Newbie
 
Registered: Oct 2005
Location: Ohio
Distribution: Fedora4
Posts: 19

Rep: Reputation: 0
Quote:
Log in as root.
 
Old 10-14-2005, 12:27 PM   #5
fedix
Member
 
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 104

Original Poster
Rep: Reputation: 17
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.
 
Old 10-14-2005, 01:30 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The command is just smeg, so you would do
Code:
$su -c "smeg"
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.
 
Old 10-14-2005, 02:18 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I was being facetious
 
Old 10-14-2005, 02:39 PM   #8
fedix
Member
 
Registered: Oct 2005
Location: Mpumalanga, South Africa
Distribution: Fedora / CentOS 5 / Ubuntu
Posts: 104

Original Poster
Rep: Reputation: 17
Help!

Thanks everybody!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable root to run graphical application in user log in xgreen Slackware 4 03-07-2005 06:39 AM
Xterm to Graphical Environment: run what? JMCraig Linux - Newbie 3 01-24-2005 03:12 PM
PHP HOWTO : Run script as root guideweb Linux - Software 3 08-22-2004 11:38 PM
graphical environment not working mouse46 Mandriva 11 08-09-2004 08:33 AM
Graphical Desktop Environment Gerardoj Linux - General 3 10-30-2003 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration