[mythtv-users] VNC launches second mythfrontend
lunchtimelarry at gmail.com
Tue Apr 19 17:24:32 UTC 2005
Yes, this is exactly what I am seeing as well, using Jarod's "power button"
script. This was causing me all kinds of pain until I finally realized that
2 instances of mythfrontend were running.
Thanks for the info.
On 4/19/05, gLaNDix (Jesse Kaufman) <glandix at lloydnet.org> wrote:
> >>Here's my theory. If anyone has suggestions on how to avoid this it
> >>be most welcome.
> >>I use Jarod's ~/.kde/Autostart/myth-load.sh, which among other things
> >>Since vnc starts a new KDE session, I think this gets run again for the
> >>session and therefore mythfrontend starts a second time.
> >>I would think this would be common as I suspect many people use both
> >>script and vnc.
> add the following into your myth-load.sh file:
> MYTH="`ps ax | grep mythfrontend | grep -v grep`"
> if [ ! "$MYTH" ]
> # place all stuff you want to run with mythfrontend here
> that checks for a running mythfrontend process and only executes the
> code inside the if/then if there isn't already a mythfrontend process
> running ...
> mythtv-users mailing list
> mythtv-users at mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users