<?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 Re: cannot gopen display 'hostname:0.0' in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114620#M897601</link>
    <description>No, there is no separate nsswitch.conf for users - the one in /etc is for all users.&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Nov 2003 11:04:53 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2003-11-11T11:04:53Z</dc:date>
    <item>
      <title>cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114610#M897591</link>
      <description>I am trying to run a script that starts up a cad program on some workstations.  The error is: cannot gopen display 'hostname:0.0'&lt;BR /&gt;&lt;BR /&gt;I have issued: export DISPLAY=hostname:0.0&lt;BR /&gt;and: xhost +&lt;BR /&gt;&lt;BR /&gt;I still get this problem though.  I have never seen the word 'gopen' in this error before.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can log into the workstation, and export the display somewhere else and it will work.  I can also log into another machine and export the display back to the broken one, and it will work.&lt;BR /&gt;&lt;BR /&gt;What does this mean and how can I fix it?&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 10 Nov 2003 03:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114610#M897591</guid>
      <dc:creator>Steve Buchan_1</dc:creator>
      <dc:date>2003-11-10T03:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114611#M897592</link>
      <description>Was there a typo there?&lt;BR /&gt;  export DISPLAY=hostname:0.0&lt;BR /&gt;should be&lt;BR /&gt;  export DISPLAY=$(hostname):0.0&lt;BR /&gt;&lt;BR /&gt;-- Graham</description>
      <pubDate>Mon, 10 Nov 2003 03:49:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114611#M897592</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-11-10T03:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114612#M897593</link>
      <description>uh no typos..u just replaced the actual hostname with the word 'hostname' for the purposes of this post.&lt;BR /&gt;&lt;BR /&gt;I think I have it narrowed down, I just cant figure out why it has happened.&lt;BR /&gt;&lt;BR /&gt;The workstations are failing to reslove their own hostnames.  If I use IP addresses instead of hostnames for DISPLAY everything works.  hmm. I can work around for the moment since its meant to be my day off!&lt;BR /&gt;&lt;BR /&gt;Any thoughts appreciated</description>
      <pubDate>Mon, 10 Nov 2003 03:54:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114612#M897593</guid>
      <dc:creator>Steve Buchan_1</dc:creator>
      <dc:date>2003-11-10T03:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114613#M897594</link>
      <description>if your workstations are failing to resolve their own hostnames then it must be a dns problem. How is your /etc/nsswitch.conf setup? files or dns first ? We always run files first so that it will always be able to resolve its own hostname even if dns is playing up or down. Probably your dns server(s) are having problems, not resolving quickly enough ocassionally, thats why only some workstations are affected.&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Nov 2003 04:15:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114613#M897594</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-11-10T04:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114614#M897595</link>
      <description>Steve,&lt;BR /&gt;  Is the DNS working fine?  It may be a problem from that end.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy</description>
      <pubDate>Mon, 10 Nov 2003 04:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114614#M897595</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-11-10T04:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114615#M897596</link>
      <description>ah hah. thats the problem. the workstations that dont work have the hosts line missing from nsswitch.conf, and the ones that do work, have this line.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Mon, 10 Nov 2003 04:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114615#M897596</guid>
      <dc:creator>Steve Buchan_1</dc:creator>
      <dc:date>2003-11-10T04:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114616#M897597</link>
      <description>Because DNS is so critical to networking (and for workstations, CDE is dead without proper name resolution), it is always recommended that /etc/nsswitch.conf have the line:&lt;BR /&gt; &lt;BR /&gt;hosts: files [NOTFOUND=continue UNAVAIL=continue] dns&lt;BR /&gt; &lt;BR /&gt;so that your local hostname can always be resolved without depending on a DNS server. The other advantage is that a small /etc/hosts file containing production machine names/IPaddrs is much faster than asking a DNS server and some programs (like network backups) may ask the DNS server for a name lookup for every file. Having the info in a local file greatly reduces the load on the network and the DNS server.</description>
      <pubDate>Mon, 10 Nov 2003 09:21:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114616#M897597</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-11-10T09:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114617#M897598</link>
      <description>ok, I have now entered the neccessary information into the nsswitch.conf file, and rebooted all the boxes that were affected.&lt;BR /&gt;&lt;BR /&gt;hosts: nis [NOTFOUND=continue UNAVAIL=continue] files&lt;BR /&gt;&lt;BR /&gt;When I log in as root and nslookup the hostname, it resloves, using NIS as excepted.&lt;BR /&gt;&lt;BR /&gt;However, When the user logs in, and trys the same, nslookup still wants to use DNS.&lt;BR /&gt;&lt;BR /&gt;Is there a seperate nsswitch.conf for the users??&lt;BR /&gt;&lt;BR /&gt;This is really confusing me now</description>
      <pubDate>Mon, 10 Nov 2003 09:52:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114617#M897598</guid>
      <dc:creator>Steve Buchan_1</dc:creator>
      <dc:date>2003-11-10T09:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114618#M897599</link>
      <description>permissions on the nsswitch.conf were wrong.</description>
      <pubDate>Mon, 10 Nov 2003 10:20:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114618#M897599</guid>
      <dc:creator>Steve Buchan_1</dc:creator>
      <dc:date>2003-11-10T10:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114619#M897600</link>
      <description>By the way, gopen is the Starbase graphics function to connect to a 'device' such as a window.  It seems that the first thing the application complained about was trying to use Starbase.  That depends internally on the same XOpenDisplay and hostname resolution that a normal X connection uses.</description>
      <pubDate>Tue, 11 Nov 2003 11:01:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114619#M897600</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-11-11T11:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: cannot gopen display 'hostname:0.0'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114620#M897601</link>
      <description>No, there is no separate nsswitch.conf for users - the one in /etc is for all users.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Nov 2003 11:04:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-gopen-display-hostname-0-0/m-p/3114620#M897601</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-11-11T11:04:53Z</dc:date>
    </item>
  </channel>
</rss>

