Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


Search this Thread
Old 02-05-2013, 06:02 PM   #1
LQ Newbie
Registered: Jun 2012
Posts: 10

Rep: Reputation: Disabled
LXC Container: sound Not working


Does anyone know how to get sound working within an LXC container?

I am new to LXC and don't know much about sound config.
I've spent days searching for documentation on the subject and come up with zero!

I've tried applying techniques related to hardware access and visibility, like granting access and bind mounting /dev/snd etc etc.

Both container and host are ubuntu 12.04.
Within the container pulse-volume-control shows virtual devices registering audio input and output but there are no physical devices registered. Hence no sound?

Any pointers or suggestions would be greatly appreciated.

Old 02-17-2013, 09:17 AM   #2
Senior Member
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Ubuntu, Amazon Linux
Posts: 1,805
Blog Entries: 20

Rep: Reputation: 117Reputation: 117
Sounds seems to be one of those black arts, with lots of strange programming going on. We have these sound mixing apps, but they don't seem to be all that well designed. To a limited extent they have been able to mix sounds from more than one source. But the UI is awkward for setting the mix levels (suggestion to those developers: try working a real studio mixer some day). And the big issue I see in all of them is the inability to send the same sound to more than one sound device. I plug in 2 headphones and only 1 can ever get the sound at a time.

What we need is a smart sound server. It gets connections from local sound sources via unix named sockets so authentication is simply by userid. It gets connections from network with various authentication methods available. These are the main sound sources. It can output to any or all sound devices, including the connecting to an instance of itself on the same machine, virtual host, or elsewhere on the network (and more than one at a time, too).

Is that what we have now? If yes, then they need to debug and fix it. If not, then make it so we can produce sound from inside VMs. So far, sound continues to be a mess that can't be managed well and works only in limited ways.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Outputting X display from inside an LXC Container charlie101 Linux - Virtualization and Cloud 1 02-04-2013 09:41 PM
script to get a lxc-container like iso of current. cod_liver_0il Slackware 1 09-10-2012 11:12 AM
How to end a Linux Container (LXC) from within? Skaperen Linux - Virtualization and Cloud 0 06-14-2011 09:37 AM
Linux-Vserver or lxc or anything else vishesh Linux - Server 2 11-19-2010 03:25 PM
Example Servlets not working with Mod_JK, Apache2 Webserver& Tomcat6's Web Container rtoney5 Linux - Software 13 01-14-2009 06:19 AM

All times are GMT -5. The time now is 03:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration