Posts: 27
Joined: Jul 2012
Reputation:
0
Hello all from a newb! Quoting my own thread from another forum:
"Yesterday assembled my 1st HTPC. Haven't had time to setup it, but installed XBMCBuntu just to check that hardware is Ok.
While XBMC itself worked Ok, one thing frustrated me immediately - I coudn't switch HTPC off. Whether I chose "shut down" option from XBMC, or even used power button on the case, HTPC just kept restarting instead of shutting down. I mean, PC kinda shuts down, but in couple seconds awakes and loads XBMC again.
Has anyone experienced/aware of this issue?
Thanks.
P.S. didn't use remote, only keyboard+mouse.
P.P.S. case Grandia 05B, XBMCbuntu 11."
Posts: 694
Joined: Jun 2010
Reputation:
23
Can you try the following in a terminal 'sudo init 0'. Should do the trick.
Posts: 107
Joined: Jun 2012
Reputation:
0
Hello, hope you are doing well. A few things jump to mind...
1. Your bios settings for the mb, are they set at default?
2. Trying another livecd of a distro to see if you can shutdown normally there.
3. In terminal mode (cnt-alt-F1) logging in, then at the prompt "sudo shutdown now", putting in your pword and shutting down.
ps. some peeps put a switch of either -h or -P for example "sudo shutdown -P now"
Posts: 27
Joined: Jul 2012
Reputation:
0
Thanks for advice everyone.
I didn't check BIOS settings indeed - they are the factory settings now, and I'll check them when get home today.
I'm quite sure I've wired reset and power pin headers correctly. Will double-check.
Thanks again!
Posts: 27
Joined: Jul 2012
Reputation:
0
Update:
I can power off by pressing power button on chassis for ~3 sec. Short click reboots.
Checked BIOS (factory settings) haven't found anything related to the issue.
Tried remote control, behavior is the same - reboot, no shutdown.
"Sudo shutdown now" never finishes, always hangs up on some stage. Last time it was "stopping System V runlevel compatibility".
"Sudo shutdown -P now" reboots...
Any input is appreciated...
Posts: 27
Joined: Jul 2012
Reputation:
0
2012-07-08, 06:35
(This post was last modified: 2012-07-08, 06:43 by barber76.)
Btw, "suspend" option from XBMC works Ok. PC goes to deep sleep, and wakes up upon short pwr button press. But no luck with "power off" and "hibernate" options.
Posts: 6,339
Joined: Jul 2010
Reputation:
116
artrafael
Team-XBMC Forum Moderator
Posts: 6,339
At this point, I would recommend doing what Bunto Skiffler suggested; namely, boot your PC with a Live CD for something other than XBMCbuntu. I would also suggest trying an earlier version of Ubuntu, such as 10.10. If you can shutdown normally with those other Linux versions running in Live mode, then the problem is most likely with your PC and XBMCbuntu. Which version of XBMCbuntu are you running -- the stable version (with Ubuntu 11.10) or the alpha version (with Ubuntu 12.04)?
Posts: 27
Joined: Jul 2012
Reputation:
0
I just managed to power off... Repeated the trick with modifying the /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla
but, remembering that I installed XBMCBuntu under my own login/pswd,
changed
Identity=unix-user:xbmc
to
Identity=unix-user:<MY_USERNAME>
and it helped.
Please forgive, if I'm asking something really dumb, but did I have to choose 'xbmc' as a username during installation ?
Posts: 6,339
Joined: Jul 2010
Reputation:
116
artrafael
Team-XBMC Forum Moderator
Posts: 6,339
2012-07-08, 07:18
(This post was last modified: 2012-07-08, 07:21 by artrafael.)
You can use any ID (user name) you want (i.e., you are not required to use "xbmc").
Glad you got it sorted out!
Posts: 27
Joined: Jul 2012
Reputation:
0
Couple more questions related to this thread:
1) XBMC hibernate kinda works (if I enable S4 sleep in BIOS first). But only 'kinda' - upon wakeup from hibernate, I'm getting shaking-strobing XBMC logo, strange X-shaped mouse pointer and that's about it. Have to restart anyway. I searched, and it doesn't look like XBMC hibernation is actively used. Just want to know whether hibernation issues are common thing.
2) I can't wake from suspend by remote control - although receiver is powered by USB port and I see it responding to remote. Short tap on power button wakes system up though. Is it normal?