<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Holy Cow
John! I knew there was an easy answer!&nbsp; That did it!<br>
<br>
Where should I send your 6 pack of beer? ;-)<br>
<br>
THANKS A MILLION!<br>
<br>
brad<br>
</font></font><br>
john salch wrote:
<blockquote cite="mid20041021034740.50956.qmail@web50902.mail.yahoo.com"
 type="cite">
  <pre wrap="">export DISPLAY=0.1

--- Maarten <a class="moz-txt-link-rfc2396E" href="mailto:mythtv@ultratux.org">&lt;mythtv@ultratux.org&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">On Thursday 21 October 2004 02:19, Brad Fuller
wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Ok, I looked the FAQ over. And, I don't know what
      </pre>
    </blockquote>
    <pre wrap="">to do. I assume it has
    </pre>
    <blockquote type="cite">
      <pre wrap="">something to do with the inability for a user (or
      </pre>
    </blockquote>
    <pre wrap="">root for that matter
    </pre>
    <blockquote type="cite">
      <pre wrap="">-- i tried that) to switch to DISPLAY:1.
There should be an easy way to do this, rather
      </pre>
    </blockquote>
    <pre wrap="">than running at init3
    </pre>
    <blockquote type="cite">
      <pre wrap="">As I mentioned, I have no problem running myth to
      </pre>
    </blockquote>
    <pre wrap="">the computer display with
    </pre>
    <blockquote type="cite">
      <pre wrap=""># export DISPLAY=:0
# mythfrontend

But, I receive the following error if

# export DISPLAY=:1
# mythfrontend
mythfrontend: cannot connect to X server: 1
      </pre>
    </blockquote>
    <pre wrap="">This behavior could be consistent with having the X
server started by a 
different user than the one connecting later.  Note
that when user fubar 
starts (owns) the X session, not even the user root
can connect to it (not 
without resorting to trickery at least).  So, be
sure you start the X server 
by the same account throughout.

But I think in that case the errormessage is
slightly different:
unable to open display ""  is what I see here.

You could test to see if this would make any
difference: adding the command 
'xhost +' in between export DISPLAY=:1 and the rest.
 However, again, xhost 
must be run by the user owning the X session,
otherwise it will just return a 
failure.  Please note that running 'xhost +' is NOT
secure, it will open up 
your X session for everybody.  So use this only in a
trusted environment !

Maarten

_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>

    </pre>
  </blockquote>
  <pre wrap=""><!----><a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  </pre>
  <pre wrap=""><!---->
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  </pre>
</blockquote>
</body>
</html>