1833027 Members
2110 Online
110049 Solutions
New Discussion

CDE login problem

 
SOLVED
Go to solution
Abhijeet_3
Frequent Advisor

CDE login problem

Unable to login through CDE.
Checked nslookup for hostname /IP , it is ok.

How to troubleshoot this problem.
10 REPLIES 10
Donald Kok
Respected Contributor

Re: CDE login problem

Hi,

check your $DISPLAY varible. It should point to your machine.

Greetzz
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
Steven E. Protter
Exalted Contributor

Re: CDE login problem

The DISPLAY variable needs to be set to the IP of the machine trying to connect. If thats your PC your IP addy from ipconfig

ex

192.168.0.10:0.0

This needs to be set in the user .profile

DISPLAY=192.168.0.10:0.0
export DISPLAY

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
Sachin Patel
Honored Contributor

Re: CDE login problem

Hi Abhi,
what is your errorlog? if you trying to login as root then it is in /.dt/

Sachin
Is photography a hobby or another way to spend $
Alex Glennie
Honored Contributor
Solution

Re: CDE login problem

depending on the O/S ?

ps -ef | grep rpcbind or portmap ... are they running ?

At what stage of the login does it fail ... do you see the cde login and copyright screens ?

run dr_dt and postt output.

does the syslog.log contain any clues ? and are any services failing at boot checked the /etc/rc.log ?
Sachin Patel
Honored Contributor

Re: CDE login problem

Well Now Xman is here XAlex. Consider that your problem is solved.

Is photography a hobby or another way to spend $
Abhijeet_3
Frequent Advisor

Re: CDE login problem

Alex ,
This is HP-UX 10.20.

CDE login process remain stuck on copyright screen

No change in inetd.conf recently.

While dr_dt , Error - 0,Warning 10.
Alex Glennie
Honored Contributor

Re: CDE login problem

OK if the CDE process (dtlogin) is running on a server but you are attempting to connect to it via a PC,xterminal or other remote connection the problem could be connected to fonts. see http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x66f235067c18d6118ff40090279cd0f9,00.html on how to setup a font server on the hpux 10.20 system and then add the font servers address tcp/:7000 to the head of the PC X emulation s/w's or xterminal's font path.

If this a workstation and CDE is failing to display locally or the above does not resolve :

comment on the h/w involved, how hostname resolution is made etc/hosts, DNS ? post dr_dt output regardless of errors/warnings.

check/var/dt/Xerrors and add set -x in $HOME/.dtprofile, attempt to login then look at $HOME/.dt/startlog and the syslog.log.

Abhijeet_3
Frequent Advisor

Re: CDE login problem

Alex,

I am trying to login CDE from server console , not from teminal.

How/where can I insert line
"$XDIR/xset fp+ tcp/IPAddress :7000 1 > /dev/null" in /etc/dt/config/Xsetup file
Alex Glennie
Honored Contributor

Re: CDE login problem

the server console ... what is it attached to exactly ... I'd like a model number like L1000,K410 etc ?

please post ioscan output.

please please post dr_dt output

Please comment on what you see appearing on the server console

Please see above unanswered questions from my last post.
Abhijeet_3
Frequent Advisor

Re: CDE login problem

Alex,

The problem has been resolved.
portmap was not running.
(ps -ef | grep portmap )

After starting portmap (/usr/sbin/portmap), I am able to login through CDE.

But now question is how to start portmap at boottime ?