Invalid MIT-MAGIC-COOKIE-1 key
Hi all, The last few days i'm getting these error messages when i su to root and trying to execute things: marcelbr@susebox:~ > su Password: root@susebox:/home/marcelbr > tkdesk 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: invalid command name "wm" while executing "wm withdraw ." (file "/usr/X11R6/bin/tkdesk" line 41) root@susebox:/home/marcelbr > cd /opt/kde2/bin root@susebox:/opt/kde2/bin > ./kpackage Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key kpackage: cannot connect to X server :0 root@susebox:/opt/kde2/bin > Can anyone tell me what these messages mean and how to get rid of them? TIA! mazzel, Marcel Get your Free E-mail at http://thepenguin.zzn.com ____________________________________________________________ Get your own FREE Web and POP E-mail Service in 14 languages at http://www.zzn.com.
Just a couple of quick questions (I should be in bed, but cannot get away from Thinkgeek). Do you log in a user on the system? If so, are you running a program via root through a terminal in your X sessions? If you are trying to run a program via root then you need to do this as the user who started the X sessions: xhost +localhost Then you can go in as root and eun your program. Hope that helps, Matt However,m if you are not sure what is happening, then it seems like a program is trying to run as a root process, but needs to connect to you On Thursday 01 February 2001 01:53 am, Marcel Broekman wrote:
Hi all,
The last few days i'm getting these error messages when i su to root and trying to execute things:
marcelbr@susebox:~ > su Password: root@susebox:/home/marcelbr > tkdesk 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: invalid command name "wm" while executing "wm withdraw ." (file "/usr/X11R6/bin/tkdesk" line 41) root@susebox:/home/marcelbr > cd /opt/kde2/bin root@susebox:/opt/kde2/bin > ./kpackage Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key kpackage: cannot connect to X server :0 root@susebox:/opt/kde2/bin >
Can anyone tell me what these messages mean and how to get rid of them?
TIA!
mazzel, Marcel
Get your Free E-mail at http://thepenguin.zzn.com ____________________________________________________________ Get your own FREE Web and POP E-mail Service in 14 languages at http://www.zzn.com.
participants (2)
-
Marcel Broekman
-
Matthew