2011-06-22, 09:30
Hello everyone,
today I tried to make my HTPC fit for autologin. But now XBMC won't recognize the audio device anymore and the message "Failed to initialze audio device" appears.
I realized it as follows:
Switching back to starting xbmc from commandline, everything works fine. Can anybody help me out of this dilema?
Thanks in advance and kind regards!
Tim
today I tried to make my HTPC fit for autologin. But now XBMC won't recognize the audio device anymore and the message "Failed to initialze audio device" appears.
I realized it as follows:
Code:
sudo nano /etc/init/tty1.conf:
# exec /sbin/getty 38400 tty1
exec /sbin/rungetty --autologin tbr tty1
Code:
nano /home/tbr/.bash_profile
#!/bin/bash
irexec –d
if [ $(tty) = "/dev/tty1" ]; then
startx
fi
Code:
nano /home/tbr/.xinitrc
#!/bin/bash
xbmc-standalone
Switching back to starting xbmc from commandline, everything works fine. Can anybody help me out of this dilema?
Thanks in advance and kind regards!
Tim