1832603 Members
2384 Online
110043 Solutions
New Discussion

cde failure

 
SOLVED
Go to solution
Greg Butler
Occasional Advisor

cde failure

I recently added entries in the resolv.conf to use our dns server after which the cde interface is failing. The dns server returns fully qualified name (nslookup). I suspect that cde is not looking for that. Does anyone know what I need to change so that cde will resolve correctly ? Any suggestions are appreciated. BTW, /etc/hosts has both formats, fully qualified and not (cddsrvr,cddsrvr.rosenet.loc)
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: cde failure

Greg,

What does your nsswitch.conf look like? You should have:

hosts: files[NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return]



Pete

Pete
Zeev Schultz
Honored Contributor

Re: cde failure

Has /etc/hosts the lines for localhost 127.0.0.1?

Some other tips:

Copy the /usr/dt/config/Xservers file to the /etc/dt/config/ directory: cp /usr/dt/config/Xservers /etc/dt/config/Xservers
Edit the /etc/dt/config/Xservers file to turn off access control by adding a '-ac' option to the last line of this file:

* Local local@console /usr/bin/X11/X :0 -ac
cp /usr/dt/config/Xconfig /etc/dt/config/Xconfig

Uncomment the following line in the /etc/dt/config/Xconfig file:

Dtlogin*authorize: False

Re-load the X server:

/usr/dt/bin/dtconfig -reset


Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Paul Sperry
Honored Contributor

Re: cde failure

I agree with Pete. I had the same problem and changed
/etc/nsswitch.conf as he sujests and CDE work fine after the change.
Zeev Schultz
Honored Contributor

Re: cde failure

hmm,I don't know - some of my 11.x have
"dns files" in the nsswitch.conf and CDE works like charm.I think its more about internal client-server (X or CDE).

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Greg Butler
Occasional Advisor

Re: cde failure

Thanks all. I changed my nsswitch.conf as detailed and cde works fine.