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 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. >>
It's the "other issues". >> > > Well, I noticed after the recent upgrade to 4.5.1 that mine doesn't work > either. It worked before but not now. I'm not sure what changed between > 4.4 and 4.5.1 but it broke my konqueror as root and other programs as well. > Still have some I haven't tried tho. Konqueror is the one I need most. > Oh, I can get Dolphin to work tho. The conspiracy theory part in me is > starting to think. Same here, s/konqueror/every gui program run via sudo/ > > Sure would like to get this working again too. Ditto. VMware tools, etc, are all gui and sometimes sudo is eaiser to use than kdesu.