1753307 Members
6357 Online
108792 Solutions
New Discussion юеВ

CDE

 
Habib_4
Advisor

CDE

Hi guys,

I have purchased a very basic HP-UX unix system, and am finding that I am unable to login to the Common Desktop Environment.
I was told by somebody that it was because my machines IP address was set to the loopback address? 127.0.0.1?

Please can somebody advise me how to change this.

I don't want any clever answers like: "Oh read this and learn that!"
All I want is a concrete answer so that I can log into the CDE properly.
I aint very good at UNIX and don't profess to be and would therefore appreciate some help and courtesy from you experts.....
12 REPLIES 12
Peter Godron
Honored Contributor

Re: CDE

Hi,
could you please provide a bit more information as to 'unable to login'.
What are the symptoms/error messages ?
Do you get the CDE screen requesting username/password?
rariasn
Honored Contributor

Re: CDE

Hi Habib,

To change IP address, use next command:

# set_parms ip_address

rgs,

ran
sajeer_2
Regular Advisor

Re: CDE


Hi Habib,
Did you configure ip address for your server?.
If no,run
#set_parms initial

This will ask you all the details like ip address and other initial parameters.

Once you reboot the server,Then edit /etc/hosts
to enter fully qualified name.example,
127.0.0.1 localhost loopback
ipaddress testdb2.hp.com testdb2

also check /etc/nsswitch.conf and change hosts line as follows

hosts: files dns [NOTFOUND=return]

Now either restart the server or run cde daemon.It shuld work properly.
Habib_4
Advisor

Re: CDE

Hi Peter,

Yes, exactly, I enter the root username and password and it just stays on the login screen and prompts me to enter the username and password once again.
Habib_4
Advisor

Re: CDE

A reply to Sajeer,

But what should I change the IP address to?

It is just a stand-alone unix work station.
What will I change the IP address to?
I don't have it connected to a network so I cannot understand what to enter after the set parms command ?

sajeer_2
Regular Advisor

Re: CDE


You can give any ip iddress.say
IP address 192.168.1.220
subnet mask 255.255.255.0
Peter Godron
Honored Contributor

Re: CDE

Hi,
after you have implemented the network fixes as above you could use the failsafe option to log onto your server and check the $HOME/.dt/errorlog for messages.
Habib_4
Advisor

Re: CDE

Hi Peter,

Why would I want to check this directory?
What is the reason for me to check this directory?
Peter Godron
Honored Contributor

Re: CDE

Habib,
the filename 'errorlog' may give my intention away.
This would be the file I would expect any error to be logged to, so by looking at the file, we may get a better idea where your problem may be.