[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: make xconfig button.ref eroor



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 17 April 2001 11:08, Joe 'Zonker' Brockmeier wrote:
> On Tue, 17 Apr 2001, Jesse Goerz wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > 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[1]: 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[1]: Leaving directory `/usr/src/kernel-source-2.2.18pre21/scripts'
> > wish -f scripts/kconfig.tk
> > 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
>
> By any chance are you logged in as a normal user in X, but
> logged in as root in an xterm or the like and running 'make xconfig'?
> If so, the xserver is not letting another users (root, in this case)
> run a display on your (the regular user) display.

Yep, sure was.  

> You might want to read the man page on xhost.
> I believe running xhost +root should do the trick, before logging in
> as root. So, open your xterm, run 'xhost +root' then su to root
> (or however you go about being root to compile a kernel) and then
> 'make xconfig' - I'm guessing that's the problem.
>
> Take care,
>
> Zonker

Cool, I'll check that out.  Thank you.



- -- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
pgp key at:
http://personal.mco.bellsouth.net/~jgoerz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrdIksACgkQUraCO4ktIFfcUACgjPDMNIkDD/hSom+ye9TRMhY/
RigAnicvumfYeOUved0V0LDFDXGUeXu3
=eeVP
-----END PGP SIGNATURE-----



Reply to: