Questions tagged [shutdown]
a command to turn off or reboot the system
552 questions
0 votes
0 answers
94 views
Reached target shutdown.target every five minutes
On a ThinkPad T480 running Fedora 42, I've discovered that more or less every five minutes, systemd has been writing Reached target shutdown.target - Shutdown. to journalctl. (See example text below, ...
2 votes
0 answers
84 views
Broadcast message to all users (inculding ssh) when shutting down via power button
If you issue shutdown now -h then the system will broadcast a wall message to all users warning about the shutdown. However, on my headless server (running Debian 12) if I press the power button this ...
1 vote
1 answer
108 views
How to shut down my pc if no session is open
I have a PC on Ubuntu that serves as a media server in my living room, and also as a borg repo for backing up a YunoHost server that is in another city. The backup happens over SSH, I activated wake ...
4 votes
2 answers
887 views
Proper way to power off a Ubuntu 22.04-5 desktop from single user mode
Is it possible to power off a Ubuntu 22.04-5 desktop booted into single user by using grub to add init=/bin/bash to the end of the standard Linux boot command line + ctrl-x or F10. No init is running ...
0 votes
1 answer
245 views
Ubuntu server keeps shutting down after 15 minutes
I have Ubuntu server 24.04 running on a desktop machine. It has a GUI installed (though I don't know if that is relevant). I am running this server as a headless machine at the moment, though until ...
0 votes
0 answers
74 views
System lock when shutdown scheduled on Debian
To reproduce this on a Debian device. Simply run the command sudo shutdown -h +5 after confirmation proceed with locking the device. In the login window you'll get the message: system is going down. ...
-1 votes
1 answer
196 views
How to shutdown pc if live usb is pulled?
I have installed linux lite to a usb. When unplugging the usb the pc crashes, the logout screen also doesn't work. How to trigger a force shutdown via pulling the usb stick? Well it's not a proper ...
3 votes
2 answers
176 views
How to know which user did reboot or shutdown when multiple desktop sessions are active?
I have a Ubuntu installation where multiple users have desktop sessions at the same time, some over XRDP and another directly on VT7. How can I find out which of these users initiated a shutdown or ...
0 votes
0 answers
67 views
Linux open suse leap countervector off timer
I'm Installed: linux open suse leap ~15. Something wrong when after turn off and if press: ctrl+esc it will shows timer: countervector. 1 min .30 sec... ... 1 min .29 sec... 1 min .28 sec...... and ...
1 vote
1 answer
189 views
Conditional Ctrl-Alt-Del shutdown
I always shutdown my Linuxes with Ctrl-Alt-Del from a virtual console (outside any window mangager - KDE). Now I want that the system still shutdowns with Ctrl-Alt-Del, but only if certain CONDITION ...
0 votes
1 answer
183 views
Cause of abnormal laptop shutdown? Could ACPI Errors cause Overheating?
My well cooled laptop surprisingly shutdown at about 5 am local time, when I was sleeping. If anyone could help me decipher from logs or whatever below, what was the real cause, I would appreciate it ...
3 votes
2 answers
2k views
Manjaro no longer shuts down
Since a few days ago, shutting down Manjaro just leads to a black screen with the mouse cursor. There is usually another bootable drive connected to the system, but this wasn't a problem before. ...
3 votes
3 answers
415 views
Run an update *one* time at shutdown – systemd-run?
I've got a few things that I don't want to update while my graphical session is running, but would be happy to have them updated on shutdown (after my graphical session ended, while network is still ...
1 vote
3 answers
266 views
Execute a script when powering off, but not when rebooting (using systemd) [duplicate]
I'm working on scripts to power the TV connected to my Mac (running Linux) on and off. These scripts make use of the cec-ctl util (part of video4l), which control the CEC pin of the HDMI output. The ...
2 votes
0 answers
418 views
Systemd hangs at reboot/shutdown. No logs available
How can I figure out what service is stalling systemd during shutdown if I can't get a log? I've been struggling for days trying to figure out what is causing systemd to hang whenever I try to reboot ...