<?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 full IP address for export when using terminal server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915395#M406822</link>
    <description>David&lt;BR /&gt;&lt;BR /&gt;What does who -R give you?&lt;BR /&gt;&lt;BR /&gt;Roger&lt;BR /&gt;</description>
    <pubDate>Mon, 01 Aug 2005 09:57:50 GMT</pubDate>
    <dc:creator>roger_122</dc:creator>
    <dc:date>2005-08-01T09:57:50Z</dc:date>
    <item>
      <title>Display full IP address for export when using terminal server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915393#M406820</link>
      <description>Is there a way to display the full IP address of a user who has logged in via a terminal server to a HP 11.11 server.&lt;BR /&gt;The user needs to export their DISPLAY back to the IP address.&lt;BR /&gt;I thought the last command would show the complete address i.e. 199.99.99.99:1.0?However, using last -R (and fwtmp) only displays a truncated column with the hostname of the terminal server which is not specific enough to export the DISPLAY to.&lt;BR /&gt;I have tried variations on the who (-um) (-R) and who am i commands.</description>
      <pubDate>Mon, 01 Aug 2005 09:50:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915393#M406820</guid>
      <dc:creator>David Godderidge</dc:creator>
      <dc:date>2005-08-01T09:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Display full IP address for export when using terminal server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915394#M406821</link>
      <description>David,&lt;BR /&gt;&lt;BR /&gt;Would the technique described in this thread work?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=758221" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=758221&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 01 Aug 2005 09:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915394#M406821</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-08-01T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Display full IP address for export when using terminal server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915395#M406822</link>
      <description>David&lt;BR /&gt;&lt;BR /&gt;What does who -R give you?&lt;BR /&gt;&lt;BR /&gt;Roger&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Aug 2005 09:57:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915395#M406822</guid>
      <dc:creator>roger_122</dc:creator>
      <dc:date>2005-08-01T09:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Display full IP address for export when using terminal server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915396#M406823</link>
      <description>Why something like:&lt;BR /&gt;export DISPLAY=$(who -mu|awk '{print $8}'):0.0&lt;BR /&gt;doesn't suite fine for you?&lt;BR /&gt;&lt;BR /&gt;RGDS</description>
      <pubDate>Mon, 01 Aug 2005 10:00:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915396#M406823</guid>
      <dc:creator>Mauro Gatti</dc:creator>
      <dc:date>2005-08-01T10:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Display full IP address for export when using terminal server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915397#M406824</link>
      <description>Hi,&lt;BR /&gt;Thanks for the replies but none of them solve the problem.&lt;BR /&gt;who -um shows the hostname only as does &lt;BR /&gt;who am i -R&lt;BR /&gt;&lt;BR /&gt;I need the specific IP address per user login from the terminal server. There are five people login into the terminal server then onto the UNIX server. They all appear with the same hostname address.&lt;BR /&gt;&lt;BR /&gt;They need to be able to differentiate one address from the other.</description>
      <pubDate>Mon, 01 Aug 2005 10:22:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915397#M406824</guid>
      <dc:creator>David Godderidge</dc:creator>
      <dc:date>2005-08-01T10:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Display full IP address for export when using terminal server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915398#M406825</link>
      <description>David,&lt;BR /&gt;&lt;BR /&gt;Check Clay's final response in the thread I direct you to.  It's for C shell, but it works for me like this, too:&lt;BR /&gt;&lt;BR /&gt;$ XX=`who -um | awk '{ split($NF,x,":"); print x[1] }'`&lt;BR /&gt;$ echo $XX&lt;BR /&gt;george&lt;BR /&gt;$ getip ${XX}&lt;BR /&gt;199.1.4.215&lt;BR /&gt;&lt;BR /&gt;The key is the getip.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 01 Aug 2005 10:35:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915398#M406825</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-08-01T10:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Display full IP address for export when using terminal server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915399#M406826</link>
      <description>David, depending on how it is set up (and what brand/type it is)- it is possible to have each person coming into/from a termserver have the same IP address, and each hardware port having just each have a different IP port number.  So, the different users all having the same IP is probably correct.</description>
      <pubDate>Mon, 01 Aug 2005 10:39:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915399#M406826</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-08-01T10:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Display full IP address for export when using terminal server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915400#M406827</link>
      <description>David,&lt;BR /&gt;&lt;BR /&gt;If I am not misunderstanding your dilemma, you are using a terminal server (or something like it) as a concentration point and this point's name, hence the ip address, is showing up in the who -um. In which cas, you will not be able to obtain the actual communication initiating workstations ip address anywhere on your shell variables, hence will not be able to export it.&lt;BR /&gt;&lt;BR /&gt;On the other hand, I know that there is a ssh tunneling for X-windows traffic, which does what you need to do, but details of the method eludes me. I have seen it happen. Someone at one of my old workplaces, ssh'ed into his home linux machine using putty or securecrt(details of which I do not remember) through 3 firewalls, from a corporate network. And, while his reflection-x emulation running on his desktop, he fired up an x-clock session and I have seen it show up on his corporate desktop. So, the functionality is there but how to do it is something I can not answer. I am sure someone else here can explain it to you.&lt;BR /&gt;&lt;BR /&gt;Needless to say, your server should be running sshd and be able to accept ssh connections, as well as the clients should have some sort of ssh client installed.</description>
      <pubDate>Mon, 01 Aug 2005 10:47:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915400#M406827</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-08-01T10:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Display full IP address for export when using terminal server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915401#M406828</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Found the users had changed their access method. They were using REXEC in place of TELNET. When TELNET is used the individual IP address shows from the last -R command not the terminal server host name.&lt;BR /&gt;&lt;BR /&gt;Thanks for the replies, I have assigned some points.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Aug 2005 11:25:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/display-full-ip-address-for-export-when-using-terminal-server/m-p/4915401#M406828</guid>
      <dc:creator>David Godderidge</dc:creator>
      <dc:date>2005-08-01T11:25:48Z</dc:date>
    </item>
  </channel>
</rss>

