Here is pactl stat on the client side:<br><br>PULSE_LOG=99 pactl stat<br>-------------------------------------------------<br>Using private memory pool with 1024 slots of size 16,0 KiB each, total size is 16,0 MiB, maximum usable slot size is 16344<br>
Trying to connect to /home/user/.pulse/fbd5d27658d3fcf30cb25bf800531799:runtime/native...<br>connect(): No such file or directory (2)<br>Trying to connect to /var/run/pulse/native...<br>SHM possible: no<br>Protocol version: remote 16, local 16<br>
Negotiated SHM: no<br>Currently in use: 1 blocks containing 16,0 KiB bytes total.<br>Allocated during whole lifetime: 263989 blocks containing 231,3 MiB bytes total.<br>Sample cache size: 0 B<br>User name: pulse<br>Host Name: Nokia-N900<br>
Server Name: pulseaudio<br>Server Version: 0.9.15<br>Default Sample Specification: s16le 2ch 48000Hz<br>Default Channel Map: front-left,front-right<br>Default Sink: sink.music<br>Default Source: source.record<br>Cookie: 26e54bb2<br>
-------------------------------------------------<br><br>br,<br>Quinn<br><br><div class="gmail_quote">On Fri, May 20, 2011 at 6:58 PM, Quinn Plattel <span dir="ltr">&lt;<a href="mailto:qiet72@gmail.com">qiet72@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br><br>This is interesting:<br><br>client: ssh -XL 4713:localhost:4713 user@server<br>server: PULSE_LOG=99 pactl stat<br>
----------------------------------------<br>Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472<br>
Trying to connect to /home/quinn/.pulse/1ffe0fd6b5c9262aaa374e734c2cc8d0-runtime/native...<br>SHM possible: yes<br>Protocol version: remote 16, local 16<br>Negotiated SHM: yes<br>Currently in use: 1 blocks containing 63.9 KiB bytes total.<br>

Allocated during whole lifetime: 15741 blocks containing 81.5 MiB bytes total.<br>Sample cache size: 0 B<br>User name: quinn<br>Host Name: server<br>Server Name: pulseaudio<br>Server Version: 0.9.21-63-gd3efa-dirty<br>Default Sample Specification: s16le 2ch 44100Hz<br>

Default Channel Map: front-left,front-right<br>Default Sink: auto_null<br>Default Source: auto_null.monitor<br>Cookie: 6ccbf517<br>----------------------------------------<br>server: export PULSE_SERVER=localhost:4713<br>

server: PULSE_LOG=99 pactl stat<br>---------------------------------------<br>Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472<br>Trying to connect to localhost:4713...<br>

connect(): Connection refused<br>Connection failure: Connection refused<br>---------------------------------------<br><br>Ideas?<br><font color="#888888"><br>Quinn<br><br></font><div class="gmail_quote"><div class="im">On Fri, May 20, 2011 at 5:48 PM, Colin Guthrie <span dir="ltr">&lt;<a href="mailto:gmane@colin.guthr.ie" target="_blank">gmane@colin.guthr.ie</a>&gt;</span> wrote:<br>

</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
&#39;Twas brillig, and Quinn Plattel at 20/05/11 15:52 did gyre and gimble:<br>
<div>&gt; I am currently trying to attempt to redirect pulse audio sound from a<br>
&gt; server to a client through ssh.  I am bit unclear on what the correct<br>
&gt; way is of doing it.<br>
<br>
</div>Firstly, I wrote up how our X11 piggy backing stuff work here:<br>
<br>
<a href="http://colin.guthr.ie/2009/08/sound-on-linux-is-confusing-defuzzing-part-2-pulseaudio/" target="_blank">http://colin.guthr.ie/2009/08/sound-on-linux-is-confusing-defuzzing-part-2-pulseaudio/</a><br>
<br>
<br>
Technically we do not tunnel over SSH directly (this can of course be<br>
done, but not automatically as SSH does not know about PA in the same<br>
way it knows about X11). We can however piggy back on the X11 forwarding<br>
built into SSH for our authentication (cookie) and server connection<br>
strings.<br>
<br>
If this is on a private network (direct routing) then the built in way<br>
is the best, but it doesn&#39;t go over SSH. You just need to ensure the<br>
machine you&#39;re sshing from has the netwrok protocol module loaded into<br>
PA (pactl load-module module-protocol-native-tcp, or put it in your<br>
<a href="http://default.pa" target="_blank">default.pa</a>) and make sure port 4713/tcp is open for external connections.<br>
<br>
Also ensure that module-x11-publish is loaded on the client side and you<br>
should get some interesting results from &quot;xprop -root | grep PULSE&quot;.<br>
<br>
Then when you ssh with x11 forwarding running the xprop command on the<br>
remote machine should show you the same results.<br>
<br>
<br>
<br>
If you cannot use the direct connection, just setup TCP tunnels in your<br>
SSH config and then hack the PULSE_SERVER property or env var on the<br>
remote machine to point to e.g. localhost:4713 which will actually be a<br>
tunnel back to localhost:4713 on the remote machine. The PULSE_COOKIE<br>
stuff already forwarded should be enough for auth.<br>
<br>
For debugging connections:<br>
<br>
PULSE_LOG=99 pactl stat<br>
<br>
This shows you e.g. the server name it&#39;s trying to connect to etc.<br>
<br>
<br>
Hope that helps (although I wrote it really quick so apologies if it<br>
doesn&#39;t! I&#39;ll clarify later if needs be :D)<br>
<br>
Col<br>
<br>
<br>
--<br>
<br>
Colin Guthrie<br>
gmane(at)<a href="http://colin.guthr.ie" target="_blank">colin.guthr.ie</a><br>
<a href="http://colin.guthr.ie/" target="_blank">http://colin.guthr.ie/</a><br>
<br>
Day Job:<br>
  Tribalogic Limited [<a href="http://www.tribalogic.net/" target="_blank">http://www.tribalogic.net/</a>]<br>
Open Source:<br>
  Mageia Contributor [<a href="http://www.mageia.org/" target="_blank">http://www.mageia.org/</a>]<br>
  PulseAudio Hacker [<a href="http://www.pulseaudio.org/" target="_blank">http://www.pulseaudio.org/</a>]<br>
  Trac Hacker [<a href="http://trac.edgewall.org/" target="_blank">http://trac.edgewall.org/</a>]<br>
<br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@mail.0pointer.de" target="_blank">pulseaudio-discuss@mail.0pointer.de</a><br>
<a href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss" target="_blank">https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss</a><br>
</blockquote></div></div></div><br><br clear="all"><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards/Med venlig hilsen,<br>Quinn Plattel<br>