Skip to main content

All Questions

Tagged with
2 votes
1 answer
3k views

Logout, Shutdown and reboot freezes Debian 10 Buster fresh install, while for Stretch it worked fine

Fresh install from net-installer amd64, KDE as Window Manager, unencrypterd boot, encrypted LVM over LUKS2, and a Win10 as dual boot. All works fine so far, except whenever I try to logout from user,...
0 votes
1 answer
94 views

Duration in seconds between the system down and system up in Linux

I wanted to get the system downtime duration i.e. system went down (could be due to a reboot or shutdown) and System came up. I tried checking few commands mentioned below. I converted (1+06:28) to ...
0 votes
2 answers
406 views

polkit rules to prevent shutdown / reboot does not work

I am trying to prevent reboot a Debian 11 machine from the KDE start menu. However the following policy does not work: [michael@vps /etc/polkit-1/rules.d]> cat /etc/polkit-1/rules.d/10-admin-...
0 votes
1 answer
387 views

Run a systemd service at logout

I have a script that I want to run at logout/reboot and shutdown with a .service file in /etc/systemd/system. [Unit] Description=My description DefaultDependencies=no Before=poweroff.target halt....
0 votes
0 answers
224 views

shutdown command passed with ssh or directly from a pc

from pc1 as user1, the shutdown command doesn't cause any problems, but if I try to use it remotely on pc2 as user2 using the ssh protocol, it doesn't work: it requires authentication and then it ...
47 votes
8 answers
138k views

Unable to shutdown / reboot my Debian 10 server

I'm trying to reboot my Debian 10 server but all I get is command not found. I've tried: shutdown reboot restart poweroff but nothing works. I found this thread but when I try to run any of this with ...
0 votes
0 answers
1k views

Live Kali LInux stuck at Dragon Logo on shut down, or restart

I made a live Kali USB drive using Rufus and Kali Live ISO (I am using Windows 11). When I boot using USB on my laptop, the OS although starts slowly but still boots up. But after I restart or ...
0 votes
0 answers
20 views

Preserve order of closing services while shuting down the linux

I defined a Linux systemd service which has few dependencies in unit file using "After=" and "Requires=". My service depends also on SAN filesystems controlled by Veritas. When ...
26 votes
1 answer
31k views

Shutdown Windows 10 truly for a dual booting system

It seems that "Shut down" in Windows 10 actually means "Shut down and hibernate". This has caused my NTFS partitions cannot be automatically loaded on Linux (Ubuntu 16.04) on my dual-booting laptop. ...
0 votes
1 answer
1k views

Shutdown of Debian 12 stops until switching to virtual console 7

I installed Debian 12 (Bookworm) on a laptop (Acer Aspire 5). It is the only OS on the laptop and it was a fresh install. Everything works fine, but when I try do power off the laptop, KDE is closed ...
0 votes
1 answer
2k views

Why it shows "User xxx is logged in on sshd“ warning when using shutdown close linux server?

I log a linux server by vscode's ssh method in Win10 (the terminal in vscode is like (base) [myname@localhost ~]$ )and I am not a super user of this server (that means I cannot use su). When the ...
2 votes
0 answers
435 views

systemd: intercepting poweroff, shutdown, reboot and alert us we still have KVM QEMU guest(s) running

I want to interrupt a poweroff or reboot if KVM/QEMU Guests are still running. It should work regardless whether shutdown/reboot is requested from XFCE, or from terminal. I already have a script that ...
0 votes
1 answer
608 views

Linux file recovery after unexpected shutdown

Yesterday, I was using a nano file to take important notes relating to university work. I had not saved the file at any point that day, and was actively taking notes throughout the day. Towards the ...
0 votes
0 answers
452 views

Not turning off completely the system. its going to the halt mode in Fedora

some time when i want to shutdown the system in fedora, the system not shutdown completely. in this problem screen is off but fan is working Not sure if this is relevant,but there are several errors ...
1 vote
1 answer
998 views

Unix/Linux "shutdown": How to prevent wall message and terminal blocking?

I'm making a script that adds a layer of functionality on top of the shutdown command. It's intended to schedule a shutdown a while into the future, and sends out it's own wall message. How do I ...
user avatar

15 30 50 per page
1
2 3 4 5
10