2011-02-04, 23:21
I am launching Xbmc directly from inittab, which went fine until a few days ago the new consolekit (on Arch) messed things up. Turns out consolekit doesn't register autologin sessions from inittab as local ones, so the user isn't granted shutdown/reboot/suspend/... privileges necessary for 'normal' operation.
Apparently, mingetty does play nice with consolekit so I am now using that to launch Xbmc directly upon boot. That seemed to work fine for a bit, however, shutdown or reboot from Xbmc is still not working. Upower is acting a bit bizarre. This is what Xbmc prints when I try to shut down:
I do seem to be able to reboot thoughn but shutting down seems to confuse upower. Clicking the suspend button seems to work normally (except that I haven't set up suspend, so...):
Running Xbmc 10.0 here (tagged SVN checkout).
Apparently, mingetty does play nice with consolekit so I am now using that to launch Xbmc directly upon boot. That seemed to work fine for a bit, however, shutdown or reboot from Xbmc is still not working. Upower is acting a bit bizarre. This is what Xbmc prints when I try to shut down:
Code:
22:12:04 T:3024189312 M:104931328 DEBUG: ExecuteXBMCAction : Translating XBMC.Shutdown()
22:12:04 T:3024189312 M:104931328 DEBUG: ExecuteXBMCAction : To XBMC.Shutdown()
22:12:04 T:3024189312 M:105099264 DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.UPower and method AboutToSleep
22:12:04 T:3024189312 M:105091072 DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.UPower and method Suspend
22:12:04 T:3024189312 M:105091072 DEBUG: CAnnouncementManager - Announcement: Suspend from xbmc
22:12:04 T:3024189312 M:105078784 DEBUG: ------ Window Deinit (DialogButtonMenu.xml) ------
22:12:04 T:3024189312 M:104894464 DEBUG: CAnnouncementManager - Announcement: Sleep from xbmc
I do seem to be able to reboot thoughn but shutting down seems to confuse upower. Clicking the suspend button seems to work normally (except that I haven't set up suspend, so...):
Code:
22:20:25 T:3024435072 M:126164992 DEBUG: ExecuteXBMCAction : Translating XBMC.Suspend()
22:20:25 T:3024435072 M:126164992 DEBUG: ExecuteXBMCAction : To XBMC.Suspend()
22:20:25 T:3024435072 M:126164992 DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.UPower and method AboutToSleep
22:20:25 T:3024435072 M:126164992 DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.UPower and method Suspend
22:20:25 T:3024435072 M:126103552 DEBUG: CAnnouncementManager - Announcement: Suspend from xbmc
22:20:25 T:3024435072 M:126103552 DEBUG: ------ Window Deinit (DialogButtonMenu.xml) ------
22:20:25 T:3024435072 M:126103552 DEBUG: CAnnouncementManager - Announcement: Sleep from xbmc
Running Xbmc 10.0 here (tagged SVN checkout).