On 2014-09-10 01:47:58 -0500, Denis Croombs wrote:
> We have some LTSP servers (on Xen hosts) and are trying to get sound
> working are there any recommended how-to's
> We are using ubuntu on the LTSP and all works perfectly so far except the
> sound.

I found with at least one Ubuntu 14.04 install that seemed to require
following the instructions in /usr/share/doc/ltsp-server/README.sound.

Essentially, it involves creating an /etc/asound.conf that conditionally
set the default pcm and ctl when running LTSP:

  # Make it possible for ALSA forward to pulseaudio on thin clients.
  # Based on idea from
  # http://alsa.opensrc.org/index.php/Default_device_from_environment_variable

  pcm.!default {
      @func refer
      name { @func concat
             strings [ "pcm."
                       { @func getenv
                         vars [ LTSP_ALSA_DEFAULT ]
                         default "hw:0"
                       }
             ]
           }
  }

  ctl.!default {
      @func refer
      name { @func concat
             strings [ "ctl."
                       { @func getenv
                         vars [ LTSP_ALSA_DEFAULT ]
                         default "hw:0"
                       }
             ]
           }
  }

  pcm.pulse { type pulse }
  ctl.pulse { type pulse }


live well,
  vagrant

Attachment: pgpIcvKo7fqlX.pgp
Description: PGP signature

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_____________________________________________________________________
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