On 12/06/13 01:09, Peter D Knight wrote:
Try creating a root user on the client and a shell . Login in the shell and see if you can get sound that way.
Use the alsa command I think 'aplay' (Check on ubuntu forum) .
Peter


On Sat, Jun 8, 2013 at 4:22 PM, Roland Giesler <rol...@giesler.za.net> wrote:
Hi Michael,

On Sat, Jun 8, 2013 at 5:05 AM, you wrote:
I've just setup a Debian 7 LTSP server with some thin clients

I have pulseaudio & libasound2-plugins installed in the client image
(and have rebuilt it).

I'm not getting sound from the client.

I tried putting this into the client image file: /etc/asound.conf
pcm.!default {
type pulse
}

ctl.!default {
type pulse
}

Still no go.

I've also put the following into my lts.conf file


Should I be using pulseaudio at all?
[Default]
SOUND_DAEMON=pulse
SOUND = true
LDM_LANGUAGE=en_AU.utf8

 
I presume your client is booting successfully? If so, you should see what your log says.  If you put SCREEN_08=shell into your lts.conf, you will be able to press <ctrL><alt><F8> on the client and inspect the local log at /var/log/syslog.  That would give you some indication of what it going wrong.

regards

Roland Giesler


I've fixed the problem,

Here is the solution

SERVER
Redirect all alsa commands to pulseaudio

/etc/asound.conf
: pcm.!default { type pulse }
: ctl.!default { type pulse }

Make sure all users are in groups 'audio' & 'pulse-access'

CLIENT IMAGE
Copied i386.working/etc/lts.conf to client image

THIN CLIENT
Remove ~/.pulse & ~/.pulse-cookie for current login
Disable pulseaudio & xfce4-volumed from the XFCE4 startup on client
In the mixer set some volume controls up for alsa & pulse.
MOST importantly though I was hitting a bug at the end of all this. With the help of a guy from the irc channel #pulseaudio with the nick of 'FordPrefect' who sounded like a contributor to the project help me find the bug in question. Here is an explanation of the bug;

(From IRC)
<Ford_Prefect> The PA core implicitly depended on module-suspend-on-idle
<Ford_Prefect> (when switching sample rates based on what the client requested)
<Ford_Prefect> So you need to have that module loaded for sample rate switching to work

So as a work around I can load the module through a command like so:
pactl load-module module-suspend-on-idle

This fixes the problem. I could also put this into a configuration file, I've tried the putting the load-module line into the following but it still doesn't seem to load it.
 - /etc/pulse/default.pa
 - /etc/pulse/system.pa
 - /opt/ltsp/i386/etc/pulse/default.pa
 - /opt/ltsp/i386/etc/pulse/system.pa.ltsp

I would of thought it was the last one but it doesn't seem to be listing to the 'load-module module-suspend-on-idle' which is already present in the configuration file. Does anyone have a clue to where the pulseaudio server on a thin client loads it's settings from?

from
Michael

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_____________________________________________________________________
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

Reply via email to