[clue] 'Export display' question

foo7775 at comcast.net foo7775 at comcast.net
Thu Feb 27 09:39:22 MST 2014


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 X w indows 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,. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20140227/b44a7cdf/attachment.html 


More information about the clue mailing list