Operating System - HP-UX
1833210 Members
2939 Online
110051 Solutions
New Discussion

Re: Unable to get CDE to load

 
Scott McDade
Frequent Advisor

Unable to get CDE to load

I am using a 10.2 system and trying to log onto the system as root. Before CDE desktop loads I get an error dialog that tells me to check the
/home/.dt.errorlog file. So in order to do this I need to login in FAILSAFE mode. When I check the log it tells me that the tooltalk could be installed improperly or not at all. It also complains about the workspace manager DISPLAY.

Some history. This workstation used to be a member of a network under a different hostname. I am now trying to reset the hostname and set it up stand alone without networking support. I am unable to do this as the errors describe above are hindering my progress. Any ideas you may have would be helpful.

Keep it Simple!~
5 REPLIES 5
John Poff
Honored Contributor

Re: Unable to get CDE to load

Hi,

CDE is very picky about hostname resolution. Make sure that whatever hostname you give it successfully resolves on the system, even if it just goes to the loopback address. Check your /etc/hosts file and make sure it agrees with your hostname setting in /etc/rc.config.d/netconf.

JP
Sanjay_6
Honored Contributor

Re: Unable to get CDE to load

Hi Scott,

This could have something to do with the possiblility that the system is using DNS and resolving the hostname / ip address to its previous setting.

Try this link and see if it helps in identifying the problem and setup CDE,

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063200410

The itrc doc id is KBRC00002373.

Hope this helps.

Regds
Rick Garland
Honored Contributor

Re: Unable to get CDE to load

Run the tool /usr/contrib/bin/X11/dr_dt

Take note of the WARNINGS and ERRORS.
Steven E. Protter
Exalted Contributor

Re: Unable to get CDE to load

in /etc/profile

DISPLAY=$(who -m -u | awk '{print$8}':0.0
export DISPLAY

This will at least deal with the DISPLAY problem on direct logins.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steve Steel
Honored Contributor

Re: Unable to get CDE to load

Hi

Tooltalk has a database which contains bad references I suspect

This is best done when CDE is not in use.

Tooltalk is the protocol used by CDE to communicate.

The TT_DB database is corrupt for your new ip.

1)vi /etc/inetd.conf
2)Find
rpc stream tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.tt
dbserver
3)Comment it out.
4)inetd -c
5)Find the $PPID of /usr/dt/bin/rpc.ttdbserver and kill -9 $PPID
(IF IT IS RUNNING)
6)mv /TT_DB/ to other name on root and any local directories where it exists.
ll /TT_DB /*/TT_DB and remove all directories found which are local.
7)vi /etc/inetd.conf
8)Find the line
rpc stream tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver
9)Remove the previous comment and reopen the line.
10)inetd -c

The first rpc request will rebuild the database.


That should solve your Tooltalk Problem



Then run dr_dt as indicated

check the new hostname is and the old hostname is not in /etc/hosts

If you have an alias then use format
ip fully_qualified_name shortname

do nslookup hostname to check



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)