<div dir="ltr">Thanks for responding.<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
</span>Does sound work on the host? If yes, then change your settings to make<br>
it work first.<br></blockquote><div>yes sound does work on the host </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Does "pactl list  modules" on the host show the module loaded and<br>
correctly configured? An example output on my host setup<br>
$ pactl info<br>
Server String: unix:/run/user/1000/pulse/native<br>
...<br>
Is Local: yes<br></blockquote><div><br></div><div>pactl info (in server same as on client)</div><div>Server String: 192.168.x.x</div><div>Library Protocol Version: 30</div><div>S Server Protocol Version: 30</div><div>Is Local: no   <---------------------------------   Is this a problem???</div><div>Client Index: 21</div><div>Tile Size: 65472</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
...<br>
<br>
$ pactl list modules<br>
Module #0<br>
Name: module-device-restore<br>
...<br>
Module #33<br>
Name: module-native-protocol-tcp<br>
Argument: auth-ip-acl=<a href="http://192.168.124.0/24" target="_blank">192.168.124.0/24</a> auth-anonymous=1<br></blockquote><div><br></div><div>Yes on the server I have</div><div><br></div><div><div>Module #12</div><div><span class="" style="white-space:pre">     </span>Name: module-native-protocol-tcp</div><div><span class="" style="white-space:pre">   </span>Argument: auth-ip-acl=127.0.0.1;<a href="http://192.168.0.0/24">192.168.0.0/24</a> auth-anonymous=1</div><div><span class="" style="white-space:pre">  </span>Usage counter: n/a</div><div><span class="" style="white-space:pre"> </span>Properties:</div><div><span class="" style="white-space:pre">                </span>module.author = "Lennart Poettering"</div><div><span class="" style="white-space:pre">             </span>module.description = "Native protocol (TCP sockets)"</div><div><span class="" style="white-space:pre">             </span>module.version = "6.0"</div><div><div>Module #13</div><div><span class="" style="white-space:pre">       </span>Name: module-esound-protocol-tcp</div><div><span class="" style="white-space:pre">   </span>Argument: auth-ip-acl=127.0.0.1;<a href="http://192.168.0.0/24">192.168.0.0/24</a> auth-anonymous=1</div><div><span class="" style="white-space:pre">  </span>Usage counter: n/a</div><div><span class="" style="white-space:pre"> </span>Properties:</div><div><span class="" style="white-space:pre">                </span>module.author = "Lennart Poettering"</div><div><span class="" style="white-space:pre">             </span>module.description = "ESOUND protocol (TCP sockets)"</div><div><span class="" style="white-space:pre">             </span>module.version = "6.0"</div><div><br></div><div>Module #14</div><div><span class="" style="white-space:pre"> </span>Name: module-zeroconf-publish</div><div><span class="" style="white-space:pre">      </span>Argument: </div><div><span class="" style="white-space:pre">        </span>Usage counter: n/a</div><div><span class="" style="white-space:pre"> </span>Properties:</div><div><span class="" style="white-space:pre">                </span>module.author = "Lennart Poettering"</div><div><span class="" style="white-space:pre">             </span>module.description = "mDNS/DNS-SD Service Publisher"</div><div><span class="" style="white-space:pre">             </span>module.version = "6.0"</div></div></div><div><div>Module #16</div><div><span class="" style="white-space:pre">       </span>Name: module-native-protocol-tcp</div><div><span class="" style="white-space:pre">   </span>Argument: auth-anonymous=1</div><div><span class="" style="white-space:pre"> </span>Usage counter: n/a</div><div><span class="" style="white-space:pre"> </span>Properties:</div><div><span class="" style="white-space:pre">                </span>module.author = "Lennart Poettering"</div><div><span class="" style="white-space:pre">             </span>module.description = "Native protocol (TCP sockets)"</div><div><span class="" style="white-space:pre">             </span>module.version = "6.0"</div><div><br></div><div>Module #17</div><div><span class="" style="white-space:pre"> </span>Name: module-esound-protocol-tcp</div><div><span class="" style="white-space:pre">   </span>Argument: auth-anonymous=1</div><div><span class="" style="white-space:pre"> </span>Usage counter: n/a</div><div><span class="" style="white-space:pre"> </span>Properties:</div><div><span class="" style="white-space:pre">                </span>module.author = "Lennart Poettering"</div><div><span class="" style="white-space:pre">             </span>module.description = "ESOUND protocol (TCP sockets)"</div><div><span class="" style="white-space:pre">             </span>module.version = "6.0"</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
...<br>
<br>
Can you access pulseaudio tcp port on the host? An example of open port:<br>
$ telnet 192.168.124.1 4713<br>
Trying 192.168.124.1...<br>
Connected to 192.168.124.1.<br>
Escape character is '^]'.<br>
^]q<br>
<br>
telnet> q<br>
Connection closed.<br></blockquote><div><br></div><div>Yes I can do telnet  telnet $PULSE_SERVER 4713</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Does the module load successfully on the container? An example of<br>
correct loading<br>
# export PULSE_SERVER=<a href="http://192.168.124.1:4713" target="_blank">192.168.124.1:4713</a><br>
# pactl load-module module-native-protocol-tcp<br>
auth-ip-acl=<a href="http://192.168.124.0/24" target="_blank">192.168.124.0/24</a> auth-anonymous=1<br>
xcb_connection_has_error() returned true<br>
33<br>
<br></blockquote><div>Yes it does</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Then run "pactl list modules" on the container. The output should be<br>
the same as the one you get on the host.<br></blockquote><div><br></div><div>It is the same list </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><br>
><br>
><br></span>What you need is that "pactl info" on the CONTAINER to return the<br>
correct settings, based on the host. This is on my container (the host<br>
is 192.168.124.1, hostname "vivid")<br>
# pactl info<br></blockquote><div>pactl is the same in the host and the lxc</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
xcb_connection_has_error() returned true<br>
Server String: <a href="http://192.168.124.1:4713" target="_blank">192.168.124.1:4713</a><br>
...<br>
Is Local: no<br>
...<br><span class=""><br></span></blockquote><div>It looks that my settings are OK</div><div><br></div><div>but when I type <i><b>pacmd list-sinks</b></i> on the guest I get only the dummy card</div><div>I do not get the long list of cards that I get on the host. That is the problem. Is there anything else that I am missing. It seems that the connection is correct, but the device list is not passed to the guest.</div><div><br></div><div> </div></div></div></div>