Questions tagged [shutdown]

For questions regarding shutting down and powering off.

Filter by
Sorted by
Tagged with
40 votes
2 answers
57k views

Execute a script upon logout/reboot/shutdown in Ubuntu

I'd like to run a .sh file using bash on logout and shutdown of Ubuntu. I have searched up and down the web and have found only fixes for KDE and GNOME. The script is simple, I just need to know if I ...
DirtyDenimDan's user avatar
106 votes
9 answers
311k views

Ubuntu 16.04 hangs on shutdown/restart

My Ubuntu 16.04 hangs on shutdown/restart requiring me to press and hold the power key to turn the machine off... I don't know how to report this as a bug and what commands to run to show the ...
Tdenham's user avatar
  • 1,061
961 votes
5 answers
2.7m views

How do I shut down or reboot from a terminal?

How can I shut down or reboot Ubuntu using terminal commands?
Raja G's user avatar
  • 102k
55 votes
9 answers
68k views

How can I make shutdown not require admin password?

If more than one person is logged in on my computer, Ubuntu requires super user authentication when shutting down the computer. How can I make it so that any user can shutdown the computer without ...
Isaiah's user avatar
  • 59.4k
25 votes
2 answers
56k views

Lost power during upgrade, how do I recover?

I was attempting to update my 11.10 install to 12.04beta. During the install step, I accidentally lost power to my laptop (the power cable came unplugged) and it shut down. Whenever I go to boot now, ...
Ryan McClure's user avatar
  • 6,021
103 votes
5 answers
342k views

Why doesn't running "sudo shutdown now" shut down?

When I issue the following: sudo shutdown now ..my newly commissioned Ubuntu 14.04 server doesn't shut down. It stops with the following message: * Stopping System V runlevel compatibility Give ...
Jon Cage's user avatar
  • 1,133
59 votes
6 answers
144k views

Shutdown from terminal without entering password?

I have desktop edition of Ubuntu. I like the Terminal so that that I prefer to shutdown my computer with the shutdown command. However when I type shutdown now it prompts me to enter my password.Is ...
Santosh Kumar's user avatar
30 votes
5 answers
123k views

Execute command before shutdown/reboot [duplicate]

I have a machine running a couple of vagrant VM. The problem I have is that sometimes I forget to shutdown those VM before I shutdown or reboot my machine. Because of that my machine get stuck with ...
SERPRO's user avatar
  • 489
17 votes
4 answers
45k views

How to disable shutdown/reboot/suspend/hibernate?

I have an Ubuntu 10.04 LTS Desktop PC with GNOME. How can I fully disable the reboot/shutdown/suspend/hibernate functions in GNOME or even with root? So that the root gives out the "reboot" or "pm-...
LanceBaynes's user avatar
  • 1,055
28 votes
7 answers
83k views

Stuck on reboot and shutdown

I've recently installed Ubuntu 12.04 and I love it. However I have one problem- I am unable to shutdown or reboot properly. When I shutdown my laptop (Acer Aspire 5560) it hangs on the 5 dots and ...
Max Beer's user avatar
  • 281
77 votes
19 answers
302k views

Shut down computer from keyboard

Is there a keyboard shortcut available to shutdown the computer? I know I can use the Power button, but I would like to be able to it from the keyboard. If such a shortcut does not exist already, ...
umpirsky's user avatar
  • 4,060
17 votes
1 answer
12k views

What command is executed when shutdown from the graphical menu in 14.04?

I understand that clicking "shut down" from the menu that comes up on clicking the cogwheel triggers the following command to be executed: dbus-send --system --print-reply --dest=org.freedesktop.Hal /...
jobin's user avatar
  • 27.7k
15 votes
10 answers
55k views

Ubuntu 14.04 stuck on shutdown

When I try to shut down my computer, it hangs at the shutdown screen and these are the only lines I can see: wait-for-state stop/waiting Stoping GNUstep distributed object mapper: gdomap. * Stopping ...
user313246's user avatar
34 votes
2 answers
50k views

Where is the shutdown log?

I am trying to debug a hang during shutdown and I don't find where the messages that I see during shutdown are being stored. They aren't in /var/log/syslog
Óscar's user avatar
  • 1,006
19 votes
3 answers
34k views

Why can't I restart/shutdown?

When I shutdown/restart get a black (shell-like) full-screen with some large text saying stuff like: ubuntu 10.10 [129.171175] Restarting system. eco nds ... [OK] ... Unmounting weak filesystems ... ...
David B's user avatar
  • 11.1k
12 votes
10 answers
59k views

Why do I get a reboot instead of a shutdown?

After two days of installation, strangely my Ubuntu machine is restarting instead of shutdown from both desktop GUI and command line. sudo shutdown -h now sudo halt # (doesn't shutdown, instead ...
RameshKatkam's user avatar
7 votes
3 answers
21k views

kworker blocked for more than 120 seconds Ubuntu 17.10

I decided to upgrade to 17.10 on my Thinkpad. Now every time I try to shut it down via console or menu) or reboot it, it takes ages. TTY gives me several errors connected to hung_task_timeout_secs, ...
Dappel's user avatar
  • 71
59 votes
7 answers
93k views

How can I automatically shutdown the system after a specific time?

How can I automatically shutdown the system after a certain customizable time?
NES's user avatar
  • 33.2k
24 votes
3 answers
22k views

How to troubleshoot slow shutdown?

When I shutdown my computer there is some annoying delay, it takes about 5-10 seconds in 13.10 when in the previous version it was almost instantaneous. During shutdown I press escape to cancel the ...
wim's user avatar
  • 12.7k
10 votes
3 answers
11k views

Power Off button is gone on Ubuntu 20.04 LTS

I recently installed Ubuntu 20.04 LTS on my laptop and I noticed that I no longer have the Power Off button but rather a menu that I need to click on and then I need to click on Power Off... and then ...
F. Gil's user avatar
  • 158
14 votes
2 answers
2k views

One click shutdown Ubuntu and load into alternative bootup

I have a dual boot system with Ubuntu 11.04 and Windows 7. My GRUB bootloader defaults to Ubuntu. I mainly use Ubuntu, but I occasionally need to bootup Windows to do a few things. If I need to do ...
Jeromy Anglim's user avatar
6 votes
2 answers
7k views

Why does my screen blank out for the duration of the Grub boot menu?

Upon booting, when I should see the GRUB menu, my monitor simply says: "No optimum mode. Recommended mode: 1600*1200". If I wait for a short while, Ubuntu starts to boot and it reaches the desktop. ...
hushshsh's user avatar
  • 303
17 votes
6 answers
31k views

Reboot after shutdown (Ubuntu 14.04 (also 12.04); Dell latitude E7440)

I have a rather serious shutdown/reboot issue with my Ubuntu OS on my brand new Dell latitude E7440 netbook. The issue does not seem to depend on the OS version: it occurs with 12.04, 13.10 and now ...
Kees's user avatar
  • 173
13 votes
11 answers
46k views

system does not power off on "poweroff", just halts

I've installed Xubuntu 15.04 on a Lenovo IdeaCentre A740 QHD with a Haswell CPU (BIOS revision 00KT19AUS) and NVIDIA GeForce GTX 850A 2GB. It's mostly working, except when I do a shutdown or reboot, ...
unhammer's user avatar
  • 2,271
12 votes
4 answers
6k views

I can't shut down nor reboot without console

After update from 11.04 to 11.10 an wired conduct appears in my machine: Shutdown GUI methods (including reboot) cause only a log off, and in the login screen, shutdown nor reboot options do anything ...
jgomo3's user avatar
  • 716
4 votes
4 answers
14k views

Dell Studio 1569 Cannot Shutdown in Ubuntu 11.10 or 12.04

I have not tried a version of Ubuntu prior to 11.10 on my machine. The laptop will not shut down or restart. Shutting down causes it to pause at "Will now Halt", where upon it sits until the battery ...
user55397's user avatar
31 votes
2 answers
36k views

How do I find the last logged system boot and shutdown times?

I'm a Rails developer working on a web application on Ubuntu Server 10.04. Due to internal requirements, I was asked to find the last 10 system boot and shutdown times... I have no clue where to find ...
Selvakumar's user avatar
18 votes
5 answers
10k views

How to make /sbin/shutdown, /sbin/reboot etc. require sudo again in 16.04?

For whatever reason, we do no longer need to be root (or using sudo) to run /sbin/shutdown, /sbin/reboot etc. This seems to be because those executables are now symlinks to /bin/systemctl which ...
Byte Commander's user avatar
  • 108k
16 votes
4 answers
4k views

How resilient is Ubuntu to repeated "power-off" shutdowns?

My company is considering the use of Ubuntu as an OS for use on a hardware device. It would be installed on compact flash drive - apparently this is not standard flash drive but a specific type of ...
mathematician1975's user avatar
10 votes
8 answers
34k views

Ubuntu 16 reboots seconds after shutdown

I've just updated my ubuntu 15 to ubuntu 16. Now, every time I shutdown, the computer reboots after a few seconds! I've already googled for solutions but nothing worked. My computer is a HP probook ...
soap's user avatar
  • 395
69 votes
7 answers
90k views

Slow shutdown on Ubuntu 16.04 LTS (Stopping thermal daemon/running fit make remote CUPS printers)

After a clean install of Ubuntu 16.04 LTS, I am experiencing very slow shutdowns compared with 15.10. There seems to be one of two processes that hang upon shutdown. Startup is not affected at all. ...
ijustupdatednowwhat's user avatar
65 votes
6 answers
37k views

Why do we need to be root in terminal for shutdown and restart?

When we install/remove/update packages or make any changes which require administrative privileges we are prompted for the password of admin user who has the sudo privileges - this happens both via ...
Aditya's user avatar
  • 13.4k
49 votes
21 answers
102k views

Ubuntu 18.04 stuck at shutdown

I am having this weird problem in Ubuntu 18.04. My laptop gets stuck at the shutdown screen every time I use shutdown and I have to manually press the power button for 5 seconds to turn the machine ...
Peter's user avatar
  • 815
31 votes
7 answers
86k views

Scheduling StartUp and ShutDown

I use Torrents often, so I need to know how to make my computer start up and shut down automatically, Wi-Fi is switched on at six in the morning in my hotel and switched off at two AM. (I am able to ...
kernel_panic's user avatar
  • 11.7k
24 votes
4 answers
9k views

Ubuntu shuts down instead of suspending

I have a Dell XPS 13 running Ubuntu 16.04. Over the last weekend, I've noticed that this laptop will shut down instead of suspending - whether it's a result of the lid closing or manually hitting ...
Yitz Deng's user avatar
  • 241
24 votes
1 answer
42k views

[Dual system, Ubuntu 20.04]nvidia-gpu: i2c timeout error; ucsi_ccg: i2c_transfer failed -110, ucsi_ccg_init failed

I have been tortured by a tiny bug for a long time. Now I really hope to fix it. They only shows when I boot/turn off my computer, although it doesn't influence anything. when I boot my pc, it ...
GuoLY96's user avatar
  • 341
23 votes
5 answers
7k views

Does Hard reboot damage my Ubuntu

Some times my laptop gets stuck due to excessive usage of RAM when I open bulky applications. So if it does not respond I shut down the laptop using the power button. Does this damage Ubuntu in any ...
M.Tarun's user avatar
  • 5,001
22 votes
3 answers
2k views

Prevent Ubuntu from shutdown before background automatic updates complete

I have installed a (x)Ubuntu 14.04 on a friend's PC. Automatic updates are set to "download and automatic install updates". The problem is that, after some months of use, he unknowingly shuts down ...
Giannis's user avatar
  • 476
15 votes
2 answers
24k views

How to see what's going on during shutdown

Since a few weeks, Ubuntu freezes almost everytime when I shut it down. I know it because the shutdown animation stops and nothing is responsive: Ctrl+Alt+Del or AltGr+Syst+reisub don't make any ...
Huygens's user avatar
  • 4,713
10 votes
3 answers
7k views

Shutdown button only logs out ubuntu 15.04

Since i upgraded to Ubuntu 15.04, if i click on the shutdown button it only logs out and i have to click again on the shutdown button (from the ubuntu login screen) to power off the pc. How can i fix ...
Hugo Andrade's user avatar
8 votes
2 answers
18k views

ubuntu won't shutdown or freezes at splash screen

I am using ubuntu 14.04 64 bit. The problem I am facing is, I can not shutdown my machine. Every time I shutdown or reboot the computer (both from terminal and GUI) it get stuck at boot splash screen ...
salmanwahed's user avatar
7 votes
4 answers
23k views

Ubuntu 22.04 stuck at shutdown

I am having this weird problem in Ubuntu 22.04. My laptop gets stuck at the shutdown screen every time I use shutdown and I have to manually press the power button for 5 seconds to turn the machine ...
saroven's user avatar
  • 71
6 votes
6 answers
46k views

Shutdown and User button missing in panel

I faced with a problem after update, I missed 2 buttons from above panel, System menu (including shutdown, suspend & …) and User (including log out & …) how can I restore them !?...
h.shaterian's user avatar
5 votes
2 answers
4k views

What is the shutdown command?

I want to create a shutdown icon for the launcher in 13.04. In former versions of Ubuntu I used this desktop file and put it in the launcher: .local/share/applications/indicator-session-shutdown....
Ralf Hersel's user avatar
  • 2,793
4 votes
1 answer
16k views

Boot and Shutdown Issues on Aspire E 11 model E3-111-C0WA

I am new to Ubuntu and Linux and this was to be my learning project. I purchased an Aspire E11 model E3-111-C0WA (cheap and had 300GB hard drive) Used Linux Live USB Creator to create an install ...
hiteshlala's user avatar
4 votes
6 answers
7k views

Ubuntu 11.10 logs off when clicking shutdown

As the title says: when I click Shutdown from the menu it logs off. When I click shutdown from the log-in menu it does nothing. I'm using a fresh install of Ubuntu 11.10. I can force it to shutdown by ...
Rourke's user avatar
  • 43
49 votes
6 answers
117k views

What is the proper terminal-way to shutdown?

I was trying to shutdown my PC through SSH. I executed sudo shutdown now The user was logged-out and Ubuntu starting turning off, but it froze at the last screen with the Ubuntu logo and the loading ...
Frantisek's user avatar
  • 8,898
34 votes
4 answers
69k views

Difference between "halt" and "shutdown now"?

Ubuntu one remote uses sudo -S -p '' halt for shutdown and does not work to the end. leaveing monitor on with message will now halt [22225.11163] halted What is the difference between sudo -S -p &...
nkvnkv's user avatar
  • 785
33 votes
5 answers
65k views

How do I check if last shutdown was clean?

How can tell that my last shutdown was properly done in Ubuntu 11.10 or if the machine was powered off before shutting down the OS?
Vikramjeet's user avatar
  • 5,576
13 votes
2 answers
37k views

How to calibrate the laptop battery on 12.04

Since a couple of days or so my laptop (asus n76vm) does a hard shut-down when the battery indicates 20% life left. It just cuts off the power, no shut-down screen or anything, making the hard drive ...
Nkciy84's user avatar
  • 977

1
2 3 4 5
8