You are not logged in.
Pages: 1
Hi!,
My computer is an old (relatively) HP box that runs pretty much exclusively on Intel hardware.
I use Gnome, and I soon realized that there was no shutdown option in the Menus or available as an applet - so I tried to
sudo shutdown -P 0
... and I believe the rc.shutdown script is called, or something; whatever happens, this is the output (not exact):
...
Stopping Process... [DONE]
Sending SIGTERM to all Processes ... [DONE]
...
Type Ctl-D for maintenance, give root password:
and it logs me back in!
Sometimes, I get a completely different output:
---------------
Shutting Down
---------------
System Powering off
System Halted
and the CPU and monitor keep humming on! it doesn't power off at all...
I had this problem in Ubuntu Feisty - if that's a clue to anyone (fixed in gutsy/hardy).
Thanks for the help! I don't want to keep hard powering off..
Last edited by vsk (2008-06-03 03:35:57)
Offline
Try this, as root:
shutdown -h now
For the Ubuntu thing, perhaps this can clear things up: https://bugs.launchpad.net/ubuntu/+sour … +bug/93551 .
Offline
Or you could do (as root) 'chmod +s /sbin/halt' which will give an ordinary user right to shutdown the machine. As user, you'd simply type 'halt -p' in terminal.
Offline
The reason you don't have shutdown in your gnome-menus is probably because you don't use GDM as your display manager.....GNOME needs to be logged into via GDM or else it won't be able to shutdown, or restart or even switch users while the desktop is locked.
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Installing GDM got the correct stuff in the menus, so that part worked ... however all of the commands mentioned above still leave my CPU blue (well, the power button) and humming.
I'm going to sift through Feisty bug reports until I find something.
Offline
only installing gdm does not help, you need to start GNOME via GDM else GNOME can't do a full shutdown which requires root privileges given by GDM
two - Arch64 | dwm | nvidia
three - Arch64 | dwm | nvidia
Offline
Ahem...if your hardware is really, really old it probably isn't able to use acpi due to the bios and if so it can only use apm power management, thus there is no option to actually shut off the power. You have to do it manually, if that's the case.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Ahem...if your hardware is really, really old it probably isn't able to use acpi due to the bios and if so it can only use apm power management, thus there is no option to actually shut off the power. You have to do it manually, if that's the case.
Add apm=power-off to grub or lilo and it will shut down fine with APM in most cases.
Offline
May sound stupid but sometimes when BIOS tweaking and so on you may have disabled acpi. I did this once and I ended up messing up my installed system turning it inside and out only to find that a simple BIOS configuration had been messing up another OS Installer
Offline
Ahem...if your hardware is really, really old it probably isn't able to use acpi due to the bios and if so it can only use apm power management, thus there is no option to actually shut off the power. You have to do it manually, if that's the case.
I've run other distros that shut my computer down well, so I don't think that's it. will try kernel options momentarily.
Offline
Offline
My user is in the power group.
Should the apm line be added as a kernel parameter, or just anywhere in the file?
@Sean-Der,
was the problem resolved?
Offline
Thank you very much elliott - the issue is completely resolved.
Adding the apm=power-off to the kernel works perfectly!
Offline
I tried adding apm=power-off to my kernel parameters at boot, but it didn't work for me. Any other suggestions?
Offline
i think the correct command is: sudo halt
Offline
Would;
sudo /sbin/init 0
or
sudo poweroff
work for you?
Last edited by vsk (2008-06-26 17:07:11)
Offline
Pages: 1