<?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 Lost DISPLAY variable in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-display-variable/m-p/2498740#M830752</link>
    <description>My maschine lost it`'s DISPLAY variable.&lt;BR /&gt;echo $DISPLAY gives no output.&lt;BR /&gt;How can I set the DISPLAY variable permantent ?&lt;BR /&gt;Thanks&lt;BR /&gt;Bettina</description>
    <pubDate>Tue, 27 Feb 2001 14:21:59 GMT</pubDate>
    <dc:creator>Bettina Ofner</dc:creator>
    <dc:date>2001-02-27T14:21:59Z</dc:date>
    <item>
      <title>Lost DISPLAY variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-display-variable/m-p/2498740#M830752</link>
      <description>My maschine lost it`'s DISPLAY variable.&lt;BR /&gt;echo $DISPLAY gives no output.&lt;BR /&gt;How can I set the DISPLAY variable permantent ?&lt;BR /&gt;Thanks&lt;BR /&gt;Bettina</description>
      <pubDate>Tue, 27 Feb 2001 14:21:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-display-variable/m-p/2498740#M830752</guid>
      <dc:creator>Bettina Ofner</dc:creator>
      <dc:date>2001-02-27T14:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Lost DISPLAY variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-display-variable/m-p/2498741#M830753</link>
      <description>You must check your .profile (or whichever shell login you are using or /etc/PROFILE and check that the DISPLAY is set up.&lt;BR /&gt;&lt;BR /&gt;Make sure that uname -a knows the hostname, as you need to run:&lt;BR /&gt;# export DISPLAY=`hostname`:0.0&lt;BR /&gt;&lt;BR /&gt;If the hostname is unknown or mixed up, it will mess up the DISPLAY variable..&lt;BR /&gt;&lt;BR /&gt;MND</description>
      <pubDate>Tue, 27 Feb 2001 14:38:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-display-variable/m-p/2498741#M830753</guid>
      <dc:creator>Marc Dijkstra</dc:creator>
      <dc:date>2001-02-27T14:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lost DISPLAY variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lost-display-variable/m-p/2498742#M830754</link>
      <description>There is nothing magic about $DISPLAY. It needs to be set each time you do a 'normal' login.  Here's a script snippet you can include in your .profile that wil always set it automatically:&lt;BR /&gt;&lt;BR /&gt;export DISPLAY="$(/usr/bin/who -muR | /usr/bin/awk '{print $NF}'):0.0"&lt;BR /&gt;&lt;BR /&gt;This will as long as you are adjacent and not logged through 2 or more additional systems.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Feb 2001 04:14:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lost-display-variable/m-p/2498742#M830754</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-02-28T04:14:35Z</dc:date>
    </item>
  </channel>
</rss>

