<?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: How to disable X Windows? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772611#M261576</link>
    <description>It stopped CDE, but the X Windows server still accepts connections.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ./dtlogin.rc stop&lt;BR /&gt;# ps -fela | grep -i dtlogin | grep -v grep&lt;BR /&gt;# &lt;BR /&gt;# xhost&lt;BR /&gt;access control disabled, clients can connect from any host&lt;BR /&gt;</description>
    <pubDate>Mon, 17 Apr 2006 13:37:58 GMT</pubDate>
    <dc:creator>dictum9</dc:creator>
    <dc:date>2006-04-17T13:37:58Z</dc:date>
    <item>
      <title>How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772607#M261572</link>
      <description>I need to disable X Windows and xhost.&lt;BR /&gt;&lt;BR /&gt;I tried xhost - but when I run xhost again it says:&lt;BR /&gt;&lt;BR /&gt;access control disabled, clients can connect from any host&lt;BR /&gt;&lt;BR /&gt;Also, I have the following line in: /etc/dt/config/Xconfig but it still doesn't do it.&lt;BR /&gt;&lt;BR /&gt;  Dtlogin.requestPort:       0&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Apr 2006 11:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772607#M261572</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-04-17T11:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772608#M261573</link>
      <description>Do not start the dtlogin.rc&lt;BR /&gt;Can remove this from startup or while running do /sbin/init.d/dtlogin.rc stop&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Apr 2006 11:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772608#M261573</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-04-17T11:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772609#M261574</link>
      <description>HI,&lt;BR /&gt;&lt;BR /&gt;See the following link&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=788343" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=788343&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Chan</description>
      <pubDate>Mon, 17 Apr 2006 11:59:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772609#M261574</guid>
      <dc:creator>Chan 007</dc:creator>
      <dc:date>2006-04-17T11:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772610#M261575</link>
      <description>The actual proferred way, I would think, is to edit /etc/rc.config.d/desktop.&lt;BR /&gt;&lt;BR /&gt;Change:&lt;BR /&gt;&lt;BR /&gt;DESKTOP="CDE"&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;DESKTOP=""</description>
      <pubDate>Mon, 17 Apr 2006 12:32:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772610#M261575</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2006-04-17T12:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772611#M261576</link>
      <description>It stopped CDE, but the X Windows server still accepts connections.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ./dtlogin.rc stop&lt;BR /&gt;# ps -fela | grep -i dtlogin | grep -v grep&lt;BR /&gt;# &lt;BR /&gt;# xhost&lt;BR /&gt;access control disabled, clients can connect from any host&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Apr 2006 13:37:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772611#M261576</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-04-17T13:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772612#M261577</link>
      <description>Shalom, &lt;BR /&gt;&lt;BR /&gt;Turn off the font server.&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/xfs stop&lt;BR /&gt;&lt;BR /&gt;edit&lt;BR /&gt;/etc/rc.config.d/xfs&lt;BR /&gt;&lt;BR /&gt;Make the first variable equal to 0&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 17 Apr 2006 13:41:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772612#M261577</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-17T13:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772613#M261578</link>
      <description>Here is what the actual STIG listing says. Could someone translate it for me. It says that output from xhost is OK, but if I am getting "clients can connect from any host", how can that possibly be secure?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;First, perform xhost from an X terminal. If the output report access control is enabled (and possibly lists the hosts that can receive X Window logins), this is not a finding. It may be necessary to define the display if the command reports it cannot open the display. Define the display with DISPLAY=&lt;HOSTNAME_IP&gt;:0; export DISPLAY. Then try the xhost command again.  If there are no X Windows used, the finding is Not Applicable.  If the xhost command returns a line indicating access control is disabled, this is a finding.&lt;BR /&gt;&lt;/HOSTNAME_IP&gt;</description>
      <pubDate>Mon, 17 Apr 2006 14:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772613#M261578</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-04-17T14:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772614#M261579</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;xhost is tied directly to the Xserver process.  If you truely want to disable all x access into the system, you will have to disable the Xserver process.  I am not that knowledgable about Xserver, but I do know it listens on port 6000.  If you disable that port, then no system will be able to connect graphically, regardless of of the xhosts output.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Apr 2006 14:36:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772614#M261579</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-04-17T14:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772615#M261580</link>
      <description>That's the problem, I am not sure what needs to be done to make the system compliant: Turn off the xserver completely or tune the xhost command output. &lt;BR /&gt;&lt;BR /&gt;The description is: The system is exporting X displays to anybody. &lt;BR /&gt;&lt;BR /&gt;My question is: Why doesn't running the xhost - not make any difference?&lt;BR /&gt;&lt;BR /&gt;And if it did work, would be sufficient?&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Apr 2006 15:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772615#M261580</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-04-17T15:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772616#M261581</link>
      <description>&lt;BR /&gt;If you look at the man page for xhost, it states that it is not a very good security measure, and that other methods should be used if you want a more secure environment....&lt;BR /&gt;&lt;BR /&gt;From the man page on xhost:&lt;BR /&gt; The xhost program is used to add and delete host names or user names&lt;BR /&gt;      to the list allowed to make connections to the X server.  In the case&lt;BR /&gt;      of hosts, this provides a rudimentary form of privacy control and&lt;BR /&gt;      security.  It is only sufficient for a workstation (single user)&lt;BR /&gt;      environment, although it does limit the worst abuses.  Environments&lt;BR /&gt;      which require more sophisticated measures should implement the user-&lt;BR /&gt;      based mechanism or use the hooks in the protocol for passing other&lt;BR /&gt;      authentication data to the server.</description>
      <pubDate>Mon, 17 Apr 2006 15:23:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772616#M261581</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-04-17T15:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772617#M261582</link>
      <description>See this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=945618" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=945618&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Apr 2006 17:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772617#M261582</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-17T17:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772618#M261583</link>
      <description>After modifying the file, do kill -HUP to the dtlogin process.</description>
      <pubDate>Mon, 17 Apr 2006 17:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772618#M261583</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-17T17:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772619#M261584</link>
      <description>xhost is like an access list. You can enable specific IP or hostnames to connect but it does NOT remove the Xserver. Edit the /etc/rc.config.d script as mentioned, then find the dtlogin processes like this:&lt;BR /&gt; &lt;BR /&gt;UNIX95=1 ps -fC dtlogin&lt;BR /&gt; &lt;BR /&gt;This method (to find processes by name) is stronlgy recommended over using grep.</description>
      <pubDate>Mon, 17 Apr 2006 20:37:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772619#M261584</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-04-17T20:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable X Windows?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772620#M261585</link>
      <description>xhost is like an access list. You can enable specific IP or hostnames to connect but it does NOT remove the Xserver. Edit the /etc/rc.config.d script as mentioned, then find the dtlogin processes like this:&lt;BR /&gt; &lt;BR /&gt;UNIX95=1 ps -fC dtlogin&lt;BR /&gt; &lt;BR /&gt;This method (to find processes by name) is stronlgy recommended over using grep. Kill the dtlogin process(es) and the Xwindow port will now be closed.</description>
      <pubDate>Mon, 17 Apr 2006 20:39:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-disable-x-windows/m-p/3772620#M261585</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-04-17T20:39:01Z</dc:date>
    </item>
  </channel>
</rss>

