Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ron Farrer <rbf@farrer.net>
To: axp-list@redhat.com
Subject: Re: Howto survive a frozen KDE session
Date: 21 Dec 1999 10:57:27 -0800
Date: Tue, 21 Dec 1999 10:57:27 -0800	[thread overview]
Message-ID: <19991221105726.C31816@toxic.magnesium.net> (raw)
In-Reply-To: <000301bf4bcc$d0dd5140$3301a8c0@ga.PrioritySoftware.com>

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


  reply	other threads:[~1999-12-21 18:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
1999-12-21 14:25   ` Edward Lukacs
1999-12-21 15:34 ` Chris Kloiber
1999-12-21 19:17   ` Wes Bauske
read-only archive

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