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 $DISPLAY environment variable by default. There could be other issues too. Best stick to kdesu and friends; that's what they are there for.