[NTLUG:Discuss] suse kernel recompile, take 2
kbrannen@gte.net
kbrannen at gte.net
Thu Mar 13 15:01:34 CST 2003
Dennis Daupert wrote:
...
> By the way, while I'm at it, I can't seem to get xconfig
> working. When I try bringing him up, I get:
>
...
> wish -f scripts/kconfig.tk
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Application initialization failed: this isn't a Tk applicationcouldn't
> connect to display ":0"
> Error in startup script: invalid command name "button"
> while executing
> "button .ref"
> (file "scripts/kconfig.tk" line 51)
> make: *** [xconfig] Error 1
You probably already have this solved, but for anyone else who has this
problem and is searching the archives...
I suspect you logged in as yourself, then created a root xterm (via "sudo" or
"su -"), and started doing your work. When you do that, "your id" owns the
display, and even "root" cannot use it unless you give it permission. Since
you're on your home machine and security is probably not an issue, do "xhost
+" from one of "your" xterms, then have root try "make xconfig". If you are
somewhere where you really need to protect your display, do "man xhost" and
read about the options to trust just 1 host or 1 user.
HTH,
Kevin
More information about the Discuss
mailing list