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