On Tuesday 17 January 2006 19:17, you wrote: > On Tue, 2006-01-17 at 17:29 -0500, Lei Kong wrote: > > Hi, > > > > I have a strange problem with my thinkpad z60t, running debian testing. > > I ran these commands in konsole or xterm under kde: > > > > $xhost + > > $ sudo -s > > #kedit > > kedit: cannot connect to X server > > > > What is wrong? > > My desktop runs debian testing too, but after su or sudo, > > root can open windows even without xhost +. > > > > xserver-xorg 6.8.2.dfsg.1-11 > > sudo 1.6.8p12-1 > > kdebase 3.4.3-3 > > > > Can someone enlighten me? > > > > Thanks. > > > > Lei Kong > > This should be considered to be a security feature. X generally does not > permit root logins and for the same reason, root (via sudo) cannot > access the X system.
Thanks, but, with "xhost +", root should be able to start X applications. Like I said, I don't have such a problem with my desktop. Lei > > Thanks, > Martin OConnor -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]