Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ctrl + Alt + Backspace messed up X windows

3 views
Skip to first unread message

Chris Jacobs

unread,
Jun 5, 2002, 2:59:25 AM6/5/02
to
I by mistake did ctrl alt backspace while logged in, which took me back
to the login. Then my brother came and and did a ctrl + f1 to get a
console and went in as root and kill the process "X" (which was stupid
it seems, as I cannot figure out why he did that). Now evertime I try to
go in on my login (the one where I did vtrl alt backspace) from the gui
login, it stars to go in like the password was accepted, then seems to
die and return to the same gui login. I can get into root ok and my
bro's login (which I just might remove later ;p ), but not mine. Anyone
know how ot fix this?!

Thanks very much!


Chris Jacobs

unread,
Jun 5, 2002, 3:01:58 AM6/5/02
to
"Chris Jacobs" <cb...@aol.com> wrote in message
news:hFiL8.4935$316.33...@newssvr13.news.prodigy.com...
Also runnning RH 6.0 (for now), and it seems that apache isnt running
automatically anymore, seemingly after this.

Thank again for any help... getting desperate here.


ken king

unread,
Jun 5, 2002, 11:13:32 AM6/5/02
to
Chris Jacobs wrote:

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


Chris Jacobs

unread,
Jun 5, 2002, 7:56:21 PM6/5/02
to

"ken king" <kenkin...@knology.net> wrote in message
news:3CFE2A9C...@knology.net...
Ok that touch command seemd to make the system do some sort of check on
the filesystem on reboot, and (yes I had rebooted before.) How ever I
still cannot login gnome on that account. I can on other accounts like
root, but I would like to get into mine. What's happening is after I
unser the name and pass it starts going in (the login is accepted), then
the screen flickers to a grayscale-like screen the looks like X windows
in monotone for a sec, then goes back to the login again. Basically
repeats the procedure it goes throuhg when X windows firsts starts on
boot. I hope tat helps.

(And I have managed to repair apache though)


Chris Jacobs

unread,
Jun 5, 2002, 8:23:32 PM6/5/02
to
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
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


innocent_lamb

unread,
Jun 5, 2002, 8:38:04 PM6/5/02
to
On Wed, 05 Jun 2002 18:23:32 -0600, Chris Jacobs wrote:


> 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.

Chris Jacobs

unread,
Jun 5, 2002, 10:56:51 PM6/5/02
to
"innocent_lamb" <nos...@example.com> wrote in message
news:pan.2002.06.06.00....@example.com...

No change :(


Tuan Nguyen

unread,
Jun 10, 2002, 2:12:13 PM6/10/02
to
Hi,

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).

0 new messages