They way I worked out a similar situation (I am doing an ssh from the box into the box and sometimes from a different box into it) was to setup the PA of the user I ssh as and it IS a user that I would never login directly as to use PA over the network. So as long as someone is logged in then it&#39;s PA works. You could have a couple of different configurations sitting around and do some shell trickery and start different configurations depending on the environment.<div>

<br></div><div>Does PA support conditional config files? Maybe it can be all kept in the PA file and just set an environment variable.<br><div><br clear="all">Fred F<br><br>
<br><br><div class="gmail_quote">On Tue, Feb 9, 2010 at 11:59 AM, Markus Rechberger <span dir="ltr">&lt;<a href="mailto:mrechberger@gmail.com">mrechberger@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

On Tue, Feb 9, 2010 at 5:17 PM, Bill Cox &lt;<a href="mailto:waywardgeek@gmail.com">waywardgeek@gmail.com</a>&gt; wrote:<br>
&gt; The corking stuff in PA is very cool.  I don&#39;t think anyone objects to<br>
&gt; it.  But couldn&#39;t we quell all the &quot;PA stinks!&quot; posts by just allowing<br>
&gt; some processes/groups/users to have constant access to audio?<br>
&gt;<br>
&gt; Comparisons to MAC and Windows have been going on for a while, and the<br>
&gt; PA guys are basically right that PA is more like Windows and Mac than<br>
&gt; the older sound systems.  If I&#39;m not mistaken, the real issue is all<br>
&gt; the very valid reasons people out in Linux land have for multi-user<br>
&gt; simultaneous access to sound.  I&#39;d say those guys are generating most<br>
&gt; of the negative PA e-mails I read, and not just on this forum.<br>
&gt;<br>
<br>
you cannot compare it with mac, on mac multiuser access works like it<br>
worked with alsa and OSS.<br>
The only point is that this behavior should be considered to be fixed<br>
up again in future.<br>
I would not wonder if a remote login in windows as a different<br>
permitted user would provide audio support.<br>
I do agree that when the user behind the PC is switched that those<br>
audio instances should be exclusive.<br>
But remote terminals are a different topic and should be handled different.<br>
the problem I see with that design is that as soon as the user logs<br>
out the PA process might vanish again<br>
so you are really stuck with the system daemon if you want to get<br>
multiuser support.<br>
although another possibility might that other PA daemons connect to<br>
the first PA instance and just pass through<br>
the first instance might do some user accounting and only shut down<br>
when all other PA instances are gone<br>
but in that case the system wide mode seems to be more elegant again...<br>
<br>
Markus<br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@mail.0pointer.de">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><br></div></div>