Getting nasd working on KDE with Mandrake 2007
part of the Mandrake and Sound documentation
Ensure nas is installed on the server
In a console, run:
rpm -qa | grep -i nas
You should see both 'libnas2' and 'nas' listed in the output. If
they either are missing, you can install them:
urpmi libnas2 nasd
Edit lts.conf
Edit lts.conf and ensure the following are available
SOUND = Y
SOUND_DAEMON = nasd
Ltsp-sound package
Install the ltsp-sound package on the server. A description and download link
for this package are available here:
http://wiki.ltsp.org/twiki/bin/view/Ltsp/Sound#NASD_and_ESD
if it is installed, you should find it in /etc/profile.d/ltsp-sound.sh
Install nasd for the clients
On the server:
cp /usr/X11R6/bin/nasd /opt/ltsp/i386/usr/X11R6/bin/nasd
Check sound card
Ensure the (pci) sound card is physically installed on the terminal by doing the following
cp /usr/bin/lspcidrake /opt/ltsp/i386/usr/bin/lspcidrake
cp -r /usr/share/ldetect-ls* /opt/ltsp/i386/usr/share/
cp /usr/lib/libldetect.so.0.6* /opt/ltsp/i386/usr/lib/
Run lspcidrake from terminal's shell and see if it lists a (pci) sound card.
(To get a shell on the terminal, add 'SCREEN_02 = shell' to lts.conf. You can search
this wiki for details.)
If you don't see the card and you know its installed, check for an ISA sound
card. Documentation is available on this wiki.
KDE Sound Settings
Having logged in on the client, visit the KDE Control Center.
Under Sound: Sound System ensure the following settings are checked:
- Enable the sound system
- Enable networked sound
- Run with the highest priority
- Sound buffer=20ms (you want this as low as possible, but raise it if it's choppy)
under the Hardware tab
select the audio device: Network Audio System
Troubleshooting
Using Konsole after logging into KDE on the client, try these checks:
echo $AUDIOSERVER
this should tell you the name of your terminal and the port nas is working on.
No output indicates a problem.
auinfo
This should give you details of your audio server.