Jarod,<br>
<br>
I don't think I'm running VNC (&quot;ps -ef | rep vnc&quot; shows nothing) and I
get two instances of the frontend with the power button script.&nbsp;
Any thoughts on that one?<br><br><div><span class="gmail_quote">On 4/20/05, <b class="gmail_sendername">Jarod Wilson</b> &lt;<a href="mailto:jarod@wilsonet.com">jarod@wilsonet.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wednesday 20 April 2005 11:40, Aaron Stewart wrote:<br>&gt; Silly question, but would it be better to determine whether mythfrontend<br>&gt; is running before running a second one?<br><br>VNC starts before the script gets run, so folks would end up launching
<br>mythfrontend in their VNC session and then not on the actual desktop (since<br>it was already running), thus the need to look at $DISPLAY instead.<br><br><br>&gt; Allan Risk wrote:<br>&gt; &gt; DISPLAYCHECK=&quot;`printenv DISPLAY | grep -c :0`&quot;
<br><br>I think this should work well enough. I'll get around to changes on my end<br>sooner or later... :-)<br><br>--<br>Jarod Wilson<br><a href="mailto:jarod@wilsonet.com">jarod@wilsonet.com</a><br><br>Got a question? Read this first...
<br>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://catb.org/~esr/faqs/smart-questions.html">http://catb.org/~esr/faqs/smart-questions.html</a><br>MythTV, Fedora Core &amp; ATrpms documentation:<br>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://wilsonet.com/mythtv/">http://wilsonet.com/mythtv/
</a><br>MythTV Searchable Mailing List Archive<br>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.gossamer-threads.com/lists/mythtv/">http://www.gossamer-threads.com/lists/mythtv/</a><br><br><br>_______________________________________________<br>
mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br><br><br><br></blockquote></div><br>