<?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: $DISPLAY not getting set in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892834#M78133</link>
    <description>you can also use your hostname to set your display&lt;BR /&gt;&lt;BR /&gt;DISPLAY=hostname:0.0&lt;BR /&gt;&lt;BR /&gt;or if you're telnetting into another server you can set your display by running this script:&lt;BR /&gt;&lt;BR /&gt;var1=$(who -mT | sed -e 's/.*[ ]\([^ ]*\)$/\1/')&lt;BR /&gt;export DISPLAY=$var1:0.0&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 30 Jan 2003 14:35:54 GMT</pubDate>
    <dc:creator>John Meissner</dc:creator>
    <dc:date>2003-01-30T14:35:54Z</dc:date>
    <item>
      <title>$DISPLAY not getting set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892831#M78130</link>
      <description>I have recently installed RedHat 8 on my PC. But when I run the 'Terminal' program my DISPLAY doesn't get set to &amp;lt;0.0&amp;gt;. &lt;BR /&gt;&lt;BR /&gt;I get following &lt;BR /&gt;[root@gardner] # echo $DISPLAY&lt;BR /&gt; :0.0&lt;BR /&gt;&lt;BR /&gt;What's going wrong ?</description>
      <pubDate>Thu, 30 Jan 2003 09:58:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892831#M78130</guid>
      <dc:creator>Amod</dc:creator>
      <dc:date>2003-01-30T09:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: $DISPLAY not getting set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892832#M78131</link>
      <description>Is hostname set? What does 'hostname' command report?</description>
      <pubDate>Thu, 30 Jan 2003 11:30:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892832#M78131</guid>
      <dc:creator>Eugen Cocalea_1</dc:creator>
      <dc:date>2003-01-30T11:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: $DISPLAY not getting set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892833#M78132</link>
      <description>If hostname is correctly set, you can set the display in .bash_profile (not sure I spelled that right) or /etc/profile.  If its a pc, it will work.&lt;BR /&gt;&lt;BR /&gt;In reality you don't need a hostname set to use red hat in graphical mode.  You can set display by IP address. &lt;BR /&gt;&lt;BR /&gt;DISPLAY=10.1.10.77:0.0&lt;BR /&gt;export DISPLAY&lt;BR /&gt;&lt;BR /&gt;make sure the IP address is up on a network device like eth0&lt;BR /&gt;&lt;BR /&gt;P</description>
      <pubDate>Thu, 30 Jan 2003 14:03:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892833#M78132</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-30T14:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: $DISPLAY not getting set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892834#M78133</link>
      <description>you can also use your hostname to set your display&lt;BR /&gt;&lt;BR /&gt;DISPLAY=hostname:0.0&lt;BR /&gt;&lt;BR /&gt;or if you're telnetting into another server you can set your display by running this script:&lt;BR /&gt;&lt;BR /&gt;var1=$(who -mT | sed -e 's/.*[ ]\([^ ]*\)$/\1/')&lt;BR /&gt;export DISPLAY=$var1:0.0&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jan 2003 14:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892834#M78133</guid>
      <dc:creator>John Meissner</dc:creator>
      <dc:date>2003-01-30T14:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: $DISPLAY not getting set</title>
      <link>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892835#M78134</link>
      <description>XOpenDisplay() recognizes :0.0 as referencing the local display (console).   The hostname is not needed in the local display mode, and XOpenDisplay() can actually (and sometimes does) enable different transport mechanisms depending on how the DISPLAY is set up.   &lt;BR /&gt;&lt;BR /&gt;A local display could mean that it would use a more efficient transport, such as shared memory, as opposed to using TCP sockets, which have to go through name resolution and what not.&lt;BR /&gt;&lt;BR /&gt;You also may find that under Linux some of the utilities do not enable TCP sockets for security reasons.  For example, xfs (fontserver) doesn't enable socket connections from outside the box in the default mode.</description>
      <pubDate>Fri, 31 Jan 2003 13:18:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/display-not-getting-set/m-p/2892835#M78134</guid>
      <dc:creator>Rick Beldin</dc:creator>
      <dc:date>2003-01-31T13:18:53Z</dc:date>
    </item>
  </channel>
</rss>

