Kodi Community Forum

Full Version: Failed to initialize audio device
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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:

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
Facepalm!

In my case

Code:
sudo adduser tbr audio

did it...