[mythtv-users] Re: VNC launches second mythfrontend
Jarod Wilson
jarod at wilsonet.com
Wed Apr 20 18:51:40 UTC 2005
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050420/0b68d90c/attachment.pgp
More information about the mythtv-users
mailing list