[clue] 'Export display' question

foo7775 at comcast.net foo7775 at comcast.net
Thu Feb 27 10:25:33 MST 2014


Thank you Quentin, it's worth a try. Will update with results. 

T. 
----- Original Message -----
From: "Quentin Hartman" <qhartman at gmail.com> 
To: "CLUE's mailing list" <clue at cluedenver.org> 
Sent: Thursday, February 27, 2014 10:14:59 AM 
Subject: Re: [clue] 'Export display' question 


According to http://www.sharpusa.com/ForBusiness/DocumentSystems/MFPsPrinters/MXM503.aspx 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 "just work". I've done that countless times to get "unsupported" printers to work in Linux. You lose some of the fancier options, but they spit out pages just fine. 



On Thu, Feb 27, 2014 at 9:39 AM, < foo7775 at comcast.net > wrote: 




Hi guys, I have a problem with a serious time component. 

Trying to run a Sharp printer install routine on a "cmdline-only" RHEL 6.4 system (no Xwindows installed) . My connection is via SSH over PuTTY from my Win7 workstation (through a VPN) . When I run ./setup, the routine returns 'Can't open display'. I've enabled X11 forwarding within PuTTY, and entered "<wkstn IP addr>:0.0" in the 'X display location' blank. Also tried it with "<wkstn IP addr>:0", same result. 

One popular suggestion that I've found on many pages is to enter 'xhost +' at the command line - but since this server doesn't have X installed, there is no xhost. 

I've then installed Xming on my workstation, configured it as per www.nth-design.com/2010/05/19/x11-putty-xming/ precisely. 

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

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

The setup routine is a binary, so it's opaque to me. 

X11 forwarding is enabled within the sshd_config file. /var/log/messages contains no entries from today. 

The Windows firewall has an exception to allow XMing via the 'Private' network types, but *not* through domain types, so that could be an issue (I'm currently unable to toggle that, suspect it's managed by either the security team or 'desktops/wkstn' team) . (I've sent an email to the company directors who are emphasizing the time pressure, with any luck they'll be able to get me past *that* speed bump.) 

The Xming log contains this snippet, which *seems* to indicate that it thinks that everything on my Win7 box is OK: 


winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 
winProcEstablishConnection - Hello 
winInitClipboard () 
winProcEstablishConnection - winInitClipboard returned. 
winClipboardProc - Hello 
DetectUnicodeSupport - Windows Vista 
winClipboardProc - DISPLAY=127.0.0.1:0.0 
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. 
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. 
winClipboardProc - XOpenDisplay () returned and successfully opened the display. 

To be quite honest, I *don't care* about running the setup routine, if I could get the printers installed another way - but the foomatic info that I've seen this server doesn't list a Sharp MX-503N, & I haven't been able to find any other, compatible models that I could try. 

I'd sure be grateful for any help/suggestions, etc. TIA. 

T,. 

_______________________________________________ 
clue mailing list: clue at cluedenver.org 
For information, account preferences, or to unsubscribe see: 
http://cluedenver.org/mailman/listinfo/clue 




_______________________________________________ 
clue mailing list: clue at cluedenver.org 
For information, account preferences, or to unsubscribe see: 
http://cluedenver.org/mailman/listinfo/clue 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20140227/2c55c728/attachment-0001.html 


More information about the clue mailing list