[mythtv-users] Re: VNC launches second mythfrontend

Robert Tsai rtsai1111 at comcast.net
Wed Apr 20 19:29:11 UTC 2005


On Wed, Apr 20, 2005 at 11:51:40AM -0700, Jarod Wilson 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.

At least on my system, there is a $VNCDESKTOP environment variable
that gets set by /usr/bin/vncserver that child sessions use to
identify whether or not they are running inside of a VNC session ...

This is the tightvncserver package on debian.

--Rob


More information about the mythtv-users mailing list