<?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: xhost+$HOSTNAME hangs.. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593831#M375216</link>
    <description>&lt;!--!*#--&gt;&amp;gt; Regarding the space between "xhost +&lt;BR /&gt;&amp;gt; $HOSTNAME", this is syntactically correct.&lt;BR /&gt;&amp;gt; If you remove the spaces between xhost and&lt;BR /&gt;&amp;gt; + and $HOSTNAME, it will throw error.&lt;BR /&gt;&lt;BR /&gt;Not really.  The space after "xhost" is&lt;BR /&gt;required; the space after "+" is not.&lt;BR /&gt;&lt;BR /&gt;      man xhost&lt;BR /&gt;&lt;BR /&gt;It would, of course, be interesting to see&lt;BR /&gt;what "$HOSTNAME" actually is.  Also, what&lt;BR /&gt;"$DISPLAY" is, because "xhost" expects to&lt;BR /&gt;talk to the X display.</description>
    <pubDate>Thu, 15 Apr 2010 01:20:46 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2010-04-15T01:20:46Z</dc:date>
    <item>
      <title>xhost+$HOSTNAME hangs..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593827#M375212</link>
      <description>Hi Gurus,&lt;BR /&gt;&lt;BR /&gt;I am facing some problem with xhost on my HP-UX11.23 machine. When i try to do &lt;BR /&gt;&lt;BR /&gt;xhost + $HOSTNAME 1&amp;gt;/dev/null 2&amp;gt;/dev/null&lt;BR /&gt; in a script, this hangs. When i tried to check what exactly this command returned by redirecting it into a file, the file was empty as nothing was written. Could you please tell me what should i check to troubleshoot this problem. Here is the CDE/X11 software version &lt;BR /&gt;&lt;BR /&gt;#swlist  |grep -e CDE&lt;BR /&gt;  CDE-English                                                   B.11.23.0409   English CDE Environment &lt;BR /&gt;INP hpsep2t:/var/tmp#swlist -l product |grep -i x11&lt;BR /&gt;  PHSS_36603                            1.0            X11 Font Library Patch &lt;BR /&gt;  X11                                   B.11.23        HP-UX X Window Software &lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Sudhir</description>
      <pubDate>Wed, 03 Mar 2010 08:47:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593827#M375212</guid>
      <dc:creator>kumasudh</dc:creator>
      <dc:date>2010-03-03T08:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: xhost+$HOSTNAME hangs..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593828#M375213</link>
      <description>I'd suggest downloading the "tusc" command - "Trace Unix System Calls." This will show you exactly what the xhost command is doing and when it hangs, you'll be able to see exactly what it's waiting for.&lt;BR /&gt;&lt;BR /&gt;I note in your command line in the body of your post, you have a space between "+" and "$HOSTNAME" - there should not be a space:&lt;BR /&gt;&lt;BR /&gt;xhost +$HOSTNAME 1&amp;gt;/dev/null 2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;For security's sake you should probably make sure that $HOSTNAME is not null, if you don't already.</description>
      <pubDate>Wed, 03 Mar 2010 12:49:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593828#M375213</guid>
      <dc:creator>mvpel</dc:creator>
      <dc:date>2010-03-03T12:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: xhost+$HOSTNAME hangs..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593829#M375214</link>
      <description>Hi mvpel,&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for the reply. Yes, i have already notified about my collegue about tusc. Is there anything else which i can check in between ?&lt;BR /&gt; Regarding the space between "xhost + $HOSTNAME", this is syntactically correct. If you remove the spaces between xhost and +  and $HOSTNAME, it will throw error.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Sudhir</description>
      <pubDate>Wed, 03 Mar 2010 14:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593829#M375214</guid>
      <dc:creator>kumasudh</dc:creator>
      <dc:date>2010-03-03T14:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: xhost+$HOSTNAME hangs..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593830#M375215</link>
      <description>Sounds like a potential DNS issue.  Can whatever ${HOSTNAME} is, resolve to an actual IP address?</description>
      <pubDate>Wed, 14 Apr 2010 22:04:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593830#M375215</guid>
      <dc:creator>Christopher Eubank</dc:creator>
      <dc:date>2010-04-14T22:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: xhost+$HOSTNAME hangs..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593831#M375216</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Regarding the space between "xhost +&lt;BR /&gt;&amp;gt; $HOSTNAME", this is syntactically correct.&lt;BR /&gt;&amp;gt; If you remove the spaces between xhost and&lt;BR /&gt;&amp;gt; + and $HOSTNAME, it will throw error.&lt;BR /&gt;&lt;BR /&gt;Not really.  The space after "xhost" is&lt;BR /&gt;required; the space after "+" is not.&lt;BR /&gt;&lt;BR /&gt;      man xhost&lt;BR /&gt;&lt;BR /&gt;It would, of course, be interesting to see&lt;BR /&gt;what "$HOSTNAME" actually is.  Also, what&lt;BR /&gt;"$DISPLAY" is, because "xhost" expects to&lt;BR /&gt;talk to the X display.</description>
      <pubDate>Thu, 15 Apr 2010 01:20:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593831#M375216</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-04-15T01:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: xhost+$HOSTNAME hangs..</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593832#M375217</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;From man xhost:&lt;BR /&gt;&lt;BR /&gt;[+]name The given name (the plus sign is optional)&lt;BR /&gt;&lt;BR /&gt;If the plus sign is optional, you could use in your script this:&lt;BR /&gt;&lt;BR /&gt;xhost $HOSTNAME 1&amp;gt;/dev/null 2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;Depending on your script/shell used, if you are using strings, '+' have a special meaning (concatenating 2 strings).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Horia.</description>
      <pubDate>Thu, 15 Apr 2010 04:15:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost-hostname-hangs/m-p/4593832#M375217</guid>
      <dc:creator>Horia Chirculescu</dc:creator>
      <dc:date>2010-04-15T04:15:06Z</dc:date>
    </item>
  </channel>
</rss>

