Thanks very much!
Thank again for any help... getting desperate here.
Odd Cntl-alt-backsp kills the X server, but it usually restarts by itself.
It would seem that some file didn't get closed correctly. Have you
re-booted sence then?
One easy thing to try; as root type
touch /forcefsck
and then re-boot
(And I have managed to repair apache though)
START "/home/<myusername>/.xsession-errors"
----------------------------------------------------------------------
Gdk-Message: Got event for unknown window: 0
Gdk-Message: Got event for unknown window: 0
xscreensaver-command: no screensaver is running on display :0.0
xscreensaver disabling server builtin screensaver.
xscreensaver: you can re-enable it with "xset s on".
subshell.c: couldn't get terminal settings: Inappropriate ioctl for
device
Red Hat Linux netcfg 2.20
Copyright (C) 1996, 1997 Red Hat Software
Redistributable under the terms of the GNU General Public License
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Gtk-WARNING **: cannot open display: :0
Gdk-ERROR **: an x io error occurred
aborting...
X connection to :0.0 broken (explicit kill or server shutdown).
Gdk-ERROR **: an x io error occurred
aborting...
Gdk-ERROR **: an x io error occurred
aborting...
Gdk-WARNING **: GdkWindow 0x2c00034 unexpectedly destroyed
Gdk-WARNING **: GdkWindow 0x2c00033 unexpectedly destroyed
Gdk-WARNING **: GdkWindow 0x2c00032 unexpectedly destroyed
Gdk-WARNING **: GdkWindow 0x2c0002f unexpectedly destroyed
Gdk-ERROR **: an x io error occurred
aborting...
Gdk-WARNING **: GdkWindow 0x3000005 unexpectedly destroyed
Gdk-ERROR **: an x io error occurred
aborting...
----------------------------------------------------------------------
END
Thanks
> Gtk-WARNING **: cannot open display: :0 Xlib: connection to ":0.0"
> refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key
try
xhost +localhost
and see if that solves the problem.
No change :(
I got a big laugh when I read your mail, the way U mentioned your
brother. Don't be upset at him, we only learn by our/other mistakes
:-))
According to the log, your key/cookie is corrupt. Just delete it
(.Xauthority) from your home directory, and then login again. The X
server will create a new cookie for you.
Here is the explanation: Why cookie?
The MIT_MAGIC_COOKIE is a protocol, using for authority in X server.
(man xauth).
Every user get a key (they call a cookie) when they log into X Window
the first time. (if U delete a old one, it will create a new one), the
key is written in the file ~/.Xauthority. (if U want to give access to
an another remote user, U then give him your cookie; more secure than
xhost +)
Try: xauth list or just xauth
GOOD LUCK
bR Tuan
ps: try xman or HOWTO documentations , U can always
find some hints there.
On Wed, 05 Jun 2002 23:56:21 GMT, "Chris Jacobs" <cb...@aol.com>
wrote:
>If it helps, heres a copy of my ".xsession-errors" file that I found in
>the /home folder for my account.
>(Also worth noting is the screen saver seemed to give an error wen it
>trys to activate after the computer's been idle just BEFORE Ctrl Alt
>Backspace incident and the reboot which yielded the symtom described in
>the post this one replies to)
>
>START "/home/<myusername>/.xsession-errors"
>----------------------------------------------------------------------
>Gdk-Message: Got event for unknown window: 0
>
>Gdk-Message: Got event for unknown window: 0
>
>xscreensaver-command: no screensaver is running on display :0.0
>xscreensaver disabling server builtin screensaver.
>xscreensaver: you can re-enable it with "xset s on".
>subshell.c: couldn't get terminal settings: Inappropriate ioctl for
>device
>Red Hat Linux netcfg 2.20
>Copyright (C) 1996, 1997 Red Hat Software
>Redistributable under the terms of the GNU General Public License
>Gdk-ERROR **: an x io error occurred
>aborting...
>X connection to :0.0 broken (explicit kill or server shutdown).
>
>Gdk-ERROR **: an x io error occurred
>aborting...
>
>Gdk-ERROR **: an x io error occurred
>aborting...
>
>Gdk-WARNING **: GdkWindow 0x2c00034 unexpectedly destroyed
>
>Gdk-WARNING **: GdkWindow 0x2c00033 unexpectedly destroyed
>
>Gdk-WARNING **: GdkWindow 0x2c00032 unexpectedly destroyed
>
>Gdk-WARNING **: GdkWindow 0x2c0002f unexpectedly destroyed
>
>Gdk-ERROR **: an x io error occurred
>aborting...
>
>Gdk-WARNING **: GdkWindow 0x3000005 unexpectedly destroyed
>
>Gdk-ERROR **: an x io error occurred
>aborting...
>----------------------------------------------------------------------
>END
>
>Thanks
>
-------------------------------------------------------------
What is the different between a good leader and a bad leader?
A good leader: what is good for my company.
A bad leader : what is good for me (and my car).