<?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 xhost in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470577#M775211</link>
    <description>I have an application on my server that need "xhost +" to be executed from the console to run well. How i can make my "xhost +" to start as the system boot?</description>
    <pubDate>Tue, 05 Dec 2000 15:01:11 GMT</pubDate>
    <dc:creator>Jasmin Berube</dc:creator>
    <dc:date>2000-12-05T15:01:11Z</dc:date>
    <item>
      <title>xhost</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470577#M775211</link>
      <description>I have an application on my server that need "xhost +" to be executed from the console to run well. How i can make my "xhost +" to start as the system boot?</description>
      <pubDate>Tue, 05 Dec 2000 15:01:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470577#M775211</guid>
      <dc:creator>Jasmin Berube</dc:creator>
      <dc:date>2000-12-05T15:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: xhost</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470578#M775212</link>
      <description>to generally turn off access control create the file&lt;BR /&gt;&lt;BR /&gt;/etc/X0.hosts&lt;BR /&gt;&lt;BR /&gt;with the contents&lt;BR /&gt;&lt;BR /&gt;+&lt;BR /&gt;&lt;BR /&gt;This will allow any host to have acces to the X server.&lt;BR /&gt;&lt;BR /&gt;See also 'man xhost'</description>
      <pubDate>Tue, 05 Dec 2000 15:15:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470578#M775212</guid>
      <dc:creator>Rainer_1</dc:creator>
      <dc:date>2000-12-05T15:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: xhost</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470579#M775213</link>
      <description>Jasmine,&lt;BR /&gt;&lt;BR /&gt;The simplest place to put this command is in the /etc/inittab file.  You can use the following syntax:&lt;BR /&gt;&lt;BR /&gt;xhst:234:once:/usr/bin/X11/xhost +&lt;BR /&gt;&lt;BR /&gt;Have a Great Day!</description>
      <pubDate>Tue, 05 Dec 2000 15:16:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470579#M775213</guid>
      <dc:creator>Albert E. Whale, CISSP</dc:creator>
      <dc:date>2000-12-05T15:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: xhost</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470580#M775214</link>
      <description>Hi Jasmin,&lt;BR /&gt;You can use /etc/X0.hosts. This is an ASCII file that contains the hostnames autorized to use the X display. You must have the name of your server and so is not necesssary to use the "xhost +" command.&lt;BR /&gt;Regard,&lt;BR /&gt;Manuel</description>
      <pubDate>Tue, 05 Dec 2000 15:17:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470580#M775214</guid>
      <dc:creator>Manuel Plaza</dc:creator>
      <dc:date>2000-12-05T15:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: xhost</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470581#M775215</link>
      <description>Hi Jasmine:&lt;BR /&gt;&lt;BR /&gt;do a man on Xserver.  It says in there that you should create a /etc/Xn.hosts where n is the display number (eg. 0) and place in there, the addresses of the hosts to allow...  I am guessing if you &lt;BR /&gt;&lt;BR /&gt;# echo "+" &amp;gt;&amp;gt; /etc/X0.hosts&lt;BR /&gt;&lt;BR /&gt;it should do what you want.</description>
      <pubDate>Tue, 05 Dec 2000 15:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470581#M775215</guid>
      <dc:creator>Kofi ARTHIABAH</dc:creator>
      <dc:date>2000-12-05T15:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: xhost</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470582#M775216</link>
      <description>Jasmin,&lt;BR /&gt;&lt;BR /&gt;Unfortunately Rainer is incorrect.  The /etc/X0.hosts file should be a list of hosts that are automatically granted access to the X server.  Also, since the X server will attempt to ping every host in this file during initialization, if any host in here is not a valid hostname (including the "+" character) this will instead create a situation where the X server will fail to completely initialise, and you will most likely end up with a black screen.&lt;BR /&gt;&lt;BR /&gt;The easiest way of completely disabling access control on your X server (ie, the equivalent of doing an "xhost +" at the console) would be to add the "-ac" command-line option to the "/usr/bin/X11/X" command-line.  If your system uses CDE, then you would want to edit /etc/dt/config/Xservers, and modify it so the "local" entry appears as follows:&lt;BR /&gt;&lt;BR /&gt;*  local  local@console  /usr/bin/X11/X :0 -ac&lt;BR /&gt;&lt;BR /&gt;I hope this helps&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Dec 2000 15:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470582#M775216</guid>
      <dc:creator>Kenneth Platz</dc:creator>
      <dc:date>2000-12-05T15:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: xhost</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470583#M775217</link>
      <description>I tried to put "-ac" option in /etc/dt/config/Xservers file as mentionned. If I do "xhost" command on the console it says access control disable, but it doesn't work until I do "xhost +" again.... Have an idea?</description>
      <pubDate>Tue, 05 Dec 2000 18:28:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xhost/m-p/2470583#M775217</guid>
      <dc:creator>Jasmin Berube</dc:creator>
      <dc:date>2000-12-05T18:28:54Z</dc:date>
    </item>
  </channel>
</rss>

