Operating System - HP-UX
1825780 Members
2230 Online
109687 Solutions
New Discussion

2 systems with a CDE error

 
SOLVED
Go to solution
Kelli Ward
Trusted Contributor

2 systems with a CDE error

Hi all,
I have two systems, one a B132L, the other a B180L. Both are running HP-UX 11.0
If, I configure a second NIC card or add an alias IP address to a NIC card on the B132L (only when I alias a second IP address on the B180L) I lose the ability to log in to CDE for all users. errorlogs - dtsession: Invalid Display Name
I don't see any issues with hosts, netconf, resolv.conf or nsswitch.conf
I can't specifically see where this display name error is coming from.
Note: When I unconfigure the card, system is happy and everyone can log in as normal
I wasn't able to find any other forums notes, patches, or docs on this so I'm wordering if there is something painfully simple I'm missing.
Any ideas?
Kel
Any ideas?
Thanks,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
11 REPLIES 11
harry d brown jr
Honored Contributor

Re: 2 systems with a CDE error


What's the IP of the MAIN NIC card, and what IP, and routing are you adding when you configure the second NIC card? Do you have the proper subnet mask?


live free or die
harry
Live Free or Die
Kelli Ward
Trusted Contributor

Re: 2 systems with a CDE error

Hi Harry,
The first NIC is on 150.1 scheme with 255.255.0.0
The second address is a 209.233.112 scheme, I've attempted both 255.255.0.0 and 255.255.255.0
THanks,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Wodisch_1
Honored Contributor

Re: 2 systems with a CDE error

Hi Kelly,

can you log in after moving "$HOME/.dt/" aside?
Then you should be fine if you add the same name for BOTH IP-adresses, and verify that your "/etc/nsswitch.conf" points to your "/etc/hosts", first.

HTH,
Wodisch
Kelli Ward
Trusted Contributor

Re: 2 systems with a CDE error

Hi Wodisch,
The nsswitch.conf file does indeed point to hosts first (changed that yesterday, was DNS)
I moved .dt but it didn't change a thing.
Any more?
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Kelli Ward
Trusted Contributor

Re: 2 systems with a CDE error

Any other suggestions please?
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Wodisch_1
Honored Contributor

Re: 2 systems with a CDE error

Hi again, Kelly,

so back to the basics - can we have a look at (the last lines of) your "/var/dt/Xerrors" and the output s of "netstat -in", and "netstat -rn", and "ifconfig lan*", please?

Regards,
Wodisch
Sridhar Bhaskarla
Honored Contributor
Solution

Re: 2 systems with a CDE error

Hi Kel,

I remember encountering this issue while configuring the console workstations for the V-class ervers.

Uncomment Dtlogin*authorize statement in your /etc/dt/config/Xconfig file. It should look like

Dtlogin*authorize: False

What errors are you seeing in your /var/dt/Xerrors file?.

Run /usr/contrib/bin/X11/dr_dt while the other interface is up and see if it spills out any errors.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Kelli Ward
Trusted Contributor

Re: 2 systems with a CDE error

Hi All,
I will check everyone's suggestions today.
I was out ill on Monday.
New hat looks good Sri.
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Kelli Ward
Trusted Contributor

Re: 2 systems with a CDE error

Hi All,
Sri got it. Wodisch was on the right track.
Xerrors had a MAGIC COOKIE - client 2 rejected (style) error.
uncommenting DTlogin*authorize:False and rebooting turned off the .Xauthority read (I'm assuming) and allowed me to login with 2 NIC cards configured.
Thanks,
Kel
The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!
Alex Glennie
Honored Contributor

Re: 2 systems with a CDE error

fyi this problem will be resolved if you install the latest CDE patches.

Alternatively you could also use KBRC00004688's work-around of using an Xsession.d script , or if you are OK with disabling client authorisation stick with that.
Kelli Ward
Trusted Contributor

Re: 2 systems with a CDE error

Hi Alex,
The patch was right on the money, Thanks!
I'm going to add some details for the search engine in the future.
Thanks again,
Kel

PHSS_25194 (s700_800 11.00 CDE Runtime OCT2001 Periodic Patch)

PHSS_26490 is more recent but has a lower rating.

Fix-
Users are unable to login to CDE on the local console under HP-UX 11.0 when multiple network cards are installed. (Also fixes multiple IP addresses configured or aliased.

The more I learn, the more I realize how much more I have to learn. Isn't it GREAT!