Questions tagged as ['shutdown']

For questions regarding shutting down and powering off.
Score: 1
Derech_Chaifa avatar
Is there any way of setting a custom startup and shutdown sound?
ru flag

I'm on Ubuntu 20.04.3 LTS with GNOME Desktop. I was wondering if you can have a custom sound play (the default one is nice, but I'd rather have a custom one) when you log into Ubuntu, as well as when you log out.

I've gotten a nostalgia rush from when I used to use Windows XP in 2008-ish on a Dell Optiflex with the Royale Noir theme for log on and the Windows Vista Beta 2 for logout, and genuinel ...

Score: 2
Ubuntu 20.04 not powering off
in flag

I have recently installed Ubuntu onto my old (early) 2008 Macbook.

I installed Ubuntu 18 and was all working fine, then I have updated my Ram to 4gb instead of the standard 1Gb.

After this I have updated to Ubuntu 20.04, all seems to be working as it should however, when I power off the machine, it will exit on the screen display with "Ubuntu" at the bottom center and not complete the power off... ...

Score: 0
dnaik avatar
Ubuntu is stuck on login screen with no input keys working, including power button
fr flag

I had a problem where ubuntu was restarting automatically after poweroff. I added

GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq quiet splash"

To /etc/default/grub according to this answer. After shutting down, it still rebooted, and now I'm stuck. I've tried long pressing the power key, pressing ctrl+alt+F3, but nothing works. Please help me.

Score: 2
RunRabbit avatar
Ubuntu Server 20.04 Keeps Shutting Down
mx flag

I'm fairly new to using ubuntu and brand new to using ubuntu server. I've been working on setting up a physical home server to run some basic tasks. I had the server up and running fine for a couple of days, but then I noticed I was having issues connecting to the server via ssh and then I discovered the server was actually off. I would turn it back on, and it would be fine and then about 45 mins later  ...

Score: 2
cookiemonster avatar
Shutdown on opening laptop lid due to acpi detecting high temperature
ru flag

I have ASUS ROG GL503E running ubuntu dual booted with windows. On Ubuntu almost always on opening my laptop lid acpi detects temperature to be 100 C and shuts down the machine, even though physically the machine is not warm at all. This only happens on Ubuntu and not on Windows. That is why I suspect this to be a software issue than a hardware one. Could this be due to an acpi bug? I also upgraded my B ...

Score: 0
Joseph Dalton avatar
System shuts off randomly when booting Ubuntu
co flag

I have a C246 mainboard with a Xeon CPU and ECC RAM. Using Ubuntu 20.04, the system randomly shuts off completely, as if power was lost.

At first, I suspected a HW problem. I switched the PSU, I swapped the mainboard (same model) and I ran MemTest to check RAM. The problem can occur when using a USB device (installer) or when installed to a disk. I tried installing Windows and never observed a sh ...

Score: 0
Chris Smallville avatar
Ubuntu 18.04 keep shut down itself and self rebooting after few seconds
cn flag

I have windows 8.1 hp pc, after I installed ubuntu 18.04 , dual boot mode

I faced problem with no grub menu showed itself , boot repair didnt help, bcdedit also didn't help

I'm booting to ubuntu using bios f9 choosing ubuntu from bios devices

When I use ubuntu, it keeps shut down randomly and reboot itself after few seconds , I didnt know how to solve this , and dont know root of the problem

May be it d ...

Score: 1
xproot avatar
My system is turning off by itself, I want to find any possible logs
ng flag

My Laptop (running Ubuntu 20.04.3 with Gnome DE) is turning off by itself, like, I'm playing a game then the screen gets black and then there's text basically indicating its shutting down (I don't have silent nor splash in my grub settings), I have heard my hard drive clicking so I'm scared those two are correlated, I've ran SMART tests but they say everything is fine. So I want to find the logs of when ...

Score: 1
Abhishek Kamal avatar
Slow shutdown in Kubuntu
pg flag

I just installed Kubuntu 21.04. I am using dual boot (Windows10 + Kubuntu). Kubutnu takes around 20 secs to shut down. Boot time is 3-4 seconds fast because of SSD. Problem is only with Kubuntu while shutdown. It takes long time.
For the solution, I go to this askUbtunu link, but I don't have sendsigs file in /etc/init.d/.

Why does it so ?

Score: 0
Ailike Counts avatar
Why hybrid sleep mode(systemctl hybrid-sleep) has default of shutting down?
ms flag

System Info

$ cat /etc/issue
Ubuntu 20.04.3 LTS \n \l

$ uname -r

From the official document shown on,

pm-suspend-hybrid Hybrid-suspend is the process where the system does everything it needs to hibernate, but suspends instead of shutting down. This means that your computer can wake up quicker than for normal hibernation ...

Score: 0
Bronislaw Wstep avatar
"you are in emergency mode" during first boot after power failure - how to avoid it?
us flag

For a few years I'm running Ubuntu on my home server. New thing this year in my area are short but frequent power grid outages.
After each such power failure my system is not booting to desktop, but to emergency mode.
A solution is simply to reboot the system by hitting the reset button - a bit inconvenient since the system is placed in obscure corner at the attic. It is even harder when I'm away... ;-) ...

Score: 1
wa11a avatar
My laptop automatically shuts down when I play CSGO
in flag

As the title says my laptop immediately shuts down when I enter CS:GO game.

I launch steam with "launch with dedicate graphic card" and play CS:GO from the library everything works fine in the lobby until I enter the game then my laptop shuts down.

Score: 0
J.Tho avatar
I was in the middle of an upgrade when I accidentaly pressed ctrl+c. I can no longer open a terminal and I cannot shut down with a GUI
io flag

As the title says I borked an upgrade. It paused for a moment to ask me something about gnome settings, and I pressed "D" for details, and then ctrl+c to try and get out of the output it gave.

Now I cannot open a terminal, nor can I shutdown through the GUI. Firefox is working fin though obviously. Alt+F2 also works, or at least the command window pops up

*What Should I do to keep my system working, ...

Score: 3
pixelpress avatar
ThinkPad X1 Gen. 9 does not shutdown with 20.04
lc flag

I've got a brand new ThinkPad X1 Carbon Gen. 9 with no pre-installed OS. After checking that Secure Boot is Off and OS Optimized Defaults are Disabled, I installed Ubuntu 20.04.3 LTS. If I try to shutdown the device, it shows a black screen but does not turn off. The only indicator is that the fans keep spinning. Even the power LED is Off. I waited up to one hour and did a force-shutdown several times b ...

Score: 2
Pawel W avatar
Ubuntu 20.04.3 LTS - power off button wont work
us flag

I have 20.04.3 upgraded from 20.04.1 and problem still exists:

When i click "power off" > "power off" > and confirm, after pressing the button the shutdown procedure don't start - i can wait and nothing. Next i click again power off and confirm and later it works and shutdown correctly.

The problem does not occur often, rather 2-3 times (out of 7) a week.

I looked for this issue but didnt find th ...

Score: 0
Mmm avatar
Ubuntu 21.04 Broke Passwordless SSH Shutdown
us flag

I recently had passwordless SSH shutdown and reboot working on Ubuntu 20.04, but after upgrading to Ubuntu 21.04 it no longer works.

I have key based authentication set up correctly, and can ssh into the Ubuntu 21.04 computer without a password. But my passwordless shutdown and reboot commands no longer work.

My /etc/sudoers file has the following as the last entry:


Score: 0
user10105455 avatar
ThinkPad Carbon X1 gen9 stuck on black screen when shut down
in flag

For the last 5 shut downs, my laptop has been going to black screen as if shut down (no keyboard light or anything), but the fans continue to run. Pushing on the power off button does not do anything and I am basically forced to wait for the laptop to run out of battery. There does not seem to be any specific error message popping.

I have a ThinkPad Carbon X1 gen 9 with Ubuntu 20.04 (dual boot wi ...

Score: 0
Epic Programmer avatar
Ubuntu started randomly segfaulting after force power off due to usage of RAM
in flag

So I accidentally ran a script which used up all of the RAM on my ubuntu system, and I had to force it to power off. When I rebooted the system, programs would randomly segfault, even though I changed nothing and they had never done this before. How would I fix my server so that these programs start working again? I've already tried reinstalling them via APT, but that doesn't seem to help.

Score: 1
Sebastian Seith avatar
20.04 with mdadm and lvm hangs on shutdown
cn flag

I have a server set up on 20.04 with two mdadm raids and lvm volumes put on top of those raid setups for /home on the first raid device and then /, /var and /tmp on the second raid device.

Any time I run a shutdown, reboot, poweroff or similar operation, the system runs through most of the shutdown sequence (including stopping the persistence of journal and shutdown logs) and then hangs after Shutd ...

Score: 0
5fingers avatar
Intel NUC10i7FNH shuts down after selecting Ubuntu in GNU GRUB version 2.04
cn flag

I'm a newbie to Linux. I installed Ubuntu LTS on my NUC10i7FNH and it seemed to go well (

When the NUC reboots it shows a GNU GRUB version 2.04 menu with three options - Ubuntu, Unbuntu (other options), Bios (I think).

If I select the 'Ubuntu' option the NUC shuts down after about 2 seconds and the following message is briefly displayed: /dev/nvme ...

Score: 0
CHI NEW avatar
When I restart or shutdown my Ubuntu (Dual system with Windows 10), the cursor flickers for a long time in the upper left corner of the black screen
it flag

I installed Ubuntu 20.04 on my PC(Windows 10), now a dual system.
When I shut down or restart from Ubuntu, the cursor (like this " | ") flickers for a long time in the upper left corner of the black screen background.
How can I solve it? I need your help. Many thanks!

Score: 1
Aashish Sharma avatar
Why Ubuntu got freezes unexpectedly?
cv flag

I have installed fresh Ubuntu 20.04.2 LTS as a primary os. After running it, It got freezes several times and even the mouse crusor doesn't respond and sometimes it got reboot and sometimes I have to press power button to shut it down. It doesn't respond until I manually shut it down and start my pc again and Here's my PC specification

  • Memory - 2GB
  • Processor - Intel® Pentium(R) CPU B960 @ 2.20GHz * ...
Score: 0
Schedule shutdown / startup every day Ubuntu 20.04
sy flag

i search for a Solution for the Ubuntu 20.04. Server, how can i shutdown at 23:00 (11pm) and startup at 7:00 (7am) o'clock?

WOL is aktive in the BIOS. ethtool is install. The eth is "enp5s0"

and I have some Docker Service running on the Server. Is that okay, the Linux Server "shutdown now" ? or i need to stop the Service? In Windows10 you close first the Programm, and then you shutdown the Computer. ...

Score: 0
flora15 avatar
How to automatically take a screenshot right before the computer shutdown?
kr flag

I'm on Ubuntu 20.04 and I would like to know if there is a software or a script that will take automatically a screenshot of the actual page just before the PC shutdown itself.For example if I have Firefox open and the PC battery reach 0% it must take a screenshot and store it in images before it switches off.Thank you in advance for your help.

Score: 0
Satyam Jha avatar
Issue with shutdown and restart in Xubuntu
cn flag

I have recently installed Xubuntu because my Windows 10 was consuming too much RAM and Xubuntu is just amazing but now whenever I press shut down, it starts shutting down and when it gets totally blank, the Xubuntu shutting down screen again appears and and freezes

Frozen screen

It remains frozen for 1-2 minutes and then completely shuts down. Same problem happens with restarting also.

Is there any solution to f ...

Score: 7
Bea avatar
I can't boot Ubuntu anymore
ke flag

I have been using Ubuntu as my sole operating system on my Dell computer since 3 years. The battery pack of my computer is not working anymore, and in the past month my computer has been taken off the electric grid without closing down properly quite a number of times (I was staying with elderly family members who on multiple occasions just unplugged the device when they needed the plug). Recently I sta ...

Score: 1
Ubuntu 20.04 – running script at shutdown/restart
pe flag

I’m trying to run a script at shutdown and reboot without success. I have a script to run as root at startup and it works just fine: stored the script in /etc/init.d, created a link to it in /etc/rc2.d starting with S99 and make it executable. After some research I did the same with the shutdown script creating the links in /etc/rc0.d and /etc/rc6.d, making it executable and starting links name with â ...

Score: 0
AmyAzure06 avatar
How can I edit or remove a grub menu entry while booted off a live usb?
ng flag

I messed up and tried adding a grub menu entry to shutdown the computer using the "halt" command. I accidentally put the "halt" command outside the menu entry 'tags' and now the computer starts to boot and after post immediately shuts down again. From my understanding what is happening is grub is booting and running the script with my shutdown menu entry and just running the halt command as it is outsid ...

Score: 0
Kevin Berry avatar
How do I fix "Failed to unmount /oldroot..." errors when shutting down?
cn flag

How do I fix "Failed to unmount /oldroot..." errors when shutting down?

I'm on Ubuntu 20.04 latest updates. My boot partition is formatted "W95 FAT32 (Bootable)" in case this has anything to do with the problem.

Failed to unmount /oldroot: Device or resource busy
Failed to unmount /oldroot/dev/pts: Device or resource busy
Failed to unmount /oldroot/dev: Device or resource busy
Failed to finalize file  ...
Score: 0
Detect cause for random boot and shutdown issues
pk flag

I have some random issues related to booting and shutting down Ubuntu 18.04.

  • Shut down freezes

  • Shut down takes up to 30 minutes

  • Booting works but freezes after password entering Booting freezes at the pure purple screen

  • Booting works but drive is in read only mode

Maybe related: I had an error a few days ago where I needed to set fsck manually on boot that I fixed with (initramfs) fsck /dev/s ...