[Lxc-users] Fwd: LXC and sound in container -

Stéphane Graber stephane.graber at canonical.com
Thu Nov 14 19:12:39 UTC 2013


On Thu, Nov 14, 2013 at 11:57:04AM -0600, Serge Hallyn wrote:
> Quoting brian mullan (bmullan.mail at gmail.com):
> > I'm not sure the lxc-user alias will take an file attachment or not.   If
> > not I'll try something else.
> > 
> > I tried to document everything I did to finally get sound working in an LXC
> > container on my Ubuntu 13.10 system.
> 
> Thanks Brian.  If you're interested, I would suggest splitting this into
> two howtos, and posting them in a wiki or at linuxcontainers.org.  One
> would be on just setting up x.  That actually could be a main page with
> a list of options, one being the one you documented, another (soon)
> spice, etc.  The other would be on pulseaudio.
> 
> Stéphane, could you briefly comment on what arkose did to allow
> simulatenous host and container pulseaudio access?  Brian mentioned
> something about glueing in a pulseaudio socket?

arkose basically runs:
pactl load-module module-native-protocol-unix socket=/some/path auth-cookie-enabled=0

The bind-mounts that socket inside the container and exports
PULSE_SERVER=/some/path in the container's environment.

-- 
Stéphane Graber
Ubuntu developer
http://www.canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20131114/3aaf44f6/attachment.pgp>


More information about the lxc-users mailing list