Re: [gentoo-user] Re: X programs as root

2010-10-17 Thread Kevin O'Gorman
On Sun, Oct 17, 2010 at 8:37 AM, Alan McKinnon wrote: > Apparently, though unproven, at 15:03 on Sunday 17 October 2010, Nikos > Chantziaras did opine thusly: > > > On 10/17/2010 04:00 PM, Nikos Chantziaras wrote: > > > On 09/22/2010 09:48 PM, Andrey Vul wrote: > > >> When I launch X programs via

Re: [gentoo-user] Re: X programs as root

2010-10-17 Thread Alan McKinnon
Apparently, though unproven, at 15:03 on Sunday 17 October 2010, Nikos Chantziaras did opine thusly: > On 10/17/2010 04:00 PM, Nikos Chantziaras wrote: > > On 09/22/2010 09:48 PM, Andrey Vul wrote: > >> When I launch X programs via sudo, I get the following: > >> > >> $sudo gui-admin > >> No pro

[gentoo-user] Re: X programs as root

2010-10-17 Thread Nikos Chantziaras
On 10/17/2010 04:00 PM, Nikos Chantziaras wrote: On 09/22/2010 09:48 PM, Andrey Vul wrote: When I launch X programs via sudo, I get the following: $sudo gui-admin No protocol specified gui-admin: cannot connect to X server :0 ( Assume gui-admin is an X program ) But (gk|kde)su(do)? works. Thi

[gentoo-user] Re: X programs as root

2010-10-17 Thread Nikos Chantziaras
On 09/22/2010 09:48 PM, Andrey Vul wrote: When I launch X programs via sudo, I get the following: $sudo gui-admin No protocol specified gui-admin: cannot connect to X server :0 ( Assume gui-admin is an X program ) But (gk|kde)su(do)? works. This is somewhat confusing. I just discovered somet

Re: [gentoo-user] Re: X programs as root

2010-10-17 Thread Kevin O'Gorman
On Mon, Oct 4, 2010 at 10:22 PM, Andrey Vul wrote: > sudoers(5): > ... > ## Run X applications through sudo > Defaults env_keep += "DISPLAY HOME" > ... > > sudo visudo; paste; done > Except that in the heavily-commented version of the sudoers file that I have, the corresponding line does not inc

Re: [gentoo-user] Re: X programs as root

2010-10-04 Thread Andrey Vul
sudoers(5): ... ## Run X applications through sudo Defaults env_keep += "DISPLAY HOME" ... sudo visudo; paste; done -- Andrey "m05hbear" Vul

Re: [gentoo-user] Re: X programs as root

2010-09-27 Thread Helmut Jarausch
On 09/25/10 01:35:16, Nikos Chantziaras wrote: ... > > But if some reason you want sudo, /etc/sudoers has some info: > >## Run X applications through sudo > > Read the comments there and uncomment what suits you. Did I mention > that you should use kdesu instead of sudo? :-P Which version

Re: [gentoo-user] Re: X programs as root

2010-09-26 Thread Dale
Robin Atwood wrote: On Sunday 26 September 2010, Dale wrote: Dale wrote: It appears that maybe portage got the order wrong or something was amiss with KDE. I re-emerged the following: kdebase-menu kdebase-menu-icons kmenuedit kdesu After that, it works again. So, either something

Re: [gentoo-user] Re: X programs as root

2010-09-26 Thread Robin Atwood
On Sunday 26 September 2010, Dale wrote: > Dale wrote: > > It appears that maybe portage got the order wrong or something was > > amiss with KDE. I re-emerged the following: > > > > kdebase-menu > > kdebase-menu-icons > > kmenuedit > > kdesu > > > > After that, it works again. So, either someth

Re: [gentoo-user] Re: X programs as root

2010-09-26 Thread Dale
Dale wrote: It appears that maybe portage got the order wrong or something was amiss with KDE. I re-emerged the following: kdebase-menu kdebase-menu-icons kmenuedit kdesu After that, it works again. So, either something was built in the wrong order or KDE had some issue with something. O

Re: [gentoo-user] Re: X programs as root

2010-09-25 Thread Dale
Yohan Pereira wrote: On Saturday 25 September 2010 2:51:45 pm Dale wrote: In the Advanced tab, I set it to run as user root. When I then select to run the item from the menu, a little GUI window will pop up and ask me for the root password. i just tried that and it worked perfectly

Re: [gentoo-user] Re: X programs as root

2010-09-25 Thread Yohan Pereira
On Saturday 25 September 2010 2:51:45 pm Dale wrote: > In the Advanced tab, I set it to run as user root. When I then > select to run the item from the menu, a little GUI window will pop up > and ask me for the root password. i just tried that and it worked perfectly for konqueror, maybe you

Re: [gentoo-user] Re: X programs as root

2010-09-25 Thread Dale
Yohan Pereira wrote: On Saturday 25 September 2010 8:33:09 am Dale wrote: Well, I don't really know what it is using. I just set up the menu item to run the program as root. i assume you mean you setup a menuitem to run a paticular application as root like say to run konsole/konquero

Re: [gentoo-user] Re: X programs as root

2010-09-25 Thread Dale
Volker Armin Hemmann wrote: On Saturday 25 September 2010, Dale wrote: Nikos Chantziaras wrote: On 09/23/2010 04:18 AM, Dale wrote: Nikos Chantziaras wrote: On 09/22/2010 09:48 PM, Andrey Vul wrote: When I launch X programs via sudo, I get the followin

Re: [gentoo-user] Re: X programs as root

2010-09-25 Thread Yohan Pereira
On Saturday 25 September 2010 8:33:09 am Dale wrote: > Well, I don't really know what it is using. I just set up the menu item > to run the program as root. i assume you mean you setup a menuitem to run a paticular application as root like say to run konsole/konqueror as root. > I don't know i

Re: [gentoo-user] Re: X programs as root

2010-09-25 Thread Volker Armin Hemmann
On Saturday 25 September 2010, Dale wrote: > Nikos Chantziaras wrote: > > On 09/23/2010 04:18 AM, Dale wrote: > >> Nikos Chantziaras wrote: > >>> On 09/22/2010 09:48 PM, Andrey Vul wrote: > When I launch X programs via sudo, I get the following: > > $sudo gui-admin > No protoco

Re: [gentoo-user] Re: X programs as root

2010-09-24 Thread Dale
Nikos Chantziaras wrote: On 09/23/2010 04:18 AM, Dale wrote: Nikos Chantziaras wrote: On 09/22/2010 09:48 PM, Andrey Vul wrote: When I launch X programs via sudo, I get the following: $sudo gui-admin No protocol specified gui-admin: cannot connect to X server :0 ( Assume gui-admin is an X pr

[gentoo-user] Re: X programs as root

2010-09-24 Thread Nikos Chantziaras
On 09/23/2010 04:18 AM, Dale wrote: Nikos Chantziaras wrote: On 09/22/2010 09:48 PM, Andrey Vul wrote: When I launch X programs via sudo, I get the following: $sudo gui-admin No protocol specified gui-admin: cannot connect to X server :0 ( Assume gui-admin is an X program ) But (gk|kde)su(do

Re: [gentoo-user] Re: X programs as root

2010-09-24 Thread Andrey Vul
On Wed, Sep 22, 2010 at 21:18, Dale wrote: > Nikos Chantziaras wrote: >> >> On 09/22/2010 09:48 PM, Andrey Vul wrote: >>> >>> When I launch X programs via sudo, I get the following: >>> >>> $sudo gui-admin >>> No protocol specified >>> gui-admin: cannot connect to X server :0 >>> >>> ( Assume gui-

Re: [gentoo-user] Re: X programs as root

2010-09-22 Thread Dale
Nikos Chantziaras wrote: On 09/22/2010 09:48 PM, Andrey Vul wrote: When I launch X programs via sudo, I get the following: $sudo gui-admin No protocol specified gui-admin: cannot connect to X server :0 ( Assume gui-admin is an X program ) But (gk|kde)su(do)? works. This is somewhat confusing.

[gentoo-user] Re: X programs as root

2010-09-22 Thread Nikos Chantziaras
On 09/22/2010 09:48 PM, Andrey Vul wrote: When I launch X programs via sudo, I get the following: $sudo gui-admin No protocol specified gui-admin: cannot connect to X server :0 ( Assume gui-admin is an X program ) But (gk|kde)su(do)? works. This is somewhat confusing. sudo doesn't keep the $