[SOLVED] Computer sometimes does not turn itself off after shutdown
Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Computer sometimes does not turn itself off after shutdown
Linux Mint 20.2 Uma Cinnamon. Dell Inspiron 531.
When I click the shutdown button, usually the computer shuts down quite quickly and turns itself off.
But often it goes through the usual sequence, but does not turn itself off, instead having a black screen for several minutes until I press the computer power button to force it to power off.
What can I do to fix this?
Is here a log file I need to look at? Where would I find it?
Thanks.
Last edited by grumpyskeptic; 10-11-2021 at 02:26 PM.
There should a log you could check in /var/log. I'm not sure what Mint calls it, but it's likely "messages," "system," or "syslog."
For testing purposes, you might try sending the shutdown command from a terminal to see if that also fails to poweroff the machine. You will need to run this command with sudo.
Code:
shutdown now -h
Watch closely for any helpful messages.
See man shutdown for more.
Last edited by frankbell; 10-11-2021 at 08:02 PM.
Reason: clarity
forcing a shutdown:( edit\add: holding power) could cause problems?
Quote:
... A hard reboot is not a recommended technique because restarting a computer without OS support can result in data loss, incomplete installations and suspension and corruption of any processes that were running before the reboot. c...&
Is the BIOS up to date? E.g:
Code:
dmidecode
Post-script, don't post sensitive data.
When you're at the blank screen, does the [Esc] key show anything?
+
[Ctrl]+[Alt]+[F3] or so, may still help with a proper shutdown:
Code:
sudo shutdown now
then?
Last edited by jamison20000e; 10-11-2021 at 10:37 PM.
Reason: Added
When you're at the blank screen, does the [Esc] key show anything?
+
[Ctrl]+[Alt]+[F3] or so, may still help with a proper shutdown:
Code:
sudo shutdown now
then?
I have now re-instated the 60 second timer shutdown, where the computer shuts itself off after counting down 60 seconds. Now it powers down nearly all the time. Maybe I should alter it to 90 seconds to be on the safe side. Previously I had turned off the countdown and it would begin to shut-down immediately without waiting.
The last time I told it to restart, which does not include a countdown, it got as far as having a black screen with a white "-" or maybe a "_" at the top left corner.
The Escape key has no effect. Nothing is shown when typing on the keyboard.
Typing dmidecode into the console while it is running normally gives:
That's really strange. You nead superuser privileges to shut down your machine, but why do you also need superuser privileges to get information about your hardware?
I have found that it does not always shut-down even when using a 90 second count-down.
For the first 89 seconds it says "This system will be shut down in XX seconds" but for the last second it says ""This system will be automatically shut down in 1 second".
Last edited by grumpyskeptic; 04-26-2022 at 05:16 AM.
When the computer freezes during shutdown, this can occur either with a black screen with a "-" at the top left, or with the round Mint logo.
The latter happened this afternoon. As an experiment I left it for over an hour - when I returned the screen was exactly the same.
Sometimes before shutdown I see for a fraction of a second a quite large squarish pop-up window which lists three or four things, one of which may be darkly highlighted. I'd be interested to know what this is. It occurred this afternoon. It is too quick to see any more details.
I have tried CTRL-ALT-F3 on two or three occasions including this afternoon. Nothing happens, nothing appears on screen, there is no response. Pressing the escape key, or any other key or keys, gives the same result.
A few minutes ago I tried typing "shutdown now -h" in the console. It did not require sudo, and shut down amazingly quickly. It did not give any messages.
Last edited by grumpyskeptic; 04-29-2022 at 10:46 AM.
The computer now shuts down without any problem, and quickly. Nearly all the time.
I increased the RAM memory from 3GB to 4GB, and at the same time in the BIOS changed the default fast boot to a slow boot. Do not know which of these made the difference.
Before doing the above, my guess was that Firefox was the problem, as the computer would not shut down if I had recently used Firefox; and if I tried to restart Firefox immediately after shutting it down the computer would tell me that it was already running. After making the changes, neither of these things happen.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.