[mythtv-users] Re: VNC launches second mythfrontend

Larry K lunchtimelarry at gmail.com
Wed Apr 20 20:09:24 UTC 2005


Jarod,

I don't think I'm running VNC ("ps -ef | rep vnc" shows nothing) and I get 
two instances of the frontend with the power button script. Any thoughts on 
that one?

On 4/20/05, Jarod Wilson <jarod at wilsonet.com> wrote:
> 
> 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
> jarod at wilsonet.com
> 
> 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/
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050420/c923a4b3/attachment.htm


More information about the mythtv-users mailing list