For questions regarding shutting down and powering off.

learn more… | top users | synonyms (1)

4
votes
2answers
4k views

How can I shutdown my PC when the system is idle?

I am using Ubutnu 12.04 LTS. Now I am here to know that, is there any script/application I can use to shutdown my Ubuntu when my system is IDLE for 10 Minutes or so? I have already gone through this ...
4
votes
2answers
718 views

Shutdown taking a lot of time

Whenever I shutdown in my Ubuntu 11.10 box, the icons are changing to the default GNOME icons and it is taking a lot of time to shutdown. What can I do to fix this?
3
votes
3answers
5k views

Transmission shutdown script for multiple torrents?

I have written a shutdown script for transmission. Transmission calls the script after a torrent download finishes. The script runs perfectly on my machine (Ubuntu 11.04 & 12.04). #!/bin/bash ...
20
votes
3answers
9k views

Remotely turning on computer?

I need a simple way to turn on my dell optiplex remotely, and shut it off. Its running ubuntu 13.04. How would i go about that? would i need a separate device to press the power button, or would it ...
19
votes
6answers
38k views

Are there any Keyboard Shortcuts to Shutdown?

Are there any Keyboard Shortcuts to Shutdown? (e.g. in Windows Alt+F4+Alt+F4 Right Arrow Enter)
17
votes
3answers
14k views

How can I safely shutdown/reboot/logout KDE from the command line?

I am not talking about shutdown and reboot commands. I want to initiate the same routine from command line that would be performed if I would press the logout/reboot/shutdown button inside the KDE ...
7
votes
9answers
14k views

How to shut down the computer after a task has been completed?

I usually start a download before I go to school. Which command should I use to automatically make the necessary saves and turn off the computer after a particular task has been completed? (Say, ...
19
votes
5answers
12k views

Execute script before shutting down

When I shut down my computer I want to show some pending tasks that I have to do before leaving the office... I did a local application to manage those tasks, basically I just want to run a command, ...
6
votes
1answer
12k views

how to shutdown a linux machine, including the root password, in 1 line?

How do you include the root password, say for shutting down an ubuntu machine? like, sudo shutdown now is it possible to include the password on this 1 line? like an extra parameter? reason for ...
16
votes
1answer
18k 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 ...
6
votes
5answers
6k views

Problems with “Shutdown” and “LogOut” after upgrading to 14.04

I have upgraded from 12.04 to 14.04 on my laptop. The upgrade was successful, but the issue is that nothing happens now when I click on "LogOut", "Shutdown", "Suspend" from the top right power icon (...
6
votes
3answers
9k views

How to shutdown the computer when hitting the Power button?

I have a Xubuntu Lucid 10.04 computer plugged in to my TV. I use the command line to administrate it. Right now when I hit the power button it just opens a Logout screen. How can I set it up so that ...
3
votes
3answers
2k views

Can a Windows 8 partition be mounted in Ubuntu if “fast startup”is switched on?

I'm aware that when a Windows session is hibernated, its disk partition cannot be mounted in Ubuntu. By default in Windows 8, a hybrid shutdown/hibernate feature is used (fast startup) which ...
18
votes
3answers
252 views

Prevent Ubuntu from shutdown before background automatic updates complete

So there is a situation were I have installed a (x)Ubuntu 14.04 on a friend's PC. Automatic updates are set "download and automatic install updates". The problem is after some months of use, it ...
13
votes
1answer
2k views

disable shutdown/suspend if there is other user logged in via ssh

I remember that in versions of ubuntu around 9.04 was possible to disable user to shutdown ( and maybe suspend too ) system if there was other user logged in.Something like policykit or similar. Is ...
12
votes
2answers
934 views

How do I call gnome-session-quit with countdown from Unity?

To be able to shutdown with a keyboard shortcut we can assign gnome-session-quit ---power-off to a custom shortcut. In Unity this will lead to the following dialog: Then we need another at least ...
8
votes
6answers
3k 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, ...
6
votes
1answer
7k views

How to execute script on shutdown?

I want to execute script before I shutdown my machine that writes date to a file (so I do know what time I finish working). How to do it?
6
votes
1answer
1k 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 ...
4
votes
3answers
2k views

How to shutdown/restart/suspend … without authentication or confirmation?

I am looking for a terminal command to shutdown without having to write down my password and without installing any extra programs. As when clicking the shutdown button, why it is not asking me for ...
22
votes
4answers
2k 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 ...
13
votes
4answers
2k views

Why does nothing happen when I click “Shutdown” from the “shutdown…” dialog?

I've been through all questions with the 'Shutdown' tag on this site - but this is different. I choose "Shutdown..." from the session menu. I then click "Shutdown" on the dialog that appears. ...
9
votes
3answers
7k views

How to find out which “Unknown” program is still running and preventing shutdown?

I get the window below occasionally on shutdown. Is there any way to find out what the "Unknown" program is? Perhaps find the path of the executable?
8
votes
4answers
6k views

How do I remove the shutdown confirmation menu?

How do I remove the shutdown confirmation menu saying "are you sure you want to shut down"? This is the menu that pops up after I press shut down. I can't navigate to it in gconf_editor using the ...
5
votes
1answer
1k views

How to disable shutdown or reboot in 14.04 when users are connected via SSH?

I've a group of Ubuntu Trusty desktop PCs in my office, and usually I ssh to them and install updates remotely from the command line. Unfortunately, sometimes local users decide to shutdown those PCs, ...
4
votes
1answer
4k views

shut down linux server and turn on automatically at specific time

I'm having an assignment where the lecturer is asking me to create a bash script to shut down a server at 11pm and turn it on at 6am. I'm able to do it by using sudo shutdown -h 23:00 and it works. ...
3
votes
2answers
11k views

Remote reboot over ssh does not restart [duplicate]

I would like to remotely reboot my Ubuntu 12.04 LTS server via ssh. I do sudo reboot and I loose connection and the server connection does not reappear. It does not ping. When I go the the physical ...
3
votes
4answers
3k views

Cannot shutdown my Sony Vaio

I did a fresh install of Ubuntu 12.04 (dual boot with Windows 7) on my sony Vaio. After the fresh install everything was working fine. then I was informed that new driver were available for my ATI ...
3
votes
2answers
2k views

can't shut down or restart while others are logged in [duplicate]

Possible Duplicate: How can I make shutdown not require admin password? When I'm logged in on my own account and try to do Restart or Shutdown from the "Power" menu, while others are also ...
3
votes
2answers
4k views

Lubuntu - power button doesn't turn off computer,

I am using Lubuntu 13.04 and would like to have the power button cause the computer to shut down. Currently it only brings up the power preferences menu (logout, reboot, hibernate, etc...). In ...
2
votes
2answers
4k views

Eclipse IDE does not start

My computer suddenly shut down due to power failure, while I was working on an Android project using my Eclipse Indigo IDE. Now, if I start Eclipse, only an empty message dialog (see screen shot) ...
2
votes
4answers
3k views

My PC doesn't shutdown from GUI

Since at least a month, my 11.10-64bit PC doesn't shutdown anymore from the GUI. It simply freezes on plymouth screen. If I open gnome-terminal and type "sudo poweroff", it shuts down correctly. This ...
2
votes
3answers
5k views

Mr Transmission, please turn off the PC after all downloads are completed!

#!/bin/bash echo "password" | sudo -S halt I pointed this script to "Call script when torrent is completed" option under: Edit > Preferences > Downloading Problem: this script shut-downs the ...
2
votes
1answer
1k views

Schedule to turn off monitor via crontab?

I want to turn off monitor on a specific period of time automatically (for example between 07:00 and 11:00). Is there any command to be set in crontab file? Is there any better way? In summary: ...
1
vote
1answer
3k views

Ubuntu 15.04 freezing on shutdown/reset and having problem with Nvidia

I've just installed ubuntu 15.04 on my laptop (Asus N56JR). I noticed that when i click on reset/shutdown my computer freezes and it wont turn off. I waited for too long, But nothing happened. I also ...
1
vote
4answers
717 views

Can't mount filesystems and computer won't shut down

I've done a fresh install of Ubuntu 11.10 and ran the recommended upgrades. Two things are not working properly. My windows drives, USB drives, external hard disk cannot be mounted. The below error ...
0
votes
2answers
690 views

ASUS X453M Freeze on Splash Screen on Booting or Restart / Shutdown

just fresh install on new notebook ASUS X453M it's often to hang on boot or restart ubuntu, its only respond to force shutdown button i must forceshutdown and boot many times to can login to ...
20
votes
2answers
1k views

Will it create any critical problems if one always uses ''shutdown -h now"?

According to this post menu shutdown asks each application to save their work prior to shutting down. Will something more serious happen if one always uses sudo shutdown -h now to turn off the machine?...
14
votes
2answers
14k views

Where is the Gnome-Shell Shutdown options

My girlfriend is using Gnome-Shell (That traitor!! ^^) and she wants to know where is the options for Shutdown like in Unity (Another point for me and Unity hehe). How can I add/find this option to ...
6
votes
2answers
5k views

When Shutting down or hibernating it just goes to the login screen [duplicate]

Possible Duplicate: I can’t shut down nor reboot without console Title says all. When I choose shut down or hibernate if my computer has been on a while, it just goes to the log-in screen. If ...
5
votes
1answer
684 views

How can I make sure one Upstart job stops before another Upstart job stops?

Sometimes my server is shut down via an ACPI shutdown, and I've managed to get my process to gracefully shut down. However, my process (Job A) relies on another process (Job B) during its graceful ...
4
votes
3answers
5k views

Lubuntu: neither shut-down nor restart works [closed]

aI have a freshly installed Lubuntu 14.04.1 (installed with forcepae option on a laptop with Pentium M processor). The only problem that I have found so far is that I cannot shut-down or restart the ...
4
votes
2answers
2k views

Change power button to 'Ask' in Xubuntu 13.10

I have recently installed Xubuntu 13.10 on my Vaio vpcea making me a Linux beginner. The problem is that laptop's power button is right on the edge of the bezel making it far too easy to press ...
3
votes
4answers
2k views

Console text appears on shutdown

I updated to 10.10 from 10.04 -however not with a clean install but with online update. Since then at shutdown some console texts appear (next to the red spot representing the shutdown steps). Im ...
2
votes
1answer
3k views

Shutdown when laptop lid closed

I want my laptop to shutdown when I close the laptop lid. But in the power settings I can only choose between: Suspend Do nothing Hibernate (Disabled) Is there any way to configure it with more ...
1
vote
2answers
680 views

Delay shutdown until UbuntuOne has finished synchronizing

when logging out to a different user, shutting down, or restarting the machine sometimes I can get this message some programs are still running program list waiting for programs ...
0
votes
1answer
1k views

Timed Shutdown - shutdown after 30 minutes [duplicate]

I am running Xubuntu 13.04, I got in the habbit of closing my Acer Netbook and forgetting about it for a week+. I open it up to find it has still been running. How do I set it to shutdown after 15 ...
0
votes
1answer
1k views

Dell Inspiron 15 5559 hangs at shutdown, wierd start ups

I just bought a new Dell machine. It's awesome! It has a 6th Gen Intel i5, Radeon M335 (4gb ddr3), 8gb of ram< win 10. Nothing special, but still quite good. Anyways I wanted to install Ubuntu on ...
0
votes
2answers
752 views

Can't Shutdown after installing 13.10

After installing Ubuntu 13.10 saucy, I can't shutdown. I have to lock the system and then shutdown from there. Please Help !
25
votes
1answer
46k views

Shutdown after a certain time [duplicate]

I am done using my laptop but I am using the hotspot in my smart phone. So I want my laptop to be awake for next one hour. How can I Shutdown the laptop after one hour of time?