If you can SSH in, I wonder if you can just give it an init 3, and if it works, init 5?
Here is a question that has been bugging me. Sometimes KDS locks up tight on me. It locks up the keyboard, mouse everything. But! I am able to SSH into it from another machine. My problem is this, what process do I kill to either a)Kill the XSession, or b)Kill the users shell.
I tried kill -9 on every process/services that was associated with the user that is logged in with the locked KDE session, but nothing seemed to boot them. I even tried killing their bash instance, but that still wouldn't unlock it. Finally I got fed up and just rebooted the computer. Everything is working fine now.
Any ideas?
If you can SSH in, I wonder if you can just give it an init 3, and if it works, init 5?
What login session are you using ? if you're using xdm, then just
> /etc/init.d/xdm restart
If you're using kdmit's
< /etc/init.d/kdm restart
Else:
> kill `pidof X`
Btw, root is the true owner of the X execution.
// edit
> ps auxf | grep -A 3 -B 3 user
will show how/where the users shell is spawned from, if everything else fails and you want to kill their shell.
Last edited by redhead; 03-24-2006 at 09:09 PM.
Don't worry Ma'am. We're university students, - We know what We're doing.
'Ruiat coelum, fiat voluntas tua.'Datalogi - en livsstil; Intet liv, ingen stil.
Heh, I totally forgot to try killing/restarting KDM. That would probably do it. I knew I was forgetting something really basic. Thanks redhead.
Bookmarks