On Sun, 5 Sep 1999, Ken Archer wrote:

> I seem to have some kind of corrupted file as you see from the subject line. 
> I have upgraded 6.0 to XFree86-3.3.5, kernel-2.2.13-pre4mdk and
> initscripts-4.23-30mdk.  When I try to bring up netcfg, control-panel or
> filerunner from Konsole I get the following error:
> 
> [karcher@Angus karcher]$ su
> Password:
> [root@Angus karcher]# fr &
> [1] 562
> [root@Angus karcher]# Xlib: connection to ":0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> Application initialization failed: couldn't connect to display ":0"
> Error in startup script: can't read "tk_patchLevel": no such variable
>     while executing
> "if {$tk_patchLevel == "8.0"} {
>   #puts "Buggy 8.0 menu.tcl file, applying patch"
>   source $glob(lib_fr)/menu_80_patch.tcl
> }"
>     (file "/usr/X11R6/bin/fr" line 3296)
> 
> [1]+  Exit 1                  fr
> [root@Angus karcher]# control-panel
> QXlib: Invalid MIT-MAGIC-COOKIE-1 key

xhost +local: && su && xhost -local:

it's not a bug it's called security |-)
  
> Gtk-WARNING **: cannot open display: :0
> [root@Angus karcher]# netcfg
> Xlib: connection to ":0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> Traceback (innermost last):
>   File "/usr/lib/rhs/netcfg/netcfg.py", line 24, in ?
>     from rhtkinter import *
>   File "/usr/lib/rhs/python/rhtkinter.py", line 52, in ?
>     e = Entry()
>   File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1288, in __init__
>     Widget.__init__(self, master, 'entry', cnf, kw)
>   File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1042, in __init__
>     BaseWidget._setup(self, master, cnf)
>   File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1017, in _setup
>     _default_root = Tk()
>   File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 844, in __init__
>     self.tk = _tkinter.create(screenName, baseName, className)
> TclError: couldn't connect to display ":0"
> 
> 

--
MandrakeSoft          http://www.mandrakesoft.com/
                                        --Axalon

Reply via email to