<div dir="ltr">Oh, and you&#39;ll probably need xauth and xvfb installed on the Linux box to get x forwarding working.<div><br></div><div>This page has a discussion that might be relevant, if you haven&#39;t already found it:</div>

<div><br></div><div><a href="http://unix.stackexchange.com/questions/76113/x11-forwarding-not-working-from-putty-and-xming-to-centos-6-4">http://unix.stackexchange.com/questions/76113/x11-forwarding-not-working-from-putty-and-xming-to-centos-6-4</a><br>

</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 27, 2014 at 10:25 AM,  <span dir="ltr">&lt;<a href="mailto:foo7775@comcast.net" target="_blank">foo7775@comcast.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:Arial">Thank you Quentin, it&#39;s worth a try.  Will update with results.<br>

<br>T.<br><hr><b>From: </b>&quot;Quentin Hartman&quot; &lt;<a href="mailto:qhartman@gmail.com" target="_blank">qhartman@gmail.com</a>&gt;<br><b>To: </b>&quot;CLUE&#39;s mailing list&quot; &lt;<a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a>&gt;<br>

<b>Sent: </b>Thursday, February 27, 2014 10:14:59 AM<br><b>Subject: </b>Re: [clue] &#39;Export display&#39; question<div><div class="h5"><br><br><div dir="ltr">According to <a href="http://www.sharpusa.com/ForBusiness/DocumentSystems/MFPsPrinters/MXM503.aspx" target="_blank">http://www.sharpusa.com/ForBusiness/DocumentSystems/MFPsPrinters/MXM503.aspx</a> that printer claims to support PCL6 and may support Postscript, so you could try using a generic PCL or Postcript driver using a standard port 9100 network printer config. It may &quot;just work&quot;. I&#39;ve done that countless times to get &quot;unsupported&quot; printers to work in Linux. You lose some of the fancier options, but they spit out pages just fine.</div>



<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 27, 2014 at 9:39 AM,  <span dir="ltr">&lt;<a href="mailto:foo7775@comcast.net" target="_blank">foo7775@comcast.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div style="font-size:12pt;font-family:Arial">Hi guys, I have a problem with a serious time component.<br><br>Trying to run a Sharp printer install routine on a &quot;cmdline-only&quot; RHEL 6.4 system <i>(no Xwindows installed)</i>.  My connection is via SSH over PuTTY from my Win7 workstation <i>(through a VPN)</i>.  When I run ./setup, the routine returns &#39;Can&#39;t open display&#39;.  I&#39;ve enabled X11 forwarding within PuTTY, and entered &quot;&lt;wkstn IP addr&gt;:0.0&quot; in the &#39;X display location&#39; blank.  Also tried it with &quot;&lt;wkstn IP addr&gt;:0&quot;, same result.  <br>



<br>  One popular suggestion that I&#39;ve found on many pages is to enter &#39;xhost +&#39; at the command line - but since this server doesn&#39;t have X installed, there is no xhost.<br><br>  I&#39;ve then installed Xming on my workstation, configured it as per <a href="http://www.nth-design.com/2010/05/19/x11-putty-xming/" target="_blank">www.nth-design.com/2010/05/19/x11-putty-xming/</a> precisely.<br>



<br>Wasn&#39;t quite sure if I had to make a corresponding change on the server, so I tried entering &quot;export display &lt;wkstn IP addr&gt;:0.0&quot; on the RHEL box, then running setup again.  No luck.  Also tried it with &quot;export display &lt;wkstn IP addr&gt;:0&quot;, same result.<br>



<br>Looked around for a bit more information, found this page (<a href="http://www.doxer.org/learn-linux/use-xming-xshell-to-display-linux-gui-to-windows-desktop-x11-forwarding/" target="_blank">http://www.doxer.org/learn-linux/use-xming-xshell-to-display-linux-gui-to-windows-desktop-x11-forwarding/</a>) which changed the observed behavior a bit - *now* when I run setup, it pauses for maybe 20-30 seconds before returning the &#39;Can&#39;t open display&#39; error <i>(which leads me to suspect that at least the server-side of the equation might be working correctly now)</i>.<br>



<br>The setup routine is a binary, so it&#39;s opaque to me.  <br><br>X11 forwarding is enabled within the sshd_config file.  /var/log/messages contains no entries from today.<br><br>The Windows firewall has an exception to allow XMing via the &#39;Private&#39; network types, but *not* through domain types, so that could be an issue <i>(I&#39;m currently unable to toggle that, suspect it&#39;s managed by either the security team or &#39;desktops/wkstn&#39; team)</i>.  (I&#39;ve sent an email to the company directors who are emphasizing the time pressure, with any luck they&#39;ll be able to get me past *that* speed bump.)<br>



<br>The Xming log contains this snippet, which *seems* to indicate that it thinks that everything on my Win7 box is OK:<br><br><font face="Consolas"><span style="font-size:11pt"><div><font color="#002060" face="Calibri">winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0</font></div>




<div><font color="#002060" face="Calibri">winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0</font></div>
<div><font color="#002060" face="Calibri">winProcEstablishConnection - Hello</font></div>
<div><font color="#002060" face="Calibri">winInitClipboard ()</font></div>
<div><font color="#002060" face="Calibri">winProcEstablishConnection - winInitClipboard returned.</font></div>
<div><font color="#002060" face="Calibri">winClipboardProc - Hello</font></div>
<div><font color="#002060" face="Calibri">DetectUnicodeSupport - Windows Vista</font></div>
<div><font color="#002060" face="Calibri">winClipboardProc - DISPLAY=127.0.0.1:0.0</font></div>
<div><font color="#002060" face="Calibri">winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.</font></div>
<div><font color="#002060" face="Calibri">winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.</font></div>
<div><font color="#002060" face="Calibri">winClipboardProc - XOpenDisplay () returned and successfully opened the display.</font></div></span></font><br><br>To be quite honest, I *don&#39;t care* about running the setup routine, if I could get the printers installed another way - but the foomatic info that I&#39;ve seen this server doesn&#39;t list a Sharp MX-503N, &amp; I haven&#39;t been able to find any other, compatible models that I could try.<br>



<br>I&#39;d sure be grateful for any help/suggestions, etc.  TIA.<br><br>T,.<br></div></div><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>For information, account preferences, or to unsubscribe see:<br><a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a></div>

</div></div></div><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div>