|
|
|
|
|
|
| Author |
Message |
地球人 *nix forums beginner
Joined: 25 May 2005
Posts: 43
|
Posted: Tue Jul 18, 2006 12:36 pm Post subject:
"who am i" returns always "localhost"
|
|
|
Hi there,
being far away from being an expert - but need to be the administrator
of my own RS/6000 (7044-170) because I need this machine for development
purposes. Anyway, I have managed to install 5.3 plus all fix packs I
could find for this version. Network is set up very simple - static IP
(10.0.0.5), gateway and subnet (255.255.252.0). From what ever machine
within this LAN I connect to the AIX-box via telnet, the "who am i"
always returns "localhost". Because the .profile sets the DISPLAY to
what ever "who am i" returns, the DISPLAY is set to "localhost" as well,
forcing me for any X-session to set the DISPLAY manually.
Any hint in that regard? |
|
| Back to top |
|
 |
<bela@bluedog.cc.emory *nix forums beginner
Joined: 09 Aug 2005
Posts: 10
|
Posted: Tue Jul 18, 2006 1:43 pm Post subject:
Re: "who am i" returns always "localhost"
|
|
|
user@domain.invalid wrote:
udi> Hi there,
udi>
udi> being far away from being an expert - but need to be the administrator
udi> of my own RS/6000 (7044-170) because I need this machine for development
udi> purposes. Anyway, I have managed to install 5.3 plus all fix packs I
udi> could find for this version. Network is set up very simple - static IP
udi> (10.0.0.5), gateway and subnet (255.255.252.0). From what ever machine
udi> within this LAN I connect to the AIX-box via telnet, the "who am i"
udi> always returns "localhost". Because the .profile sets the DISPLAY to
udi> what ever "who am i" returns, the DISPLAY is set to "localhost" as well,
udi> forcing me for any X-session to set the DISPLAY manually.
udi>
udi> Any hint in that regard?
Have you set the host name (smitty mktcpip)? In /etc/hosts?
--
"... I shook my family tree, and a bunch of NUTS fell out ..." |
|
| Back to top |
|
 |
地球人 *nix forums beginner
Joined: 25 May 2005
Posts: 43
|
Posted: Tue Jul 18, 2006 2:27 pm Post subject:
Re: "who am i" returns always "localhost"
|
|
|
bela@bluedog.cc.emory.edu wrote:
| Quote: | user@domain.invalid wrote:
udi> Hi there,
udi
udi> being far away from being an expert - but need to be the administrator
udi> of my own RS/6000 (7044-170) because I need this machine for development
udi> purposes. Anyway, I have managed to install 5.3 plus all fix packs I
udi> could find for this version. Network is set up very simple - static IP
udi> (10.0.0.5), gateway and subnet (255.255.252.0). From what ever machine
udi> within this LAN I connect to the AIX-box via telnet, the "who am i"
udi> always returns "localhost". Because the .profile sets the DISPLAY to
udi> what ever "who am i" returns, the DISPLAY is set to "localhost" as well,
udi> forcing me for any X-session to set the DISPLAY manually.
udi
udi> Any hint in that regard?
Have you set the host name (smitty mktcpip)? In /etc/hosts?
|
Yes, the /etc/hosts has an entry ala
10.0.0.5 AIX-FIH-00-0010 |
|
| Back to top |
|
 |
Bela *nix forums beginner
Joined: 20 Jul 2005
Posts: 40
|
Posted: Tue Jul 18, 2006 3:22 pm Post subject:
Re: "who am i" returns always "localhost"
|
|
|
user@domain.invalid wrote:
udi> bela@bluedog.cc.emory.edu wrote:
| Quote: | user@domain.invalid wrote:
udi> Hi there,
udi
udi> being far away from being an expert - but need to be the administrator
udi> of my own RS/6000 (7044-170) because I need this machine for development
udi> purposes. Anyway, I have managed to install 5.3 plus all fix packs I
udi> could find for this version. Network is set up very simple - static IP
udi> (10.0.0.5), gateway and subnet (255.255.252.0). From what ever machine
udi> within this LAN I connect to the AIX-box via telnet, the "who am i"
udi> always returns "localhost". Because the .profile sets the DISPLAY to
udi> what ever "who am i" returns, the DISPLAY is set to "localhost" as well,
udi> forcing me for any X-session to set the DISPLAY manually.
udi
udi> Any hint in that regard?
Have you set the host name (smitty mktcpip)? In /etc/hosts?
udi |
udi> Yes, the /etc/hosts has an entry ala
udi>
udi> 10.0.0.5 AIX-FIH-00-0010
Do the two commasnds `uname -n' and `hostname' give the same result?
--
"... I shook my family tree, and a bunch of NUTS fell out ..." |
|
| Back to top |
|
 |
temp_acc@yahoo.de *nix forums beginner
Joined: 18 Jul 2006
Posts: 4
|
Posted: Tue Jul 18, 2006 7:19 pm Post subject:
Re: "who am i" returns always "localhost"
|
|
|
Bela wrote:
| Quote: | user@domain.invalid wrote:
udi> bela@bluedog.cc.emory.edu wrote:
user@domain.invalid wrote:
udi> Hi there,
udi
udi> being far away from being an expert - but need to be the administrator
udi> of my own RS/6000 (7044-170) because I need this machine for development
udi> purposes. Anyway, I have managed to install 5.3 plus all fix packs I
udi> could find for this version. Network is set up very simple - static IP
udi> (10.0.0.5), gateway and subnet (255.255.252.0). From what ever machine
udi> within this LAN I connect to the AIX-box via telnet, the "who am i"
udi> always returns "localhost". Because the .profile sets the DISPLAY to
udi> what ever "who am i" returns, the DISPLAY is set to "localhost" as well,
udi> forcing me for any X-session to set the DISPLAY manually.
udi
udi> Any hint in that regard?
Have you set the host name (smitty mktcpip)? In /etc/hosts?
udi
udi> Yes, the /etc/hosts has an entry ala
udi
udi> 10.0.0.5 AIX-FIH-00-0010
Do the two commasnds `uname -n' and `hostname' give the same result?
|
Yes they do, exactly the same output.
(Telnet session)
[AIX-FIH-00-0010] /home/develop > uname -n
AIX-FIH-00-0010
[AIX-FIH-00-0010] /home/develop > hostname
AIX-FIH-00-0010
[AIX-FIH-00-0010] /home/develop > who am i
develop pts/1 18 Jul 21:16 (localhost)
[AIX-FIH-00-0010] /home/develop > |
|
| Back to top |
|
 |
Ashok Sangra *nix forums beginner
Joined: 16 Mar 2006
Posts: 8
|
Posted: Fri Jul 21, 2006 1:35 pm Post subject:
Re: "who am i" returns always "localhost"
|
|
|
The hostname in the output of "who" or "who am i" is the name of the
machine the user is logged in from. You might have not set/configured
the hostname/ip of the machine from where you telnet to the system. In
most of the cases I have seen the IP of the machine instead of
localhost.
Rgds
Ashok
temp_acc@yahoo.de wrote:
| Quote: | Bela wrote:
user@domain.invalid wrote:
udi> bela@bluedog.cc.emory.edu wrote:
user@domain.invalid wrote:
udi> Hi there,
udi
udi> being far away from being an expert - but need to be the administrator
udi> of my own RS/6000 (7044-170) because I need this machine for development
udi> purposes. Anyway, I have managed to install 5.3 plus all fix packs I
udi> could find for this version. Network is set up very simple - static IP
udi> (10.0.0.5), gateway and subnet (255.255.252.0). From what ever machine
udi> within this LAN I connect to the AIX-box via telnet, the "who am i"
udi> always returns "localhost". Because the .profile sets the DISPLAY to
udi> what ever "who am i" returns, the DISPLAY is set to "localhost" as well,
udi> forcing me for any X-session to set the DISPLAY manually.
udi
udi> Any hint in that regard?
Have you set the host name (smitty mktcpip)? In /etc/hosts?
udi
udi> Yes, the /etc/hosts has an entry ala
udi
udi> 10.0.0.5 AIX-FIH-00-0010
Do the two commasnds `uname -n' and `hostname' give the same result?
Yes they do, exactly the same output.
(Telnet session)
[AIX-FIH-00-0010] /home/develop > uname -n
AIX-FIH-00-0010
[AIX-FIH-00-0010] /home/develop > hostname
AIX-FIH-00-0010
[AIX-FIH-00-0010] /home/develop > who am i
develop pts/1 18 Jul 21:16 (localhost)
[AIX-FIH-00-0010] /home/develop |
|
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Nov 22, 2008 8:44 pm | All times are GMT
|
|
New Cars | Mobile Phones | Mortgage Calculator | Loans | Credit Cards
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|