I confirm this one. I'm trying to SSH to my computer which is connected to my stereo system to control music playing from a different computer. Problem seems to be with ALSA, and it has appeared on each music player I've tried, including Spotify, Amarok1.4 and mocp. When I log on to my computer locally, sound works perfectly out of the box.
mocp output over ssh:
Code:
$ mocp
Running the server...
Trying JACK...
Trying ALSA...
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
Trying OSS...
FATAL_ERROR: No valid sound driver
FATAL_ERROR: Server exited
Code:
$ lspci | grep -i audio
00:0f.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
Edit: don't know if this is of any use, but I logged in, started screen and attached to that screen over ssh and moc plays music ok this way if keep logged in through tty. If i log out from console, sound card disappears even from locally opened screen. I also tried things a bit further, and it would appear I can use at least spotify remotely over SSH with X forwarding and sounds work if I'm just logged in locally. Text-based login is enough, there's no need to log in using kdm.
Bookmarks