0
votes
1answer
43 views

My mp3player freezes when I eject it

When I eject(or safely remove) or unplug my mp3player from the USB, the screen freezes and an "ok to disconnect" message remains on its screen. Then I have to reset my mp3player. However when I ...
1
vote
2answers
423 views

shutdown ubuntu server after 2 days at midnight

without using a cronjob how would I have a ubuntu server shutdown after 2 days (2880 minutes) at midnight? The essence of what I want to do is this: bash shutdown -r +2880 00:00 which would tell ...
1
vote
0answers
397 views

PC sudden shutdown, Sensors show normal temps, Thermal event interrupts shows 1276

I'm experiencing sudden shutdowns on my Linux systems. Using Ubuntu 12.04, my kernel version is 3.5.0-37-generic #58~precise1-Ubuntu. Running a Acer M5 581t(G) with 6 gigs ram laptop. I have been ...
2
votes
2answers
643 views

How to disable wlan0 when shutdown

Since a long time ago my Sony Vaio with Lubuntu 11.10 is showing a red FAIL message during the shutdown process. It tries to kill some process and the white messages on the screen frozen for some ...
16
votes
3answers
1k views

How to prevent shutdown when an SSH user is logged in?

I'm administrating a networked environment and I had an interesting situation arise yesterday. When a host is required to shutdown by a regular user, it refuses to do so if other users are logged in ...
2
votes
1answer
194 views

write pc uptime in a file in shutdown

I need to log PC uptime. How I can do this? I use uptime for this and I will when ubuntu is shutdown write this command output in a file.
5
votes
1answer
739 views

Using a APC Smart-UPS to shutdown a Ubuntu Server Cluster

I'm currently in the process of designing a solution to shutdown a two Ubuntu Server cluster that uses heartbeat and DRBD to replicate storage and offer a NFS share to some IP cameras. We want to ...
3
votes
3answers
463 views

Upstart: How to run a “stop” before stopping other services?

I recently found out about the upstart "service starter" that Ubuntu is using and that is (apparently) the future to start/stop jobs in Linux. It's pretty new to me (I was used to the old SysV system ...
3
votes
1answer
272 views

Schedule halt using ConsoleKit and Dbus

I have been playing with Dbus (versions 1.4.0, in Ubuntu 10.10 and 1.4.14) and ConsoleKit (versions 0.4.1 and 0.4.5) to reboot or halt my computer without being a superuser. Everything works fine in ...
9
votes
3answers
2k views

How can I set that only root + a given user can shut down my pc?

If I'm using Ubuntu 11.04, how can I configure it such that that only two users can shut down/suspend/hibernate my PC: the root user and one regular user?
0
votes
1answer
94 views

Shutdown screen taking too long to pop up in Ubuntu 8.04

I am using Ubuntu 8.04, and it was working fine until a few days ago, the pop screen for ShutDown started taking too long to come(about 3 mins) and in the mean time computer freezes. However, after ...
4
votes
3answers
445 views

Do I need to halt in order to really turn power off?

I tried shutdown -f now, thinking it will do a full power off sequence. Instead, it ends with *Checking battery state... and just hangs there. Should I add -h switch to fully take power off, ...