1835959 Members
2806 Online
110088 Solutions
New Discussion

Re: CDE login fails

 
martin randall
Occasional Contributor

CDE login fails

I have a HP-UX 9000 715/100 11.x series. learning the system.

I have it on an internal lan (192.168.1.60) hostname simone.chaossolutions.org

Netstat, ifconfig all look good and I can ping yahoo.com etc.

But something happened since I last switched it off.

I can no longer login via the cde and it exits and restarts xwindows/cde.

Logging in via the console ant looking at /var/dt/Xerrors shows.

hostname is invalid
AUDIT: X: client 2 rejected
Warning: cannot convert string ":alt ctrl (key) insert to type virtual binding"

Hostname come back with - simone.chaossolutions.org

Any clues as to what the problem is ???

Can you please also mail me direct, if possible.

Regards...
10 REPLIES 10
Sridhar Bhaskarla
Honored Contributor

Re: CDE login fails

Hi Martin,

I am not sure if hostname can be a fully qualified domain name. Edit your /etc/rc.config.d/netconf and change the hostname to simone instead of simone.cha...

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
D. Jackson_1
Honored Contributor

Re: CDE login fails

Make sure that you have your ip address and your hostname(fully qualified and alias) in your /etc/hosts file...
Sanjay_6
Honored Contributor

Re: CDE login fails

Hi Martin,

Do a nslookup and try and see if your system is able to do the name resolution properly,

nslookup
> server_name
> server_ip_add
> exit

Hope this helps.

Regds
John Bolene
Honored Contributor

Re: CDE login fails

Sounds like your internal lan is on a NAT device (good choice BTW) and want DNS resolution of your internal 192.168 lan and also the Internet.

You need to configure your resolv.conf to check files first and DNS second.

Have your simple internal hostname and IP in /etc/hosts.

You should be able to do a nslookup on your host and get its simple name.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Santosh Nair_1
Honored Contributor

Re: CDE login fails

The error above says hostname invalid. This indicates that CDE for some reason or other can't resolve the hostname. Make sure both the short and the fully qualified hostname are listed in the /etc/hosts file. Then verify that you can do a nslookup on the hostname (both short and fqdn).

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
martin randall
Occasional Contributor

Re: CDE login fails

O.K. - there are Two other problems that have appeared.

1) Most of the time, when I select commandline, it will go there and say /dev/tty (or whatever) not available and throw me back to cde login.
Even if I successfully login at the commandline it will still throw me back to cde login...sigh.

ctrl alt backspace won`t exit xwindows like on other bsd`s and linux...sigh

Also, the F-keys don`t take you to other screens/terminals as do the BSD`s and Linux.

At the moment I can`t check the suggestions as I`m stuck in a loop.

Any clues how to get past this ???
D. Jackson_1
Honored Contributor

Re: CDE login fails

Take the system down to single user and disable the cde login or you can edit the files you need to at that point.
D. Jackson_1
Honored Contributor

Re: CDE login fails

Jason VanDerMark
Trusted Contributor

Re: CDE login fails

Martin,

During the boot process there will be a time when you will see a message that says "Press any key in the next 10 seconds to interupt the boot process" or something very similar to this. During this time press the spacebar or any other key. You will then be given a prompt. At the prompt type 'bo' then press enter. It will ask you if you want to interact with the IPL. Say yes. You will then see an ISL> prompt at the prompt type 'hpux -is' followed by . This will put you into single user mode where you can then check out your /etc/rc.config.d/netconf file and you /etc/hosts. I hope that this information is useful to you. Good luck.

Regards,
Jason V.
Tie two birds together, eventhough they have four wings, they cannot fly.
John Bolene
Honored Contributor

Re: CDE login fails

Get back in via the serial console and work out these problems.

I normally keep a cable plugged in and have to use it at times when I can't use the Xwindow.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com