[Solved] System does not power off, hangs at "System Halted"

Not sure if this is systemd or kernel related, and after the recent round of upgrades it happens on one of my computers and not the other.
I'm using systemd and do have systemd-sysvcompat installed, but no daemons are started with initscripts.
When I power off from the KDE desktop using the poweroff icon in the tray, it gets to the point where it says "System Halted" on the console screen
but the computer does not power off. If I power off using the physical power button on the computer, exactly the same thing happens.
However, if I power off using "sudo systemctl start poweroff.target" it works perfectly.
How can I get it to work properly again in KDE or if I hit the power button? Why does it work perfectly on one computer but not the other?
Last edited by Zamboniman (2012-11-10 03:41:24)

Okay, this has now been solved. Thanks are due to bgc1954 and Trillby for pointing me in the right direction. Very much appreciated.
My search ability, usually very good, completely failed me on this one. However, a few hints was all I needed.
For the record:
To make the power button poweroff instead of halt: edit /etc/systemd/logind.conf and uncomment HandlePowerKey and make sure its value is set to poweroff.
To make kde poweroff properly, edit /usr/share/config/kdm/kdmrc and look for the [Shutdown] section. Ensure HaltCmd is uncommented and set to /sbin/poweroff.
As to why the behaviour was different on my other computer, for some reason the relevant kdmrc entry on that computer was commented out. Apparently that makes it work correctly. I don't know why they were different, as I don't recall changing either.

Similar Messages

  • [SOLVED (Arch is a great community)] Thinkpad x220 does not power off

    My thinkpad x220 does not power off, it goes through the whole shutdown process as expected until reaching the last step where it displays "> POWER OFF" and just sits there until the battery is empty or I force the power off by using the power button.
    I don't know what's wrong or where to start looking for clues.
    The same happens when rebooting, it displays "> REBOOTING" and sits there.
    Occasionally on reboot attempts I have additional messages from iwlwifi:
    iwlwifi 0000:03:00.0: Queue 9 stuck for 10000 ms.
    iwlwifi 0000:03:00.0: Current read_ptr 28 write_ptr 29
    iwlwifi 0000:03:00.0: On demand firmware reload
    iwlwifi 0000:03:00.0: Could not load the INST uCode section
    iwlwifi 0000:03:00.0: Failed to start RT ucode: -110
    iwlwifi 0000:03:00.0: Unable to initialize device
    -edit-
    Not sure if this could be related but my thinkpad has the particularity of having a renice x3 mSATA SSD that I installed myself.
    Last edited by kazimir (2012-03-14 20:59:16)

    This is what you're looking for : https://bugzilla.kernel.org/show_bug.cgi?id=33872
    I've had this issue before, also on my X220. The solution was to remove the e1000e driver before shutdown. I've placed a command that does something like "rmmod e1000e" in a configuration file that runs it on shutdown, and it fixed the problem. I forget where this file is though... Hopefully someone else can fill the gap =]
    Last edited by bolshevik (2012-03-14 07:13:57)

  • Windows 7 does not power off properly with bitlocker enabled

    Hi
    I've got an X200T and installed W7 Enterprise. Things are mostly working fine but i ran into a problem with bitlocker.
    When shutting down, the shutdown process but does not power off my laptop battery: bluetooth light stays on, fan stays on, hardrive stay on.
    the funny thing is if i force the complete shutdown by pressing the ON/OFF button for several seconds, the next startup run smoothly, the system does not detect any wrong shutdown.
    i found a threat relative to this problem elsewhere but nothing on this forum.
    i'm wondering if any of yours are able to run W7 enterprise 32bits + X200T + bitlocker without any problem
    Let me know
    cheers

    Hi,
    I can not tell you about a correlation between your problem and Bitlocker, but what I can tell is that I also have this issue (from time to time - my system is seldom shut down ^^) on my machine, which is a T400, without using Bitlocker. So maybe this is a BIOS defect, as I don't remember this happening before BIOS version 3.
    OSs under which this happened are Vista x64 and Win7 x64.
    Greetz!
    M.T.

  • After upgrade to Yosemite 10.2.2 machine does not power off

    After upgrading to Yosemite 10.2.2 the machine does not power down !
    Any suggestions !

    Try using the Guest account and see if fails to power down there.
    If you don't have a gust account then create new account and try doing a shut down from there.

  • Toshiba 32RV635D does not power off when computer shuts off

    Hello,
    I've inherited a Toshiba 32RV635D. I have a linux-based PVR (Mythtv) hooked up to the TV via HDMI, plugged into a Nvidia GT610.
    With my previous TV, a cheap Vistron LCD panel, it would go into standby when the PC hibernated, and would power-on when the PC came back on.
    This required no configuration from me, it just did it. The Toshiba TV doesn't.
    With this Toshiba TV, when the PVR powers down the TV screen goes blank but is actually still on - the power led remains green.
    Same with the other way round - if I put the TV in standby and power-up the PVR, the TV doesn't respond and I have to manually bring it out of standby.
    I've updated the firmware and this hasn't changed anything, and I also can't find anything related to power management within the TVs menus. I've even tried just pulling the HDMI cable from the back of the TV so it has no physical active inputs, and it still doesn't drop to standby.
    The Amazon page for the TV mentions power management features, and from what I understand it should behave in the way I was expecting it to.
    I've read a lot about HDMI-CEC, but to use this with my existing kit I would need to buy a USB-CEC adapter, and that seems a bit odd seeing as my previous cheap-as-chips TV just did this...
    Also, the various utilities within linux would suggest it thinks its making the right noises - running 'xset q' when the computer is idle tells me that 'Monitor is off' when actually it's not.
    Any clues?

    Ricklous, it may be helpful if you have a look at the url
    http://www.toshiba-om.net/LCD/PDF/English/Country_Specific/RV635-323742-English-Specific.pdf
    if you wish to download the English edition owners manual for your model, I have not read it through, but it may prove helpful to you.
    Incidentally, I have the model 32RL900A, and find that a PVR plugged into the SCART socket claims the screen whenever it turns on while the TV is tuned to a FTA (Free To Air) channel, and then "hands back" the screen when it (the PVR) switches off, and this, I found out, is a characteristic of the SCART system.
    I don't know if this information is useful to you, but hope it helps.
    donhe7

  • IMac does not power off when I shut down

    I have an iMac with 10.7 as the operating system. When I power down the machine the screen goes gray and just stays in the gray mode until I hold the power key down manually. It starts up normally, just a "shut down" issue. I recently upgraded from 10.6 to 10.7 and had the same problem with 10.6 (not sure that means anything.) I am pretty sure this is not a good way to shut down a Mac.  Any ideas on what might be going on here? Thanks.

    I have an iMac with 10.7 as the operating system. When I power down the machine the screen goes gray and just stays in the gray mode until I hold the power key down manually. It starts up normally, just a "shut down" issue. I recently upgraded from 10.6 to 10.7 and had the same problem with 10.6 (not sure that means anything.) I am pretty sure this is not a good way to shut down a Mac.  Any ideas on what might be going on here? Thanks.

  • My iphone is frozen. will not power off or respond even after charging.

    My iPhone is Frozen. Does not power off as well. What can be done to fix this?

    Try a soft reset, press and hold in the homescreen key (Circle button at bottom of the iPhone) and power key (One that locks the screen as well as turns it off and on) at the top, together and hold it till the screen shows the Apple logo, then release the keys, this should hopefully resolve.
    Let us know how it goes.

  • Phone will not power off

    Phone does not power off. It only does in safe mode. Once in safe mode still can not normally power off but only on safe mode.
    Any advise?
    Thanks
    T

    And ticked the enable quick boot mode. Deactivated and now is fine.
    Sorry and thansk

  • I have had my iMac for 55 days now and twice I had to power off/on and then It does not power up correctly.  I verified my disk and found errors that could not be repaired.  I erased the drive and restored system back to the previous day.

    I have had my iMac for 55 days now and twice I had to power off/on and then It does not power up correctly.  I verified my disk and found errors that could not be repaired (errors were associated with boot drive)  I erased the drive and restored system back to the previous day.  Has anyone else experienced this problem?

    Since it's a new machine, contact Apple's Support and let them deal with it. Allen's already recommended an Apple repair station visit. Do note that if you have AppleCare's protection plan and you're within 50 miles (80 KM) of an Apple repair station, you might be eligible for an onsite repair since yours is a desktop machine (depends on where you're located).  BTW, the AppleCare Protection Plan's the best warranty policy available for desktop machines. Get it if you don't have it before contacting Apple.
    27" i7 iMac (Mid 2011) refurb, OS X Mavericks (10.9.4), ML & SL, G4 450 MP w/Leopard, 9.2.2

  • ThinkCentre Edge 71, Power LED does not switch off

    Since I have installed win7 64bit, the pc does not switch off after Power down command. For switch off i must hold the power button >10sec.
    Thanks for Help.

    Hello Walter,
    Please update the BIOS which will resolve the issue.
    http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkcentre_bios/9qjy36usa.exe
    You may also try the Windows registry setting. Kindly be careful while editing windows registry.
    Have a look at the following registry location (note that you need to invoke regedit.exe with administrative privileges in order to make any changes in this location) and ensure that the value ClearPageFileAtShutdown is set to 0 (if it is set to 1, change the value to 0).
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
    Best Regards,
    Tanuj
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • My  BEATS speakers are connected to my Mac but I have no audio and do not understand how to turn off the speaker. I press the power button and not shut off. And the white light behind me indicating that this synchronized, does not turn off ever.

    My  BEATS speakers are connected to my Mac but I have no audio and do not understand how to turn off the speaker. I press the power button and not shut off. And the white light behind me indicating that this synchronized, does not turn off ever.

    Hello Sabroso007
    Check out the article below to troubleshoot the sound output to your Bluetooth speaker. Check in System Preferences > Sound to see what the output is set to.
    OS X Mavericks: Set up Bluetooth audio devices
    http://support.apple.com/kb/PH14217
    Regards,
    -Norm G.

  • Updating system - do not power off. During shutdown.

    Help.....when I shutdown my t420 and am conneced to external power, I consistently get a message during the shutdown process, something like "applying update 1 of 1. Do not power off or unplug your computer'. This is very consistent, happens every time, whether I have <knowingly> installed any updates or not. This causes the Thinkpad t420 to take a long time to power off.
    I can't tell what is being updated or if this a real message or just some residual stuff from a past update.
    any help/pointers on how to clear this would be appreciated.
    R

    do you have automatic windows update switched on in the control panel under Windows Update.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Imac does not turn off.

    hello,
    I have an imac, running on os x lion. u know how, when you click on shutdown, it shows the white screen. sometimes my imac does not turn off and keep showing it. could you please tell me what i can do to solve this problem.
    thanks

    The safe boot more or less resets system files.
    When it is something in the hardware:
    1.do the Pram and the SMC resets:
    http://support.apple.com/kb/ht1379
    http://support.apple.com/kb/HT3964
    2. shutdown the mac and startup while holding the ALT(option) key: choose the Recovery Disk, from the window choose Disk Utility, select the Lion disk, choose "repair disk".
    When it is not a hardware problem:
    3. List the applications you installed in the last 6 months, also the ones from the Appstore.
    4. List the plugins (extensions) you have in Safari.

  • Imac  27" does not turn off

    Hi,
    I have a brand new iMac 27" all in one, which works perfectly except for the fact that 3 times out of 4 it does not turn off with the normal command and I am obliged to turn it off with the back switch, after it remain for various minutes  with the blue window on and the wheel running.
    Initially I tried to disconnect an external HDD which was connected by USB and seemed to have solved the problem for a few days, but now the problem shows up again.
    At the moment I have connected only a Bamboo device on the USB port.
    I have tried to Verify the HDD and repair the disk, but no improvement.
    Any suggestion on how to proceed?  Thank you
    SS

    If all the prior steps have not resolved the issue then at this point I would suggest:
    Remove any additional memory you may have added to the system
    Reinstall of the OS: http://docs.info.apple.com/article.html?path=Mac/10.6/en/8177.html
    If the issue persists after you follow the above steps, you may wish to make an appointment with a Mac Genius at an Apple store, contact AppleCare via phone, or contact an Apple Authorized Service Provider for assistance.
    If this issue was occurring right out of the box on the brand new system without you adding any additional software / migrating data from an older Mac, be sure to let them know that as well.  Its unusual to have a blank, brand new system have this kind of behavior so that will save them some diagnostic steps.
    Best of luck to you.

  • MacBook Pro A1260 - does not power on

    The MacBook Pro does not power on.
    When I press the power button shortly, the sleep indicator light goes on and goes off again (with the macbook going off) within less than a second.
    When I press and hold the power button, the sleep indicator light goes on, stays on for about 4 seconds, then begins flashing quickly (4..5 times per second?) for a second or two and then goes off (together with the macbook going off).
    What does the blinking mean?
    I tried with the battery only.
    I tried with power chord only (battery removed).
    I tried with battery and power chord connected.
    Each time the same result.
    The macbook used to have an original power supply, but that broke down. Now I use a nonane replacement, which worked well for some months.
    What can I do to fix it?
    EDITT:
    The screen remains black all the time - the macbook does not beep. I can hear the DVD drive start up - also I believe that I can hear the CPU fan.

    sanjampet wrote:
    You can try a SMC reset:Intel-based Macs: Resetting the System Management Controller (SMC)
    Follow directions for the battery that applies to your machine (one you can remove yourself, or one you should not remove yourself)
    3rd party power supplies have been know to cause issues.
    I have a machine where I can remove the battery. I followed the SMC reset steps - no change.

Maybe you are looking for