<html><head></head><body>Using putty/Xming requires turning on X11 forwarding in putty before starting the session. I think that it is in the session properties. That is the equivalent to the -Y option in ssh. It has been a long time since I have used putty.<br><br><div class="gmail_quote">On September 17, 2017 7:03:10 PM CDT, Anthony Giggins <seven@seven.dorksville.net> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi all,<div><br /></div><div>Does anyone have a current working solution to run mythtv-setup on a headless backend? currently having nvidia display issues on backend</div><div><br /></div><div>From <a href="https://www.mythtv.org/wiki/Backend_migration">https://www.mythtv.org/wiki/Backend_migration</a> it suggests</div><div><br /></div><div><pre style="font-family:monospace,Courier;padding:1em;border:1px solid rgb(221,221,221);color:black;background-color:rgb(249,249,249);line-height:1.3em;font-size:14px">*Users with headless backends, type: ssh -l mythtv -Y <BackendHost> mythtv-setup</pre></div><div><br /></div><div>however this causes errors</div><div><br /></div><div>I've tried running from a frontend and via putty using Xming server from windows however I'm getting errors from both</div><div><br /></div><div><div>mysql: [Warning] Using a password on the command line interface can be insecure.</div><div>ERROR 1046 (3D000) at line 1: No database selected</div><div>xprop:  unable to open display ''</div><div>status: Name "com.ubuntu.Upstart" does not exist</div><div>xterm: Xt error: Can't open display:</div><div>xterm: DISPLAY is not set</div><div>Failed to connect to Mir: Failed to connect to server socket: No such file or directory</div><div>Unable to init server: Could not connect: Connection refused</div><div><br /></div><div>(zenity:27074): Gtk-WARNING **: cannot open display:</div><div>Failed to connect to Mir: Failed to connect to server socket: No such file or directory</div><div>Unable to init server: Could not connect: Connection refused</div><div><br /></div><div>(zenity:27079): Gtk-WARNING **: cannot open display:</div></div><div><br /></div><div>I've tried exporting DISPLAY to both 0.0 and <a href="http://127.0.0.1:0">127.0.0.1:0</a> (which should work via putty) but nothing is working</div><div><br /></div><div>Cheers,</div><div><br /></div><div>Anthony</div></div>
</blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>