1832947 Members
2820 Online
110048 Solutions
New Discussion

CDE problem

 
subhashni
Regular Advisor

CDE problem

Could not log in to unix via reflectionx ,screen
just hangs.But i'm able to login using different id with out any problems.Please help .Thanks
unix4me
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: CDE problem

Hi,

Can you telnet to the box with the same id that you are trying for reflection?

If you can then you might need to reset your dt configuration. Telnet to the box and move .dt directory to .dt.old. Then try through reflection x again. It should allow you to login. You can then copy dtwrmrc from .dt.old into your .dt directory and make other customizations.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Chris Vail
Honored Contributor

Re: CDE problem

CDE and X-based stuff does not like errors in the .profile. Even if it is not a significant error in telnet, CDE won't pass it. Try using a .profile that is known to be good.



Chris
CCIL
Frequent Advisor

Re: CDE problem

Hi !

Insert the DISPLAY varible in users .profile file & export the same with IP address from which you are trying to run the CDE, for example if your PC ip address is 10.1.1.1 then insert the following line in user .profile
export DISPLAY=10.1.1.1:0.0
check the .dtprofile as well , it will be in users home directory makesure the you uncomment the DTSOURCEPROFILE parameter & set its value to true .
Amit Vichare
Steve Steel
Honored Contributor

Re: CDE problem

Hi

In the id which will not work look at


$HOME/.dt/startlog

That will show where it hung.

Indeed a bad .profile will kill of a cde login.


Use something like the tty command to screen out the part that kills cde


mytty=$(tty)

if [ "$mytty" = "not a tty" ]; then
echo not terminal > /dev/null
else
part of .profile which relates to a real term such as stty

fi


steve steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Robert True
Frequent Advisor

Re: CDE problem

Are you sure the passwd is not expired for the bad ID? Reflections X has a hard time handling prompts for new passwds, and in my experiance gives no indication of the problem, except you can't log in.