Posts: 2,069
Joined: Jun 2013
Reputation:
18
I find that pressing "S" on a keyboard or mapped remote button and choosing "Exit" is much more reliable.
Posts: 74
Joined: Jun 2008
Reputation:
0
Primairly I don't use the keyboard, but a PS3 BT remote control.
I assume that choosing shutdown through the menu will call the same method as pressing S on the keyboard.
Hopefully some one can find some error in the debug post in post 1
Posts: 16,946
Joined: Feb 2011
Reputation:
256
it says "computer is going to shutdown" - have a look in osx own log files and see if you can find anything which prevents it to happen...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 137
Joined: Jul 2013
Reputation:
7
Why even shutdown the mini (or even quit XBMC)? I keep mine on for months at a time. It uses very little power. Perhaps your needs differ but I need mine on to run rTorrent, Couchpotato, Sickbeard, SABnzbX and Plex Media Server among other things. My mini is a dedicated entertainment box/server/streamer and must be on at all times to function properly.
For those times it actually needs to be rebooted or shutdown I just do it over ssh. Or you could just use screen sharing if you want to do it through the GUI.
OS X is generally very stable and Minis are very power friendly so no real need to do shutdowns often.
Posts: 137
Joined: Jul 2013
Reputation:
7
2014-06-08, 22:27
(This post was last modified: 2014-06-08, 22:53 by desepticon.)
If you turn verbose boot on with
sudo nvram boot-args="-v"
then do a reboot you can see which processes are hanging on shutdown. I'm not sure how XBMC calls shutdown but the issue is probably some kind of timeout error.
Turn off verbose boot with
sudo nvram boot-args=
If you can't figure that out you could map a shutdown script to a button if your remote supports it.
Something like:
#!/bin/bash
killall -9 XBMC
sudo shutdown -h now
To make it not need a password use the NOPASSWD option in the /etc/sudoers file. You'll want a line in there like:
<username> ALL = NOPASSWD: /usr/bin/shutdown
Or an bash/applescript:
#!/bin/bash
osascript -e 'tell application "System Events"' -e 'shut down' -e 'end tell'
Posts: 74
Joined: Jun 2008
Reputation:
0
Updated OSX last weekend to 10.8.5.
The shutting down problem didn't appear so far....fingers crossed