<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Xwindow Problem - Can't open display: %s in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6565276#M603249</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing an error while trying to get a HP-UX GUI using Xwindow. here are the details:&lt;/P&gt;&lt;P&gt;system : HPVM with HP-UX 11i v3&lt;/P&gt;&lt;P&gt;xclient : XMing&lt;/P&gt;&lt;P&gt;I've started the xfs deamon and set the display vairable as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# ps -ef|grep -i x11&lt;BR /&gt;root 7100 1 0 04:03:58 ? 0:00 /usr/bin/X11/xfs -config /etc/X11/fs/config -port 7000 -daemon -quiet_if_addrinuse&lt;BR /&gt;# env|grep -i dis&lt;BR /&gt;DISPLAY=localhost:0.0&lt;BR /&gt;# xterm&lt;BR /&gt;xterm Xt error: Can't open display: %s&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't what's wrong and how to fix it. Any help is really appreciaed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashutosh Singh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Aug 2014 11:36:51 GMT</pubDate>
    <dc:creator>ashutosh99</dc:creator>
    <dc:date>2014-08-06T11:36:51Z</dc:date>
    <item>
      <title>Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6565276#M603249</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing an error while trying to get a HP-UX GUI using Xwindow. here are the details:&lt;/P&gt;&lt;P&gt;system : HPVM with HP-UX 11i v3&lt;/P&gt;&lt;P&gt;xclient : XMing&lt;/P&gt;&lt;P&gt;I've started the xfs deamon and set the display vairable as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# ps -ef|grep -i x11&lt;BR /&gt;root 7100 1 0 04:03:58 ? 0:00 /usr/bin/X11/xfs -config /etc/X11/fs/config -port 7000 -daemon -quiet_if_addrinuse&lt;BR /&gt;# env|grep -i dis&lt;BR /&gt;DISPLAY=localhost:0.0&lt;BR /&gt;# xterm&lt;BR /&gt;xterm Xt error: Can't open display: %s&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't what's wrong and how to fix it. Any help is really appreciaed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashutosh Singh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2014 11:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6565276#M603249</guid>
      <dc:creator>ashutosh99</dc:creator>
      <dc:date>2014-08-06T11:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6565386#M603250</link>
      <description>Maybe the variable is wrong. Not sure about your settings.&lt;BR /&gt;&lt;BR /&gt;Try "mobaxterm" (X over ssh), works perfectly. Google it!</description>
      <pubDate>Wed, 06 Aug 2014 13:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6565386#M603250</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2014-08-06T13:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6565618#M603251</link>
      <description>&lt;P&gt;&amp;gt;DISPLAY=localhost:0.0&lt;/P&gt;&lt;P&gt;&amp;gt;Maybe the variable is wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would be my thought too.&amp;nbsp; I would have thought that is the location of the DISPLAY ON the server, not the PC.&lt;/P&gt;&lt;P&gt;When I use putty and ssh and xming, I get a variable like: localhost:##:0&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6565618#M603251</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-08-06T15:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6566612#M603252</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt; &lt;STRONG&gt;DISPLAY=localhost:0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unless you are using a display, mouse and keyboard connected to the computer, this is not a valid setting. If you use Linux a lot (where the KVM is part of the computer), it is easy to make this mistake. The DISPLAY variable is used to tell Xwindows where to route the graphics. Since you mentioned Xming (which works quite well), you are probably using a PC as your display device. Therefore, the setting for DISPLAY must point to your PC, not the localhost:0.0 on the HP-UX system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To set the DISPLAY variable automatically, run this command:&lt;/P&gt;&lt;PRE&gt;export DISPLAY=$(who -muR | awk '{print $NF}'):0.0"&lt;/PRE&gt;&lt;P&gt;What this does is (from the HP-UX side) to identify your PC's connection and set that&amp;nbsp; address as the DISPLAY variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, Xwindows is considered to be a network security risk so if your Xwindow data is flowing across routers, your company may block port 7000 which will prevent Xwindows from working except within a local subnet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, Xwindows is only useful when displaying graphic images. If you are using it to login to HP-UX with xterm, that is a very cumbersome and network-intensive way to communicate. Download PuTTY and you'll eliminate all the issues with Xwindow connectivity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2014 11:16:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6566612#M603252</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2014-08-08T11:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6566632#M603253</link>
      <description>&lt;P&gt;As said, if you really need X, consider to tunnel via ssh.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2014 11:53:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6566632#M603253</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2014-08-07T11:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6566648#M603254</link>
      <description>&lt;P&gt;Thank you all for your valuable inputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried changing the display variable, but the problem presisted. I googled the problem and there were some directions reagrding the .Xauthority file being corrupt. I'm not sure what this file does and how to correct it. Maybe, if you guys have any ideas about the same, please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try mobaxterm to see if it works for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I know Xwindows is quite cumbersome, but I need to configure bastille in my environment and that can be only setup using GUI. So, I kind of need te GUI for the time being.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashutosh Singh&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6566648#M603254</guid>
      <dc:creator>ashutosh99</dc:creator>
      <dc:date>2014-08-07T12:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6566650#M603255</link>
      <description>&lt;P&gt;Yes, bastille need it ...&lt;BR /&gt;&lt;BR /&gt;Run mobaxterm on your pc,&amp;nbsp; do ssh (sessions icon upper left corner, or just type ssh from the shell) to the server and start bastille.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is cygwin in a single executable file, cool.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2014 12:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6566650#M603255</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2014-08-07T12:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6567052#M603256</link>
      <description>&lt;P&gt;&amp;gt;To set the DISPLAY variable automatically, run this command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have too many "$(":&lt;/P&gt;&lt;P&gt;export DISPLAY=$(who -muR | awk '{print $NF}'):0.0"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(You can edit your post by Post Options &amp;gt; Edit Reply.)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2014 18:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6567052#M603256</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2014-08-07T18:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6567736#M603257</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt; You have too many "$(":&lt;/P&gt;&lt;P&gt;&amp;nbsp;Yep. I fixed the line. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2014 11:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6567736#M603257</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2014-08-08T11:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6568192#M603258</link>
      <description />
      <pubDate>Fri, 08 Aug 2014 22:14:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6568192#M603258</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2014-08-08T22:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Xwindow Problem - Can't open display: %s</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6579738#M603259</link>
      <description>I couldn't fix this problem using putty and xming.&lt;BR /&gt;Though mobaxterm worked like a charm.&lt;BR /&gt;&lt;BR /&gt;Thanks to all for your valuable inputs.</description>
      <pubDate>Wed, 20 Aug 2014 12:30:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindow-problem-can-t-open-display-s/m-p/6579738#M603259</guid>
      <dc:creator>ashutosh99</dc:creator>
      <dc:date>2014-08-20T12:30:06Z</dc:date>
    </item>
  </channel>
</rss>

