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

Re: make xconfig button.ref eroor



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
...
  >wish -f scripts/kconfig.tk
  >Xlib: connection to ":0.0" refused by server
  >Xlib: Client is not authorized to connect to Server
 ...
  >I've installed and uninstalled every version of tcl and tk to include:
  >tcl8.0, tk8.0, tcl8.2, tk8.2, task-tcltk-dev and all the corresponding dev 
  >packages as well as itcl3.1-dev, iwidgets3.1-dev, itk3.1-dev, and python-tk.
      >  
  >Am I missing a package here or is this a permissions problem with the xserve
      >r?
 
The latter.  (That is, after all, exactly what it says.)

The client is running as root, but you probably (I hope it's true) started
X as yourself.  You need to do this:

  $ export XAUTHORITY=~/.Xauthority
  $ su

or run

  $ xhost +localhost

or something else to give root the right to run on your X server.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "But as many as received him, to them gave he power to 
      become the sons of God, even to them that believe on 
      his name."    John 1:12 




Reply to: