0
votes
0answers
40 views

Send sleep/wake command via displayport to computer

Is it possible for windows or linux based system to check if displayport display has been turned off/on and react accordingly to sleep/wake/shutdown/start system?
0
votes
1answer
14 views

What does it mean in the man page of shutdown that Requests that the system be halted after it has been brought down?

Today when I was reading the man page of shutdown, it made me confused a lot. Take -H as example. I just could not understand the "after it has been brought down". What does it specify exactly? What ...
0
votes
0answers
27 views

Is there any difference between shutdown -h now and init 0, init 6 and shutdown -r now?

As I know by now, shutdown call init to change runlevel to stop the system running and shutdown will give some time for the system to do some other cleaning work. I am not sure whether I am right. ...
0
votes
1answer
107 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 ...
1
vote
0answers
53 views

Turn off computer automatically when there's no electricity

I'm wondering that I could not find anything useful on Google. I'm using a cheap UPS which actually prevents my computer to be turned off immediately if there are some electricity issues (they are ...
0
votes
1answer
44 views

Triggering a server to shutdown in receiving a signal via serial port (RS232)

I'm a fresh graduate (Electronics & Commn) and want to start my career in linux administration. I'm using a Ubunutu 14.04 server machine for R&D (with ups). Now my scenario is whenever main ...
0
votes
0answers
27 views

why linux checks disk after shutdown -h

if I give the command sudo shutdown -h +2 or edit my crontab in a similar way, at reboot Ubuntu 12.04 checks disk for errors: is this behavior correct? is there a way to avoid it? Note that this ...
2
votes
0answers
67 views

Debian shutdown takes a long time (RAID/crypt related)

I'm running Debian Jessie and recently my shutdown has been taking a long time. When I sudo shutdown -h now I'm sent to a blank screen except for a blinking cursor which sits for ~1 minute. It then ...
0
votes
1answer
25 views

Linux base device not getting shutdown

I try to shutdown my embedded system running with Linux environment using shutdown -h now. But in place of shutdown it is rebooting my system again. So can anyone give me suggestion how to shutdown my ...
0
votes
0answers
57 views

Raspberry unbootable after unexpected shutdown

I have a raspberry Pi, Model B. I installed Raspbian on the SD card and I would like to use it as a SVN server. I installed everything I need to work with it, and it works ok. The problem is that ...
0
votes
1answer
144 views

Samba net command to shutdown Windows 8 machine [duplicate]

I have a Raspberry Pi for home automation, and I want to be able to shutdown my Windows 8.1 workstation using a command from a bash shell. Of course I've Googled before asking here. And I found; ...
0
votes
0answers
35 views

Computer shutdown when holding keys for too long

I'm using a Manjaro Linux with an XMonad desktop. I'm still not able to reproduce the exact conditions of the bug but very ofter when holding a key for very long, the keyboard will freeze (just that, ...
2
votes
0answers
133 views

How to register shutdown script on Amazon Linux in AWS EC2

I am using Amazon Linux (RH-based distro) in AWS EC2. I followed the structure of /usr/share/doc/initscripts-*/sysvinitfiles to create an init script in /etc/init.d. /etc/init.d/do_something ...
0
votes
1answer
38 views

Verify shutdown command

On linux, you can do a shutdown -r 17:00 to reboot at 5pm. Every so often there will be a message that appears system wide that says System will go down in X minutes. Is there a way to force this ...
0
votes
0answers
52 views

Weird behavior on reboot and shut down

Ever since I bought my new machine I have this really weird behavior on reboot and shut down: When I invoke a shut down, the system will shut down just fine, but the hardware stays on. I have to hold ...
2
votes
0answers
47 views

Preventing unused spare hdd from spinning up during suspend and shutdown

I recently replaced my sata hdd with an ssd, and keeping the hdd in as a spare. It's not used, not event mounted to filesystem. Yet, when suspending or shutting down the system, it quickly spins up, ...
0
votes
0answers
32 views

How to make Wake-on-Lan consistent?

I have a remote system configured for Wake-on-LAN. It has been tested successfully. But sometimes it doesn't work. For instance, today it worked once, but when I shut down and tried again, it didn't ...
1
vote
1answer
37 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 ...
1
vote
1answer
70 views

How to display details during Linux system shutdown?

By using "details" here, I am talking something like this: [ OK ] Stopped Getty on tty1. [ OK ] Stopped Entropy Harvesting Daemon. [ OK ] Unmounted Temporary /etc/pacman.d/gnupg directory. .. ...
1
vote
1answer
45 views

What permissions do I need to give my user to run “shutdown -r 5” command from cron?

I’m have a bash script that I run in /etc/crontab on Linux $ uname -a Linux mymachine.com 3.4.76-65.111.amzn1.x86_64 #1 SMP Tue Jan 14 21:06:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux The bash ...
1
vote
0answers
87 views

Sudden and spontaneous shutdown when using ACPI

On a Dell Optiplex 755, when I bring the system out from ACPI S3 (suspend) to S0 (normal running mode), the system stays on for perhaps 10 seconds, maybe more. Then it very suddenly shuts the power ...
1
vote
1answer
368 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 ...
0
votes
0answers
136 views

How can I log shutdown messages?

I'm trying to log the shutdown messages in my linux, I see "Asking all remaining processes to terminate..." and then there is a big delay, and then there is some other chatter and log messages which ...
2
votes
0answers
123 views

Why rebooting the system takes longer than a shutdown in fedora?

I'm a fedora (19/ x86-64) user. When I power off the system, it always takes about 3 to 4 seconds to shut down. But whenever I reboot the system, it takes the system much longer (about 30 seconds or ...
1
vote
1answer
141 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 ...
3
votes
1answer
502 views

When I quit xmonad, how can I make it shut down applications nicely?

When I quit xmonad (Shift-Mod-Q), it kills all my running applications. This results in me losing my recent terminal history in gnome-terminal and in Chromium complaining on the next start up that it ...
0
votes
0answers
68 views

Computer randomly powered off at exactly 3 am

I am running a Zentyal server at home, set up to run as a gateway, file server, etc. It is running on a fairly standard computer with standard hardware (Intel i3, 8GB RAM, 300W power supply). A few ...
2
votes
1answer
366 views

How to impede Linux shutting down my computer unless I explicitly want it?

This is a very general question. Let's say that some unwanted process randomly sends the shutdown signal and thus turns my server down. I don't manage to find the offending program, but I badly need ...
2
votes
0answers
410 views

Debian Wheezy crackling sound on shutdown

Crackling sound is coming out of my internal and external speakers as well when I shutdown or reboot my HP 8540w notebook. lspci | grep Aud 00:1b.0 Audio device: Intel Corporation 5 Series/3400 ...
0
votes
2answers
143 views

Why does windows 7 shutdown require so much hard drive usage? [duplicate]

When I shut down linux, for example, it takes a couple seconds. All it does is shut down running services, maybe write a couple log files etc... On my windows 7 box however it takes about 1 minute to ...
0
votes
0answers
55 views

misterious collapse of Fedora 18 on a dual system

I've recently (about a month ago) installed Windows 7 and Fedora 18 as a dual system on my Dell Vostro laptop, and everything went well until my Fedora started shutting down out of a sudden, just like ...
6
votes
4answers
977 views

Does shutdown/reboot need root privileges under Linux? [closed]

Why do I need to be root to shutdown/reboot my computer from the terminal? Doing so via the GUI menu doesn't require root privileges.
4
votes
1answer
511 views

system-wide crontab vs. user crontab to shutdown pc

I'm trying to shutdwon my pc at 2 am once a week. If I use the user crontab of root (sudo crontab -e) 30 2 * * 3 shutdown -h now the shutdown will not be performed. However, if I place the same ...
5
votes
2answers
383 views

Shutdown Ubuntu Command

What is the command or application that allows a user to shutdown the computer from gnome. And how does it have privileges while halt requires superuser?
1
vote
1answer
787 views

Ubuntu shutdown log

My pc with ubuntu server 12.10 installed on it shutdowns itself. How can i find the reason? I think that it is not depend on hardware. any help will be appreciated
2
votes
0answers
385 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 ...
0
votes
3answers
923 views

Fedora 17 laptop shuts off due to overheating

I've got a Toshiba Satellite A665-S6094 that I've just installed Fedora 17 onto. When I have a process that utilizes 100% of the cpu for more than 15 minutes or so, the computer force shuts down due ...
0
votes
1answer
317 views

(Why) doesn't Fedora properly terminate all processes on shutdown?

I've noticed that with Fedora 17, a shutdown operation (e.g., shutdown -h now) has gotten so much faster (feels like 2 seconds max). So I'm wondering if running processes are terminated properly? ...
3
votes
3answers
1k views

What is the proper way to enable a normal user to shutdown, halt or reboot the computer?

My dirty solution is to chmod +s /sbin/shutdown. It works but this is probably not good practice and insecure. Moreover after some system updates the suid bit gets reset. What would be the correct way ...
2
votes
1answer
842 views

linux shutdown hang with wifi cifs mounts

Since fedora 15 (and now with 16) it seems that wireless clients take a long while to shutdown when they have network filesystems mounted at shutdown time. I've pushed out a cifs mount via puppet, ...
35
votes
3answers
22k views

Ubuntu shutdown fail “* Killing all remaining processes…”

I have a fresh installation of Ubuntu Server. "reboot" works, but shutdown fails on the * Killing all remaining processes... step. I am using: sudo shutdown now After the failure, indicated by ...
2
votes
0answers
462 views

My Dell laptop running Ubuntu Linux 11.10 hangs on reboot but not shutdown. How do I diagnose this?

My Dell laptop running Ubuntu Linux 11.10 hangs reliably while shutting down for a reboot, but when I shutdown, it will complete successfully. How do I diagnose this? I don't know what log files I ...
0
votes
2answers
177 views

Remotely shutting down the system (restarting) and instant booting

Is there a way to perform a sort of "hard reset" on a remote system (running linux)? The issue i'm facing is related to one of the hard drives dying during I/O and becoming inaccessible - after ...
0
votes
0answers
461 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 ...
0
votes
1answer
307 views

Tiny core drains battery

I was using a friends laptop and decided to boot into an install of tinycore on a flash drive. This laptops battery is already pretty much shot because it is left plugged in all the time no matter ...
4
votes
1answer
1k views

How can I catch or stop a Linux shut down from the terminal?

Is there a way to catch or stop a Linux shut down after a reboot, halt or shutdown command has been entered? sudo shutdown -r +10 I should now have 10 minutes before the computer shuts down. If I ...
0
votes
0answers
150 views

GNOME/Ubuntu: Require additional confirmation on shutdown

My flatmates and I are sharing an Ubuntu (natty) based Media Centre PC that among other things runs MythTV to schedule and record TV. I'm now looking for a convenient solution to prevent anybody from ...
-1
votes
1answer
404 views

Deleting content in swap space and emptying cache using terminal in linux

Wish a script which would delete cache content and remove additional files which have been downloaded via the internet and saved voluntarily by the user and files any thing other than those used by ...
2
votes
2answers
1k views

A keyboard shortcut for the “status menu” in GNOME 3

Is there a keyboard shortcut, or can a keyboard shortcut be defined, to open the GNOME 3 "status menu" (the one in the upper right corner with your name on it that you use to log out, restart or shut ...
1
vote
1answer
399 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 ...