<?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 Automatic DISPLAY setting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834241#M89650</link>
    <description>I remote administer 90% of our workstations.  I know there's something that you can put in the .cshrc to automatically set your DISPLAY to whatever IP you're telnetting from.  Anyone have a clue what it is?</description>
    <pubDate>Mon, 28 Oct 2002 13:22:21 GMT</pubDate>
    <dc:creator>Russ McGinley</dc:creator>
    <dc:date>2002-10-28T13:22:21Z</dc:date>
    <item>
      <title>Automatic DISPLAY setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834241#M89650</link>
      <description>I remote administer 90% of our workstations.  I know there's something that you can put in the .cshrc to automatically set your DISPLAY to whatever IP you're telnetting from.  Anyone have a clue what it is?</description>
      <pubDate>Mon, 28 Oct 2002 13:22:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834241#M89650</guid>
      <dc:creator>Russ McGinley</dc:creator>
      <dc:date>2002-10-28T13:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DISPLAY setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834242#M89651</link>
      <description>Hi Russ:&lt;BR /&gt;&lt;BR /&gt;# who -mR|awk '{print $6}'|tr -d "("|tr -d ")"&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 28 Oct 2002 13:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834242#M89651</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-10-28T13:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DISPLAY setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834243#M89652</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# Be sure that VUE does not invoke tty commands&lt;BR /&gt;&lt;BR /&gt;   if [ ! "$VUE" ]; then&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;Regards,&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.</description>
      <pubDate>Mon, 28 Oct 2002 13:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834243#M89652</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2002-10-28T13:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DISPLAY setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834244#M89653</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you're the only one using the root account you could very well set up something using the output of a "who -u"&lt;BR /&gt;&lt;BR /&gt;If you a using rlogin I could also send you a script that takes care of setting the DISPLAY.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Bernhard</description>
      <pubDate>Mon, 28 Oct 2002 13:33:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834244#M89653</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2002-10-28T13:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic DISPLAY setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834245#M89654</link>
      <description>Another option:&lt;BR /&gt;&lt;BR /&gt;who -um | awk '{print $NF}'&lt;BR /&gt;&lt;BR /&gt;Example, &lt;BR /&gt;&lt;BR /&gt;export DISPLAY=`who -um | awk '{print $NF}':0.0`</description>
      <pubDate>Mon, 28 Oct 2002 13:49:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-display-setting/m-p/2834245#M89654</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2002-10-28T13:49:38Z</dc:date>
    </item>
  </channel>
</rss>

