Hey Mike,

Is it an access problem or a no display set problem.  Often if you type
something like "su - root" it clobbers all the environment variables
including the DISPLAY variable which means none of your X apps know
where to connect.  Maybe try a "su root" instead and check that the
DISPLAY variable is  set "set | grep DISPLAY".  

Failing in that some systems are setup so with Xauth to limit access to
certain users.  With Xauth each user that wants to use the X server must
have the appropriate "secret" (mit-magic-cookie).  When you start X it
may be creating a session key (terminology is probably a bit wrong) in
~/.Xauthority.  I believe you may need to copy this to the home
directory of any user wanting to use that Xserver.  Hopefully it's just
the environment variable thing because I'm not too familiar with this
stuff. 

Jeff

On Tue, Mar 18, 2003 at 09:46:17AM -0700, Michael Buckley wrote:
> Hi all,
>  Can someone explain how to allow root to connect to the X server (IE - open gui 
> windows when su'ed to root) in Kde.
> 
> I'm pretty sure that this is a KDE only restriction, as my gnome desktop allows me 
> to su to root and open gui screens.
> 
> Thanks,
> Michael
> -- 
> ______________________________________________
> http://www.linuxmail.org/
> Now with e-mail forwarding for only US$5.95/yr
> 
> Powered by Outblaze
> 

-- 
Jeffrey Clement <[EMAIL PROTECTED]>
http://calgary.linux.ca
2956 42A8 ED8A 91F4 8CE0  A5DF 5293 8E10 6F08 7FB9 / 6F087FB9 / wwwkeys.pgp.net

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to