Re: make xconfig button.ref eroor
On Tue, Apr 17, 2001 at 10:37:47AM -0400, Jesse Goerz wrote:
> I'm trying to recompile a kernel but keep getting this error trying to use
> make xconfig:
> storm:/usr/src/linux# make xconfig
> rm -f include/asm
> ( cd include ; ln -sf asm-i386 asm)
> make -C scripts kconfig.tk
> make: Entering directory `/usr/src/kernel-source-2.2.18pre21/scripts'
> cat header.tk >> ./kconfig.tk
> ./tkparse < ../arch/i386/config.in >> kconfig.tk
> echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
> echo "set ARCH \"i386\"" >> kconfig.tk
> cat tail.tk >> kconfig.tk
> chmod 755 kconfig.tk
> make: Leaving directory `/usr/src/kernel-source-2.2.18pre21/scripts'
> wish -f scripts/kconfig.tk
can you run any other X program (try xclock, for example) under these
very circumstances? If you get the same Xlib error, then I suppose you
were logged in as root while running make xconfig, but started the X
server under your regular userid (which is good, btw). In this case do a
xauth merge ~<your regular username>/.Xauthority
(...hopefully not starting the same old discussion about what else you
can do and why not -- it's all in the archives ;)
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> Application initialization failed: couldn'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
-- Bugs come in through open windows. Keep Windows shut! --