2011-06-10, 15:12
Hi
I have a peculiar problem... I have an OpenSuSE 11.4 (Linux 2.6.37.6-0.5-desktop) with XBMC (10.1) installed.
During installation of SuSE, I've created a user called "xbmc" and enabled autologin for this user. After XBMC have been installed I added the following to /home/xbmc/.xinitrc - "exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs"... so far so good - everything is perfectly fine...
... or at least almost - when trying to play some musik I get the message "Failed to initialize audio device, Check your Audio Settings"... but if I close XBMC, log in to Gnome as root, open a terminal an su to user "xbmc" and start xbmc from commandline it works if I choose "Internal Analog Audio" in System -> System -> Audio Output.
Now the spooky/funny parts appears... I check the options in Audio Output I see the following:
With Autologin:
When logged in to Gnome, with SU-user=xbmc:
When returning to auto-login - it stops working again...
By the way - to be sure that it wasn't a rights-problem, I ended up changing the UID for the "xbmc"-user to "0" to ensure root-privilegies
Please help a frustrated man...
Regards
'Adder
I have a peculiar problem... I have an OpenSuSE 11.4 (Linux 2.6.37.6-0.5-desktop) with XBMC (10.1) installed.
During installation of SuSE, I've created a user called "xbmc" and enabled autologin for this user. After XBMC have been installed I added the following to /home/xbmc/.xinitrc - "exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs"... so far so good - everything is perfectly fine...
... or at least almost - when trying to play some musik I get the message "Failed to initialize audio device, Check your Audio Settings"... but if I close XBMC, log in to Gnome as root, open a terminal an su to user "xbmc" and start xbmc from commandline it works if I choose "Internal Analog Audio" in System -> System -> Audio Output.
Now the spooky/funny parts appears... I check the options in Audio Output I see the following:
With Autologin:
- Defaults
- iec958
- hdmi
- HDA Intel Defaults
- SAA7134 Defaults
- Custom
When logged in to Gnome, with SU-user=xbmc:
- alsa:default
- Defaults
- Internal Audio Analog Stereo
- Custom
When returning to auto-login - it stops working again...
By the way - to be sure that it wasn't a rights-problem, I ended up changing the UID for the "xbmc"-user to "0" to ensure root-privilegies
Please help a frustrated man...
Regards
'Adder