Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Howto survive a frozen KDE session
  1999-12-21  6:47 Howto survive a frozen KDE session Michael Rich
@ 1999-12-21  6:45 ` mgraffam
  1999-12-21  7:02   ` Michael Rich
  1999-12-21 14:25   ` Edward Lukacs
  1999-12-21 15:34 ` Chris Kloiber
  1 sibling, 2 replies; 10+ messages in thread
From: mgraffam @ 1999-12-21  6:45 UTC (permalink / raw)
  To: axp-list

On Tue, 21 Dec 1999, Michael Rich wrote:

> Is there a way to kill the X-server stuff and get back to command prompt, or
> is my only hope to hit the reset button?

Does control-alt-backspace work? 

If not, you'd have to login from a remote machine or terminal and kill
it manually. 

Michael J. Graffam (mgraffam@idsi.net)


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Howto survive a frozen KDE session
@ 1999-12-21  6:47 Michael Rich
  1999-12-21  6:45 ` mgraffam
  1999-12-21 15:34 ` Chris Kloiber
  0 siblings, 2 replies; 10+ messages in thread
From: Michael Rich @ 1999-12-21  6:47 UTC (permalink / raw)
  To: axp-list

Any tips on how to get out of a frozen KDE session?  I've tried all the
shortcut keys to try to get to a command prompt, but nothing seems to be
working, the caps lock won't even come on.  All this because I tried to open
the GNOME menu from the little start menu thing.  Won't try that again.

Is there a way to kill the X-server stuff and get back to command prompt, or
is my only hope to hit the reset button?

Michael Rich
http://alphax86dev.cjb.net
http://www.cdx.sk/userwebs/zdrpg


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Howto survive a frozen KDE session
  1999-12-21  6:45 ` mgraffam
@ 1999-12-21  7:02   ` Michael Rich
  1999-12-21  7:12     ` mgraffam
  1999-12-21 12:20     ` hansel
  1999-12-21 14:25   ` Edward Lukacs
  1 sibling, 2 replies; 10+ messages in thread
From: Michael Rich @ 1999-12-21  7:02 UTC (permalink / raw)
  To: axp-list

> Does control-alt-backspace work?

No, the keyboard is totally frozen, won't accept any keyboard input.

> If not, you'd have to login from a remote machine or terminal and kill
> it manually.

YES!  i was able to finally get a telnet session and then was able to su to
root permissions and force a reboot!  Looks like telnet is suffering the
same long delay before it connects like the FTP server is doing.  sucks.

mike


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Howto survive a frozen KDE session
  1999-12-21  7:02   ` Michael Rich
@ 1999-12-21  7:12     ` mgraffam
  1999-12-21 12:20     ` hansel
  1 sibling, 0 replies; 10+ messages in thread
From: mgraffam @ 1999-12-21  7:12 UTC (permalink / raw)
  To: axp-list

On Tue, 21 Dec 1999, Michael Rich wrote:

> > Does control-alt-backspace work?
> 
> No, the keyboard is totally frozen, won't accept any keyboard input.

That sucks. I've never had that happan on my Alpha (knock knock) but
dead consoles were pretty common for my on x86 w/ DosEmu and X.

My hack to take care of this was a hardware mod (one of the clearest
indicators that you have an ugly hack is when you fix software with
hardware :) ... 

I set an output pin on the parallel port high, and ran this pin to
one lead on my turbo switch, and ran the other lead to an input pin.

Then I just wrote some code that occasionally checks that input pin. If
it is high, we know I depressed the turbo button, so it ran some scripts
that tried to clean up the console. Sometimes the clean up worked, some
times it was so munged that killing X and/or DosEmu didn't fix it up.

In that case, I hit the reset button on my machine which was similarly
rigged to another pin -- when this pin is high, we run reboot.

It was a nice little project .. and it worked pretty good. But it was
the ugliest damn hack I've ever seen. 

Michael J. Graffam (mgraffam@idsi.net)
Be a munitions trafficker: http://www.dcs.ex.ac.uk/~aba/rsa/rsa-keygen.html

#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Howto survive a frozen KDE session
  1999-12-21  7:02   ` Michael Rich
  1999-12-21  7:12     ` mgraffam
@ 1999-12-21 12:20     ` hansel
  1999-12-21 16:02       ` Michael Rich
  1 sibling, 1 reply; 10+ messages in thread
From: hansel @ 1999-12-21 12:20 UTC (permalink / raw)
  To: axp-list

On Tue, 21 Dec 1999, Michael Rich wrote:

>> Does control-alt-backspace work?
>
>No, the keyboard is totally frozen, won't accept any keyboard input.
>
>> If not, you'd have to login from a remote machine or terminal and kill
>> it manually.
>
>YES!  i was able to finally get a telnet session and then was able to su to
>root permissions and force a reboot!  Looks like telnet is suffering the
>same long delay before it connects like the FTP server is doing.  sucks.

This is too drastic. You should be able to kill X only. (su, get the X
pid, kill that pid). Of the 8 or 10 times this has happened to me (far too
often for such a critical piece of software), only once has the OS been
telnet inaccessible - that recovery required a hard reset.

Mark Hansel
PO Box 41
Moorhead State University
Moorhead, MN 56563
ph: 218-236-2039 fax: 218-236-2593
email: hansel@mhd1.moorhead.msus.edu



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Howto survive a frozen KDE session
  1999-12-21  6:45 ` mgraffam
  1999-12-21  7:02   ` Michael Rich
@ 1999-12-21 14:25   ` Edward Lukacs
  1 sibling, 0 replies; 10+ messages in thread
From: Edward Lukacs @ 1999-12-21 14:25 UTC (permalink / raw)
  To: axp-list

I had the same trouble, until I remembered the "pre-X"
<CTRL-ALT-F2> to bring up another text-only console.  It
crashes KDE bigtime, but then hey, ya wanna make an omelete...
;-)

Ed Lukacs

> 
> On Tue, 21 Dec 1999, Michael Rich wrote:
> 
> > Is there a way to kill the X-server stuff and get back to command prompt, or
> > is my only hope to hit the reset button?
> 
> Does control-alt-backspace work? 
> 
> If not, you'd have to login from a remote machine or terminal and kill
> it manually. 
> 
> Michael J. Graffam (mgraffam@idsi.net)
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 


--

    _/_/_/_/   _/_/    _/  _/   | Edward M. Lukacs  
   _/         _/ _/ _/_/  _/    | US Naval Observatory
  _/_/_/     _/  _/  _/  _/     | 3450 Massachusetts Avenue, NW 
 _/         _/      _/  _/      | Washington, DC 20007
_/_/_/_/   _/      _/  _/_/_/_/ | Phone: 202-762-0291 DSN: 762-0291



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Howto survive a frozen KDE session
  1999-12-21  6:47 Howto survive a frozen KDE session Michael Rich
  1999-12-21  6:45 ` mgraffam
@ 1999-12-21 15:34 ` Chris Kloiber
  1999-12-21 19:17   ` Wes Bauske
  1 sibling, 1 reply; 10+ messages in thread
From: Chris Kloiber @ 1999-12-21 15:34 UTC (permalink / raw)
  To: axp-list

Michael Rich wrote:
> 
> Any tips on how to get out of a frozen KDE session?  I've tried all the
> shortcut keys to try to get to a command prompt, but nothing seems to be
> working, the caps lock won't even come on.  All this because I tried to open
> the GNOME menu from the little start menu thing.  Won't try that again.
> 
> Is there a way to kill the X-server stuff and get back to command prompt, or
> is my only hope to hit the reset button?
> 
> Michael Rich
> http://alphax86dev.cjb.net
> http://www.cdx.sk/userwebs/zdrpg

If you can't get to virtual terminals or Control-Alt-Backspace, and the
CapsLock doesn't even come on, you seem to be in the deep freeze. Can
you telnet into the box and halt from there? (unlikely, but worth a
shot).

Chris Kloiber


^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Howto survive a frozen KDE session
  1999-12-21 12:20     ` hansel
@ 1999-12-21 16:02       ` Michael Rich
  1999-12-21 18:57         ` Ron Farrer
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Rich @ 1999-12-21 16:02 UTC (permalink / raw)
  To: axp-list

> This is too drastic. You should be able to kill X only. (su, get the X
> pid, kill that pid). Of the 8 or 10 times this has happened
> to me (far too
> often for such a critical piece of software), only once has
> the OS been
> telnet inaccessible - that recovery required a hard reset.

Appears from everyone's comments this was a harsh thing to do, but as of yet
i don't know the full suite of commands that are available to me under
Linux, so I didn't know how to kill a specific process, i only knew that
reboot would solve my problem the old fashion way.

Thanks to everyone for the help with this.

mike


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Howto survive a frozen KDE session
  1999-12-21 16:02       ` Michael Rich
@ 1999-12-21 18:57         ` Ron Farrer
  0 siblings, 0 replies; 10+ messages in thread
From: Ron Farrer @ 1999-12-21 18:57 UTC (permalink / raw)
  To: axp-list

Michael Rich (istan@alltel.net) wrote:

> Appears from everyone's comments this was a harsh thing to do, but as of yet
> i don't know the full suite of commands that are available to me under
> Linux, so I didn't know how to kill a specific process, i only knew that
> reboot would solve my problem the old fashion way.

In case it happens again, you want to:
telnet in
su root
ps aux|grep X
kill -9 PID

[PID = X's Process ID number] 

Example:
# ps aux|grep X
root       308  0.0  0.1  6120  120 ?        S    Dec18   0:00
/usr/bin/X11/xfs
root       392  2.4 19.4 38152 11816 ?       S    Dec18  98:17
/usr/bin/X11/X vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-PaOtWb
rbf        467  0.0  3.5 22208 2160 ?        S    Dec18   2:55
/usr/bin/X11/WindowMaker
rbf        494  0.0  0.2 13152  152 ?        S    Dec18   0:00
/usr/bin/ssh-agent /usr/bin/X11/fvwm95
rbf      25164  0.0  1.3  2968  824 pts/0    S    10:22   0:00 grep X

# kill -9 392

[also note that if you are running X from a display manager it will now
be restarted. If you don't want this you'll need to kill the display
manager instead. I use xdm.] 

# ps aux|grep xdm
root       396  0.0  0.0 16824    0 ?        SW   Dec18   0:00 [xdm]
rbf      25166  3.0  1.3  2968  824 pts/0    S    10:29   0:00 grep xdm

# kill -9 396

[then to start X again you would type 'xdm' or whatever the name of your
display manager is.] 

If someone finds a mistake in any of that, feel free to correct me! 



HTH,

Ron
-- 
===========================
=  Ronald Burnett Farrer  =
===========================
= <mailto:rbf@farrer.net> =
= <http://www.farrer.net> =
===========================
|||||||||||||||||||||||||||||||
|    Alpha Linux Powered!     |
| <http://www.alphalinux.org> |
||||||||||||||||||||||||||||||| 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Howto survive a frozen KDE session
  1999-12-21 15:34 ` Chris Kloiber
@ 1999-12-21 19:17   ` Wes Bauske
  0 siblings, 0 replies; 10+ messages in thread
From: Wes Bauske @ 1999-12-21 19:17 UTC (permalink / raw)
  To: axp-list

Chris Kloiber wrote:
> 
> Michael Rich wrote:
> >
> > Any tips on how to get out of a frozen KDE session?  I've tried all the
> > shortcut keys to try to get to a command prompt, but nothing seems to be
> > working, the caps lock won't even come on.  All this because I tried to open
> > the GNOME menu from the little start menu thing.  Won't try that again.
> >
> > Is there a way to kill the X-server stuff and get back to command prompt, or
> > is my only hope to hit the reset button?
> >
> > Michael Rich
> > http://alphax86dev.cjb.net
> > http://www.cdx.sk/userwebs/zdrpg
> 
> If you can't get to virtual terminals or Control-Alt-Backspace, and the
> CapsLock doesn't even come on, you seem to be in the deep freeze. Can
> you telnet into the box and halt from there? (unlikely, but worth a
> shot).
> 

One thing to try if your keyboard stops responding is to
unplug it and then plug it back in. I find my keyboard
occasionally hosed using my KVM switch and unplug/replug
clears it up. Not pretty, but it works...


Wes


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-12-21 19:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-21  6:47 Howto survive a frozen KDE session Michael Rich
1999-12-21  6:45 ` mgraffam
1999-12-21  7:02   ` Michael Rich
1999-12-21  7:12     ` mgraffam
1999-12-21 12:20     ` hansel
1999-12-21 16:02       ` Michael Rich
1999-12-21 18:57         ` Ron Farrer
1999-12-21 14:25   ` Edward Lukacs
1999-12-21 15:34 ` Chris Kloiber
1999-12-21 19:17   ` Wes Bauske

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox