<div dir="ltr"><div class="gmail_quote">On Mon, Jul 28, 2008 at 10:52 AM, David Brieck Jr. <span dir="ltr">&lt;<a href="mailto:dbrieck@gmail.com">dbrieck@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="Wj3C7c">On Mon, Jul 28, 2008 at 11:51 AM, David Brieck Jr. &lt;<a href="mailto:dbrieck@gmail.com">dbrieck@gmail.com</a>&gt; wrote:<br>&gt; On Mon, Jul 28, 2008 at 11:44 AM, Michael T. Dean<br>&gt; &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:<br>
&gt;&gt; On 07/28/2008 11:40 AM, David Brieck Jr. wrote:<br>&gt;&gt;&gt; Until very recently (when I upgraded my Ubuntu box), I had a very nice<br>&gt;&gt;&gt; script setup so that I could remotely (re)start the frontend on one of<br>
&gt;&gt;&gt; my machines. Since the upgrade though, this doesn&#39;t seem to work<br>&gt;&gt;&gt; either locally or remotely. Any idea what I&#39;m missing or what changed?<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; #!/bin/bash<br>
&gt;&gt;&gt; export DISPLAY=:0<br>&gt;&gt;&gt; killall mythfrontend.real<br>&gt;&gt;&gt; killall irexec<br>&gt;&gt;&gt; nohup irexec&amp;<br>&gt;&gt;&gt; nohup mythfrontend&amp;<br>&gt;&gt;<br>&gt;&gt; Any errors? &nbsp;Any log output indicating problems (like missing HOME or<br>
&gt;&gt; something)? &nbsp;Might need to add -l /path/to/logfile to your mythfrontend<br>&gt;&gt; command line to see log output.<br>&gt;&gt;<br>&gt;&gt; Mike<br>&gt;<br>&gt; In noup.out I have the following output:<br>&gt;<br>
&gt; xprop: &nbsp;unable to open display &#39;&#39;<br>&gt; usage: &nbsp;xprop [-options ...] [[format [dformat]] atom] ...<br>&gt;<br>&gt; where options include:<br>&gt; &nbsp; &nbsp;-grammar &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print out full grammar for command line<br>
&gt; &nbsp; &nbsp;-display host:dpy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;the X server to contact<br>&gt; &nbsp; &nbsp;-id id &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; resource id of window to examine<br>&gt; &nbsp; &nbsp;-name name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name of window to examine<br>&gt; &nbsp; &nbsp;-font name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name of font to examine<br>
&gt; &nbsp; &nbsp;-remove propname &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove a property<br>&gt; &nbsp; &nbsp;-set propname value &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set a property to a given value<br>&gt; &nbsp; &nbsp;-root &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;examine the root window<br>&gt; &nbsp; &nbsp;-len n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display at most n bytes of any property<br>
&gt; &nbsp; &nbsp;-notype &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;do not display the type field<br>&gt; &nbsp; &nbsp;-fs filename &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; where to look for formats for properties<br>&gt; &nbsp; &nbsp;-frame &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; don&#39;t ignore window manager frames<br>
&gt; &nbsp; &nbsp;-f propname format [dformat] &nbsp; formats to use for property of given name<br>&gt; &nbsp; &nbsp;-spy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; examine window properties forever<br>&gt;<br>&gt; mythfrontend.real: cannot connect to X server<br>
&gt;<br>&gt;<br>&gt; Obviously something with remote X connections, but it used to work<br>&gt; properly before, which has me dumbfounded.<br>&gt;<br><br></div></div>Correction, here is the output:<br><br>Xlib: connection to &quot;:0.0&quot; refused by server<br>
Xlib: Invalid MIT-MAGIC-COOKIE-1 key<br>xprop: &nbsp;unable to open display &#39;:0&#39;<br>
<div class="Ih2E3d">usage: &nbsp;xprop [-options ...] [[format [dformat]] atom] ...<br><br>where options include:<br>&nbsp; &nbsp;-grammar &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print out full grammar for command line<br>&nbsp; &nbsp;-display host:dpy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;the X server to contact<br>
&nbsp; &nbsp;-id id &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; resource id of window to examine<br>&nbsp; &nbsp;-name name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name of window to examine<br>&nbsp; &nbsp;-font name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name of font to examine<br>&nbsp; &nbsp;-remove propname &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove a property<br>
&nbsp; &nbsp;-set propname value &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set a property to a given value<br>&nbsp; &nbsp;-root &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;examine the root window<br>&nbsp; &nbsp;-len n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display at most n bytes of any property<br>&nbsp; &nbsp;-notype &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;do not display the type field<br>
&nbsp; &nbsp;-fs filename &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; where to look for formats for properties<br>&nbsp; &nbsp;-frame &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; don&#39;t ignore window manager frames<br>&nbsp; &nbsp;-f propname format [dformat] &nbsp; formats to use for property of given name<br>
&nbsp; &nbsp;-spy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; examine window properties forever<br><br></div>Xlib: connection to &quot;:0.0&quot; refused by server<br>Xlib: Invalid MIT-MAGIC-COOKIE-1 key<br>mythfrontend.real: cannot connect to X server :0<br>
<br>How do I set magic cookies?</blockquote>
<div>&nbsp;</div>
<div>I think &quot;xhost +&quot; from the graphical login on the frontend will allow other processes to connect and display on it.</div>
<div>&nbsp;</div>
<div>Kevin</div></div></div>