LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-25-2006, 06:12 AM   #1
liaty
Member
 
Registered: Oct 2005
Distribution: openSuse 10.1
Posts: 129

Rep: Reputation: 15
Run application window in su mode


Is there an app, similar to the run app window which starts on <ALT F2> which will allow to run apps as root. I.E. one that asks for the root password in a popup window?
 
Old 07-25-2006, 06:15 AM   #2
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
which DE are you using? dont they (atleast KDE) have an option to run as root in the <ALT+F2> app?

You could always login as root in a terminal and execute the command.
 
Old 07-25-2006, 06:31 AM   #3
liaty
Member
 
Registered: Oct 2005
Distribution: openSuse 10.1
Posts: 129

Original Poster
Rep: Reputation: 15
gnome. I want it more for things like switching xgl on and off etc. Like when you go into software installer (yast on sue) a window pops up asking for root password. Then anythng you do in yast after that executes in su mode.
 
Old 07-25-2006, 06:41 AM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
http://xsu.sourceforge.net/

gnomesu any good?
 
Old 07-25-2006, 06:48 AM   #5
liaty
Member
 
Registered: Oct 2005
Distribution: openSuse 10.1
Posts: 129

Original Poster
Rep: Reputation: 15
Trying to get away from using console. Looks like I've found a new project.
 
Old 07-25-2006, 07:10 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
why do you need the consle for gnomesu?

assign it to a hotkey in gnome (or add to menu/taskbar), press hotkey, type in command and password, hey presto.
 
Old 07-25-2006, 08:18 AM   #7
liaty
Member
 
Registered: Oct 2005
Distribution: openSuse 10.1
Posts: 129

Original Poster
Rep: Reputation: 15
Terminal sorry. I have shell scrips to start stop xgl. They have to be executed as su. So at the moment I open terminal, su to root and then run command. OK, it doesn't take that much effort. But it would be nice to have an icon for starting/stopping. Click on, enter password, that's it.
Also might be handy for other apps needing root privaliges.

Last edited by liaty; 07-25-2006 at 08:19 AM.
 
Old 07-25-2006, 08:52 AM   #8
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
i'm not on a Linux system right now but what does the gnomesu manual say? maybe you could do
Code:
gnomesu <program>
and it would just want a password. then you can put that in a script and call that from a menu.... or depending on the menu, just call the command directly
 
Old 07-25-2006, 09:49 AM   #9
liaty
Member
 
Registered: Oct 2005
Distribution: openSuse 10.1
Posts: 129

Original Poster
Rep: Reputation: 15
No man page, but the suggested above works like a charm. Just the job thanks.
 
  


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
Fedora and Eclipse-No Application Window Decorations fortezza Linux - Software 2 07-19-2006 09:19 AM
Is there any way to run rescue mode in test mode. kadhiravan.r Linux - General 2 07-13-2006 09:11 AM
porting Window Application to Linux sjcoder Programming 3 12-18-2005 05:48 PM
application startup window size under KDE? khedger Linux - General 3 12-17-2005 11:09 PM
user mode issues - change default application pp7k Linux - Newbie 5 03-02-2005 05:55 PM


All times are GMT -5. The time now is 07:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration