(SOLVED) - What to do when Linux 'freezes' ?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Pascal Illustrator

(SOLVED) - What to do when Linux 'freezes' ?

Post by Pascal Illustrator »

Hello,
It already happened that my mouse cursor and keyboard sudenly didn't responded in Linux Mint 19.1.
To solve this I use the reset button on my computer to reboot, but I think this isn't the best solution.
Are there better ways to get out of such a situation? And how?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
WiltshireJon
Level 2
Level 2
Posts: 85
Joined: Wed Nov 15, 2017 1:14 pm

Re: What to do when Linux 'freezes' ?

Post by WiltshireJon »

Press and hold down alt-prt scrn together.

While holding down these two keys slowly type r e i s u b in succession (ie one at a time maybe one second apart).

Should close everything and reboot.
Pascal Illustrator

Re: What to do when Linux 'freezes' ?

Post by Pascal Illustrator »

Thank you.
User avatar
Pierre
Level 21
Level 21
Posts: 13223
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: What to do when Linux 'freezes' ?

Post by Pierre »

you can also try using Ctrl - Alt - Backspace - - to restart the X graphical server.
- - which should dump you back to the Log-in Screen.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Pascal Illustrator

Re: What to do when Linux 'freezes' ?

Post by Pascal Illustrator »

Thank you.
decrepit
Level 5
Level 5
Posts: 858
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: What to do when Linux 'freezes' ?

Post by decrepit »

What even if the keyboard isn't working?

If you have no mouse and no keyboard, what do you have beside the reset button?
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: What to do when Linux 'freezes' ?

Post by Hoser Rob »

decrepit wrote: Wed Jul 17, 2019 5:29 am What even if the keyboard isn't working?

If you have no mouse and no keyboard, what do you have beside the reset button?
It is possible to lose mouse & KB input, but in Linux NEVER EVER hit the reset button. It's an excellent way to lose data. When desktop machines with reset buttons were more common, Linux geeks used to tape it over to prevent its use.

If ctl-alt-F1 doesn't get you to a TTY prompt it's best to hold down the power button until it shuts down.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Pascal Illustrator

Re: What to do when Linux 'freezes' ?

Post by Pascal Illustrator »

The keyboard is a Logitech K120 Azerty.
The mouse is a Logitech M110s
My screen is also an input device since it's a Wacom Cintiq and this has a pen.

Isn't using the power button worse than the reset button then?
What does TTY mean?
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: What to do when Linux 'freezes' ?

Post by Hoser Rob »

Pascal Illustrator wrote: Wed Jul 17, 2019 9:24 am Isn't using the power button worse than the reset button then?
NO. Absolutely not. NEVER use the reset button.
What does TTY mean?
Teletype, the screen would go black and you bet a prompt just like the terminal, and works the same except you have to relogin.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
User avatar
JoeFootball
Level 13
Level 13
Posts: 4673
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: What to do when Linux 'freezes' ?

Post by JoeFootball »

Just fyi, as an alternative to the above r e i s u b sequence is r e i s u o, where the b will reboot a system, and the o will shutoff a system. More info here and here.

I mention this because sometimes a reboot will not reset peripheral components because they're not powered down. After a scenario where I need to invoke the above, I want to bring everything up from a powered off state.

Joe
Pascal Illustrator

Re: What to do when Linux 'freezes' ?

Post by Pascal Illustrator »

Thank you.
User avatar
Pjotr
Level 24
Level 24
Posts: 20120
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: What to do when Linux 'freezes' ?

Post by Pjotr »

Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- make the terminal window full screen, to avoid chopped lines;
- Copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
(if you type: the letter F is a capital letter)

Press Enter.

Copy/paste the output in your next message.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
murray
Level 5
Level 5
Posts: 784
Joined: Tue Nov 27, 2018 4:22 pm
Location: Auckland, New Zealand

Re: What to do when Linux 'freezes' ?

Post by murray »

Pascal Illustrator wrote: Wed Jul 17, 2019 9:24 am The keyboard is a Logitech K120 Azerty.
The mouse is a Logitech M110s
I assume these are wireless and use a Logitech unifying receiver dongle plugged into a USB port? If so then try pulling the dongle out and reinserting it. I've had to do this a couple of times when my mouse and keyboard suddenly stopped working (or didn't work on power up) and it's always fixed my problem.
Running Mint 19.3 Cinnamon on an Intel NUC8i5BEH with 16GB RAM and 500GB SSD
decrepit
Level 5
Level 5
Posts: 858
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: What to do when Linux 'freezes' ?

Post by decrepit »

murray wrote: Thu Jul 18, 2019 10:07 pm >>>>>>>

I assume these are wireless and use a Logitech unifying receiver dongle plugged into a USB port? If so then try pulling the dongle out and reinserting it. I've had to do this a couple of times when my mouse and keyboard suddenly stopped working (or didn't work on power up) and it's always fixed my problem.
Why didn't I think of that, makes perfect sense.
Pascal Illustrator

Re: What to do when Linux 'freezes' ?

Post by Pascal Illustrator »

At this moment the cursor works fine. I only had to know what other things I could do instead of 'reset' in case of freezes.
I think I have enough information for now to continue. Thanks everybody.
Ps: The logitech K120 and M110s are with wire.
Locked

Return to “Beginner Questions”