Thanks Jeff. Turns out is was the DISPLAY variable. <me> gets back to coding...</me>
----- Original Message ----- From: Jeffrey Clement <[EMAIL PROTECTED]> Date: Tue, 18 Mar 2003 10:00:30 -0700 To: [EMAIL PROTECTED] Subject: Re: (clug-talk) Granting access for root to connect to X > 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 -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze
