Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-06-2004, 12:01 AM   #1
Registered: Oct 2003
Location: Australia
Distribution: Xubuntu 6.10
Posts: 73

Rep: Reputation: 15
XFCE menu ask for root password?


I've just installed XFCE4 on Fedora Core 2. I'm setting up my menu (the right click menu), and I was wondering if there is any way I can make programs that require root privileges (like Synaptic) request a password and run as root like gnome seems to do automatically.

Anybody done this?

Last edited by infornography; 09-06-2004 at 01:01 AM.
Old 09-06-2004, 06:08 AM   #2
Registered: Jun 2004
Location: UK
Distribution: BLFS 5.1
Posts: 34

Rep: Reputation: 15
I've never used Fedora, but I'd guess gnome is using the program gnome-sudo to ask for passwords, in which case, you can do the same in XFCE e.g.
gnome-sudo -- synaptic --options --etc...
see man gnome-sudo for details.
Old 09-06-2004, 06:20 AM   #3
Senior Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Install gnomesu and then use the program name gnomesu program_you_want_to_run_as_root in the application field of your menu item config. When you select the item, gnomesu will start first, with the application name (synaptic) already filled in; you'll just need to enter the root password.

I'm sure there are other ways to do this, but I can't think of them right now, sorry.


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 could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Problem with Xfce desk and menu scissorhands Linux - Newbie 0 10-10-2005 03:16 AM
XFCE Desktop Menu caps_phisto Fedora 7 03-25-2005 08:42 AM
Xfce Start/Kicker menu Beresford Linux - Software 2 11-09-2004 07:00 PM
Xfce program menu? e1000 Linux - Software 5 01-25-2004 01:15 AM

All times are GMT -5. The time now is 09:26 PM.

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