question on kernel
how can i give commands to the kernel if linux freezes?
i have the problem that KDE sometimes hangs and the system freezes after that.
how can i shutdown the system savely or at least umount all the harddrives so that i get no damage to the file system?
thx in advance
Have you tried ctrl-alt backspace to kill X? If it freezes beyond that try some other stuff, alt f4's and whatever you can think to kill KDE processes or whatever to unfreeze it.
nothing helped but the reset button
You have to have MAGIC_SYSRQ turned on in your kernel config file. (I hope you have at least kernel 2.6, i you don't go and download the latest ver, here's the link: www.kernel.org. And be sure to read file:Documentation/sysrq.txt first!!
If the entire system is not locked up, you can ssh in, su and kill the rogue process. I've had to do this many a time before...I love ssh. :wink:
thx for yout tips
sysrq was what i was looking for.
@sarumont: can you please tell me how to ssh into the system?
First off, you'll have to know the IP of the computer and have another box that can access that computer on the LAN. Then, install openssh. You can change your settings in /etc/ssh/sshd_config. I recommend adding the line (or uncommenting):
This is probably the best thing you can do to secure your ssh server. :wink:
Now just run sshd and blam! You're good to go! If you need a Windex ssh client, just google for putty and that's your guy. From a *nix box, just ssh user@IP. 8)