Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: X programs as root
Date: Wed, 22 Sep 2010 19:09:22
Message-Id: i7dk7g$1fi$1@dough.gmane.org
In Reply to: [gentoo-user] X programs as root by Andrey Vul
1 On 09/22/2010 09:48 PM, Andrey Vul wrote:
2 > When I launch X programs via sudo, I get the following:
3 >
4 > $sudo gui-admin
5 > No protocol specified
6 > gui-admin: cannot connect to X server :0
7 >
8 > ( Assume gui-admin is an X program )
9 >
10 > But (gk|kde)su(do)? works. This is somewhat confusing.
11
12 sudo doesn't keep the $DISPLAY environment variable by default. There
13 could be other issues too. Best stick to kdesu and friends; that's what
14 they are there for.

Replies

Subject Author
Re: [gentoo-user] Re: X programs as root Dale <rdalek1967@×××××.com>