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'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"><<a href="mailto:mrechberger@gmail.com">mrechberger@gmail.com</a>></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 <<a href="mailto:waywardgeek@gmail.com">waywardgeek@gmail.com</a>> wrote:<br>
> The corking stuff in PA is very cool. I don't think anyone objects to<br>
> it. But couldn't we quell all the "PA stinks!" posts by just allowing<br>
> some processes/groups/users to have constant access to audio?<br>
><br>
> Comparisons to MAC and Windows have been going on for a while, and the<br>
> PA guys are basically right that PA is more like Windows and Mac than<br>
> the older sound systems. If I'm not mistaken, the real issue is all<br>
> the very valid reasons people out in Linux land have for multi-user<br>
> simultaneous access to sound. I'd say those guys are generating most<br>
> of the negative PA e-mails I read, and not just on this forum.<br>
><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>