Skip to main content

All Questions

Tagged with
2 votes
0 answers
2k views

Shutdown command no longer broadcasts messages

The shutdown command has stopped broadcasting messages like this: luzar@ubuntu:~$ sudo shutdown -h -P +3 Please save your work now! Broadcast message from luzar@ubuntu (/dev/pts/0) at 11:57 ....
Leonardo Bernardes's user avatar
1 vote
2 answers
346 views

What happens if shutdown command kills my unison cron job?

I have an Arch linux box at home that I power off quite frequently (the power supply is noisy and it annoys my girlfriend...!). The box has a number of cron jobs running the unison utility, designed ...
user1911388's user avatar
1 vote
5 answers
2k views

Use the command line (or python) to gradually shutdown a gui program

Is it possible to use the command line (or python) to gradually shutdown a gui program? For instance, would it be possible to gradually shutdown programs (such as pressing the X in the window, not ...
CodeJoust's user avatar
  • 121
1 vote
1 answer
124 views

Shutdown after N invalid attempts (lockscreen + tty)

I've seen this question on AskUbuntu about monitoring lockscreen. However, imagine having an encrypted drive + home partition. Both are mounted and available while you are logged in. The thing is, ...
KeyWeeUsr's user avatar
  • 348
1 vote
1 answer
2k views

Finding a cause of shutdown/sleep

My server running is Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux. About once a day, sometimes once every two days is shut down - It isn't really shut down, it seems like its sleeping ...
ewooycom's user avatar
  • 125
1 vote
1 answer
4k views

How to automatically unmount encrypted loop device at shutdown?

I'm using debian testing, and I have a file, it's a LUKS container with ext4 filesystem. My system mounts it with every boot. I had to use the three following files in order to do so: /etc/crypttab ...
Mikhail Morfikov's user avatar
1 vote
2 answers
1k views

Are very long shutdown times common when booting from NVMe?

As per subject I've just installed a Samsung 970 Evo and made it my bootable disk. Start-up time is not much different from an SSD, shutdown time is taking 10+ minutes. I am running Ubuntu 18.04.3 ...
Emanuele's user avatar
  • 751
1 vote
1 answer
2k views

Wait for *user* service to gracefully exit before machine shutdown/reboot

I've been managing all my user level processes using systemctl --user, which provides a lot of great benefits including the ability to auto-restart on error, process dependencies, etc. However, one ...
aiguofer's user avatar
  • 301
1 vote
1 answer
3k views

systemd service on startup and on shutdown requiring network access Linux Mint 19.1

I'm trying to setup a systemd service which executes a script after the system is fully booted (internet access is required) and also executes a different script right before the system shuts down or ...
Guidable's user avatar
1 vote
1 answer
606 views

Poweroff Lenovo Flex 2-15 notebook in Linux

I have a Lenovo Flex 2-15 notebook. When I try to shut down my laptop using poweroff/shutdown commands or using the GUI, it shuts down completely, but after a few seconds, it turns on automatically! (...
mlibre's user avatar
  • 267
1 vote
1 answer
21k views

shutdown vs shutdown now - shutting down system as non-root

I just observed something strange. Logged into an archlinux system as a non-privileged user, I executed shutdown. As expected, it returned Must be root. To my surprise, executing shutdown now it (...
Carsten Hagemann's user avatar
1 vote
1 answer
92 views

Are upstart jobs guaranteed to be given time to run?

I am writing an upstart job that runs a shell script at startup and shutdown which synchronizes some files with a remote machine using rsync. The script can sometimes take a long time to complete if ...
Gavin S. Yancey's user avatar
1 vote
1 answer
314 views

No guest shutdown in Linux/Ubuntu?

I had to shut down a bunch of Linux boxes tonight because we have an upcoming power outage for the whole building. I did not know any passwords for most of the boxes. So, (on the Ubuntu desktop) I ...
Tyler Durden's user avatar
  • 6,171
1 vote
1 answer
980 views

My new servers will shutdown instead of rebooting when I do init 6 or equivalent, any idea?

I have 2 new Supermicro servers (5037C-T) with Ubuntu 12.10 and when I try to reboot the machine I instead get a nice shutdown. Interestingly enough, the reboot command in the BIOS or grub work ...
Alexis Wilke's user avatar
  • 1,650
1 vote
1 answer
714 views

Receive shutdown broadcast notification in desktop (GNU/Linux, Gnome)

When # shutdown +5 is run all the terminals (including pseudo terminals) are sent broadcast messages saying system is about to go down. Is it possible for user to receive this in the form of OSD or ...
Akilan's user avatar
  • 735

15 30 50 per page
1
3 4
5
6 7
10