On Wednesday 20 April 2005 11:40, Aaron Stewart wrote:
> Silly question, but would it be better to determine whether mythfrontend
> is running before running a second one?

VNC starts before the script gets run, so folks would end up launching 
mythfrontend in their VNC session and then not on the actual desktop (since 
it was already running), thus the need to look at $DISPLAY instead.


> Allan Risk wrote:
> > DISPLAYCHECK="`printenv DISPLAY | grep -c :0`"

I think this should work well enough. I'll get around to changes on my end 
sooner or later... :-)

-- 
Jarod Wilson
[EMAIL PROTECTED]

Got a question? Read this first...
     http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
     http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
     http://www.gossamer-threads.com/lists/mythtv/

Attachment: pgpbBtdoWMkbs.pgp
Description: PGP signature

_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to