You are not logged in.

#1 2005-11-07 18:18:56

joe.henderson1
Member
Registered: 2005-04-17
Posts: 13

Root password popup on program load..X11

All,

Is there is a way to get a root password popup
when you try to execute a program in X11?

Example..

I want to run "Ethereal"

Currently..
-- I open a xterm
-- enter "su"
-- enter my root pw
-- type "ethereal &"
-- close xterm


What I want
-- click on ethereal in my menu (already configed)
-- enter my root pw
-- run ethereal

I'm using IceWM..


Thanks,

Joe

Offline

#2 2005-11-07 19:25:01

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Root password popup on program load..X11

How about using gksu (pacman -S gksu). It has few gnome deps (gconf, orbit & gnome-common), so that should not be that much of a problem.

Offline

#3 2005-11-07 19:30:06

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Root password popup on program load..X11

IIRC gksu is replaced by libgnomesu

Offline

#4 2005-11-08 09:53:57

sudman1
Member
From: Huntingdon, UK
Registered: 2005-02-18
Posts: 143

Re: Root password popup on program load..X11

kdesu also works


v/r
Suds

Offline

#5 2005-11-09 19:34:26

joe.henderson1
Member
Registered: 2005-04-17
Posts: 13

Re: Root password popup on program load..X11

All,

gksu works like a champ.

here's the syntax for IceWM menu file


"prog Ethereal - /opt/gnome/bin/gksu -u root /usr/bin/ethereal"


Thanks for all the help,

Joe

Offline

Board footer

Powered by FluxBB