After taking a walk and visiting The Railway Museum in Saitama I was writing a new blog post and suddenly my Debian 13 froze completely. No keyboard,mouse, track pad! After investigating about Debian 13 frozen reasons I found something that worked for me.

This was the first time a Linux machine freezes on me. I’m used to this happening a lot when I used Windows long time ago. The below are the things I tried for resolving the Debian 13 frozen state.

Restart the Graphical Desktop

GNOME Shell restart:

Press Alt + F2, type r and press Enter. Or run killall -3 gnome-shell from a shell if you can.

Restart the display manager:

Try to switch to a virtual console using Ctrl + Alt + F3 (or F1-F6 combinations). Login and try to restart your display manager:
For GNOME try: sudo systemctl restart gdm3
For LightDM: sudo systemctl restart lightdm
For SDDM: sudo systemctl restart sddm

Use a Virtual Console(TTY) to Kill a Bad App

Press CTRL + Alt + F3 (or try F1 to F6 to see what works for you) to open a text-based virtual console. Login and try to run top to find the Debian 13 frozen application.

Find the process ID (PID) of the bad app and kill it:

Graceful stop: kill <PID>
Forcefull stop: kill -9 <PID>

If that worked, switch back to your graphical session using Ctrl + Alt + F7 (or F8, all depends on your setup).

The Magic SysRq Key (Safe Emergency Reboot) This worked for me!

Hold down the Alt + SysRq (this one is the Print Screen key-I’m not sure why it is referred like this).

While holding Alt + SysRq(Print Screen key), slowly type the following key sequence:

R > E > I > S > U > B

This safely unraws the keyboard, terminates tasks, syncs data, unmounts filesystems and reboots the machine. In my case I had to the the left side Alt key + Print Screen key combinations. This was the first time I tried this. It rebooted my system without losing any work.

If none of the above work for you, sadly you will need to use the power button and do a hard reboot.

As usual you can contact me if you have any questions. Also, consider supporting me by grabbing one of my designs from my ITPro Helper shop. I’m adding three of my favorite designs below. Let me know what you think. Thanks!

Leave a comment

Your email address will not be published. Required fields are marked *