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 andrey@gmail.com 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

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 protocol

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 alan.mckin...@gmail.comwrote: 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

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

2010-10-05 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 of

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.

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 something was built in

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-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 protocol specified gui-admin:

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 if

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

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

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 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-24 Thread Andrey Vul
On Wed, Sep 22, 2010 at 21:18, Dale rdalek1...@gmail.com 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

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

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