2009-12-27, 21:34
Hi folks,
Problem: The OSD shutdown, hibernate and reboot buttons don't work since 9.11. AFAICS it is not related to the
"echo USB0>/proc/acpi/wakeup" discussed in other threads.
Long story:
I am starting xbmc at boot time using an entry in /etc/inittab:
This entry autimatically logs in user "xbmc" in init state 2 (the default on my PC). Xbmc's .profile says:
xbmc starts fine at boot time. Next I have given the xbmc user the right to shutdown, hibernate and restart the PC using
AFAIK this is supposed to make the OSD shutdown, reboot and hibernate buttons work.
This whole stuff worked fine for old xbmc releases, but for 9.11 beta and newer it doesn't. If I click on shutdown then it just terminates xbmc, and init starts another session. The log file says
This is the Karmic PPA version rebuilt for Squeeze.
Any helpful comment would be highly appreciated.
Regards
Harri
Problem: The OSD shutdown, hibernate and reboot buttons don't work since 9.11. AFAICS it is not related to the
"echo USB0>/proc/acpi/wakeup" discussed in other threads.
Long story:
I am starting xbmc at boot time using an entry in /etc/inittab:
Code:
6:2:respawn:/sbin/mingetty --autologin xbmc tty6
Code:
if [ "`tty`" = "/dev/tty6" ]; then
startx="/usr/bin/xbmc --standalone"
test -x /usr/bin/dbus-launch && startx="/usr/bin/dbus-launch --exit-with-session $startx"
startx="xinit $startx -- :6 -br -quiet"
exec $startx >& ${HOME}/.xinitrc.log
fi
Code:
polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend
polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate
polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot
polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown
polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions
polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions
This whole stuff worked fine for old xbmc releases, but for 9.11 beta and newer it doesn't. If I click on shutdown then it just terminates xbmc, and init starts another session. The log file says
Quote:CRITSEC[0x10fb0e8]: Trying to enter destroyed section.
CRITSEC[0x10fb0e8]: Trying to leave destroyed section.
waiting for X server to shut down
This is the Karmic PPA version rebuilt for Squeeze.
Any helpful comment would be highly appreciated.
Regards
Harri