2011-03-13, 11:57
Shutdown finally works and this is how I did it:
1. Install mingetty from AUR. http://aur.archlinux.org/packages.php?ID=13793
2. Edit /etc/inittab. Comment the line starting with c1 and add the new line. Important: replace wilco with your username
3. Add to ~/.bashrc. This will start X if it is not yet running.
4. Add to ~/.xinitrc. This will start xbmc and register it through dbus.
5. Check the system settings (System -> System -> Energy) and make sure the default shutdown action is shutdown and not suspend.
6. Reboot and enjoy!
1. Install mingetty from AUR. http://aur.archlinux.org/packages.php?ID=13793
2. Edit /etc/inittab. Comment the line starting with c1 and add the new line. Important: replace wilco with your username
Code:
#c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c1:2345:respawn:/sbin/mingetty --autologin wilco tty1 linux
3. Add to ~/.bashrc. This will start X if it is not yet running.
Code:
if [ ! -e /tmp/.X0-lock ]; then startx; fi
Code:
exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs
6. Reboot and enjoy!