Thanks Raine. My current understanding is that artsshell -q terminate does in fact stop the pulseaudio processes but it does not release enough memory (by removing the contents of /dev/shm) to allow a second startup of qjackctl. The exact symptoms would vary with the amount of memory installed in a given machine. <div>
<br></div><div>John<br><br><div class="gmail_quote">On Mon, May 31, 2010 at 3:49 AM, Raine M. Ekman <span dir="ltr">&lt;<a href="mailto:raine@iki.fi">raine@iki.fi</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sun, 30 May 2010, John Ouzts wrote:<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are you putting the &quot;/usr/bin/pacmd exit; rm /dev/shm pulse*&quot; script into<br>
the qjackctl&gt;Setup&gt;Options box?<br>
</blockquote>
<br></div>
I actually only did this cleanup from the command line so far, but that is the place where I&#39;d put the commands. Any more commands and I&#39;d migrate it to ~/bin/jack-prestart.sh or something.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I suppose the replacement script would need to be setuid, since at least<br>
one of the pulseaudio files could not be removed as user. That in turn,<br>
I think, means this needs to be a compiled program rather than a shell<br>
script for security reasons. Does that make sense?<br>
</blockquote>
<br></div>
I wouldn&#39;t worry about that one file (left from playing some startup sound?) unless it actually causes problems. I&#39;m of course assuming a single user setup, where there wouldn&#39;t be leftovers from other users&#39; sessions.<br>
<font color="#888888">
<br>
-- <br>
 Raine M. Ekman  tel: 0400 838 395<br>
 <a href="mailto:raine@iki.fi" target="_blank">raine@iki.fi</a>    www: <a href="http://www.iki.fi/%7Eraine/" target="_blank">http://www.iki.fi/%7Eraine/</a><br>
<br>
<br>
</font></blockquote></div><br></div>