On Thu, 22 Nov 2007, SZABO Zsolt wrote:
> I run ltsp5 on debian etch and now I am trying to configure sound.
Finally, the sound seems to work now. I am trying to summarize it:
SERVER side setup:
# aptitude install pulseaudio pulseaudio-esound-compat pulseaudio-utils \
padevchooser libao-pulse alsa-base
## this should install other related packages (pulse*, alsa-utils, etc.)
## asound.conf test:
# cat /etc/asound.conf
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
## and check the groups of ldm users:
# grep audio /etc/security/groups.conf
ssh; * ; * ; Al0000-2400; fuse, audio
CLIENT side setup:
# chroot $ltsp_root
# aptitude install pulseaudio pulseaudio-esound-compat alsa-base
## again, this should install other related packages
## Now, boot the LTSP client and login as root and test the following:
# alsaconf; alsamixer; aplay some_sound.wav
## Because alsaconf kills pulseaudio you might
# reboot
## Some other settings can be useful, though the default operation
## (when booting ltsp client, see /etc/init.d/ltsp-client-core)
## considers these:
# grep SOUND /etc/lts.conf
SOUND = True
SOUND_DAEMON = pulse
# grep def_ /etc/pulse/default.pa
add-autoload-sink def_output module-alsa-sink sink_name=def_output
add-autoload-source def_input module-alsa-source source_name=def_input
set-default-sink def_output
set-default-source def_input
Some tests after LDM login:
$ alsamixer
$ pavucontrol &
$ pavumeter &
$ aplay some_sample.wav
$ paplay other_sample.wav
$ padsp play sound.wav
$ mplayer funny.mpg
Further settings of applications (such as Skype, Firefox/Flash, etc.) are
described here:
http://developer.novell.com/wiki/index.php/Feisty/HOWTO:_PulseAudio
(if an application does not know ALSA, try running it through padsp, e.g.
"padsp skype")
--
Zsolt
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net