<?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: Permanent Display variable in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041170#M134397</link>
    <description>Hi !&lt;BR /&gt;&lt;BR /&gt;I guess its depends upon the users PCs  IP address . if is having one pc for his work , u can edit his .profile &amp;amp; add export DISPLAY=IP:0.0&lt;BR /&gt;&lt;BR /&gt;where IP address will be users PCs IP address&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 05 Aug 2003 07:00:07 GMT</pubDate>
    <dc:creator>Sarvesh A Dhuri</dc:creator>
    <dc:date>2003-08-05T07:00:07Z</dc:date>
    <item>
      <title>Permanent Display variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041165#M134392</link>
      <description>Would like to know how to change the display variable permanently. Thanks</description>
      <pubDate>Tue, 05 Aug 2003 04:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041165#M134392</guid>
      <dc:creator>Kevin_194</dc:creator>
      <dc:date>2003-08-05T04:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Display variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041166#M134393</link>
      <description>You could add this to your .profile:&lt;BR /&gt;&lt;BR /&gt;DISPLAY=hostname:0&lt;BR /&gt;export DISPLAY&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Aug 2003 05:03:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041166#M134393</guid>
      <dc:creator>Evert Jan van Ramselaar</dc:creator>
      <dc:date>2003-08-05T05:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Display variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041167#M134394</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The DISPLAY variable is specific to each user ie it's dependent on which system you login from.&lt;BR /&gt;&lt;BR /&gt;If you always login from the same PC/Laptop &amp;amp; it has a fixed IP address then you can set the DISPLAY variable in the .profile in your home directory.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con</description>
      <pubDate>Tue, 05 Aug 2003 05:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041167#M134394</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-08-05T05:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Display variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041168#M134395</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can add this two lines to your $HOME/.profile&lt;BR /&gt;&lt;BR /&gt;DISPLAY=`who am i -u | cut -c52-`:0&lt;BR /&gt;export DISPLAY&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Regards,&lt;BR /&gt;Zigor</description>
      <pubDate>Tue, 05 Aug 2003 05:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041168#M134395</guid>
      <dc:creator>Zigor Buruaga</dc:creator>
      <dc:date>2003-08-05T05:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Display variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041169#M134396</link>
      <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;Add this to your .profile&lt;BR /&gt;&lt;BR /&gt;# -- Do trick to set the display in case of remote login&lt;BR /&gt;     HOST=`who am i -R |awk '{print $NF}' | sed "s/(\(.*\))/\1/"`&lt;BR /&gt;     if [ "$HOST" != "" ] &amp;amp;&amp;amp; [ "$HOST" != ":0" ] &amp;amp;&amp;amp; [ "$HOST" != ":0.0" ];&lt;BR /&gt;     then&lt;BR /&gt;        if [ "$HOST" = `who am i -R |awk '{print $NF}' | sed "s/(\(.*\))/\1/"` ]&lt;BR /&gt;        then&lt;BR /&gt;          HOST=$HOST:0.0&lt;BR /&gt;        fi&lt;BR /&gt;          echo "     +--&amp;lt;&amp;lt;"&lt;BR /&gt;          echo "     |  Remote login detected, setting DISPLAY to $HOST"&lt;BR /&gt;          echo "     +--&amp;gt;&amp;gt;"&lt;BR /&gt;        DISPLAY=$HOST&lt;BR /&gt;        export DISPLAY&lt;BR /&gt;     fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Tue, 05 Aug 2003 06:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041169#M134396</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-08-05T06:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Display variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041170#M134397</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;I guess its depends upon the users PCs  IP address . if is having one pc for his work , u can edit his .profile &amp;amp; add export DISPLAY=IP:0.0&lt;BR /&gt;&lt;BR /&gt;where IP address will be users PCs IP address&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Aug 2003 07:00:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041170#M134397</guid>
      <dc:creator>Sarvesh A Dhuri</dc:creator>
      <dc:date>2003-08-05T07:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Permanent Display variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041171#M134398</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;U can use the following entry in /etc/profile&lt;BR /&gt;&lt;BR /&gt;export DISPLAY=`who am i -R | cut -c40-52`:0.0&lt;BR /&gt;&lt;BR /&gt;regds,&lt;BR /&gt;Baiju&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Aug 2003 09:34:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/permanent-display-variable/m-p/3041171#M134398</guid>
      <dc:creator>blal</dc:creator>
      <dc:date>2003-08-05T09:34:23Z</dc:date>
    </item>
  </channel>
</rss>

