Operating System - HP-UX
1832291 Members
1919 Online
110041 Solutions
New Discussion

Re: Problems when logging in to CDE

 
A Pedersen
Occasional Advisor

Problems when logging in to CDE

Hi

I have a problem. When logging in to my HPUX 11iv1 via CDE, my .login for my user is not run. I have set DTSOURCEPROFILE=true in the .dtprofile. The user uses csh for shell.
But when I do a 'su - ', the .login is sourced for the user.

I'm (almost) sure that it has something to do with the setup of dt (or CDE), but cannot figure out what I should look into.

Could someone give me a hint of what is wrong?
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: Problems when logging in to CDE

I just force it to source .profile, and /etc/profile, by putting the following in .dtprofile:

DTSOURCEPROFILE=true
. /etc/profile;
. $HOME/.profile;


Pete


Pete
V. Nyga
Honored Contributor

Re: Problems when logging in to CDE

Hi,

check your startlogs in .dt!

If you think that it's your setup, then you can remove .dt. I will be recreated at startup.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Alex Glennie
Honored Contributor

Re: Problems when logging in to CDE

either

a) run dtterm,xterm or hpterm with the -ls option from the command line or

b) cd $HOME
vi .Xresources

add :

*loginShell: true

see http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=207267&admit=-682735245+1180012886586+28353475 for explanation
A Pedersen
Occasional Advisor

Re: Problems when logging in to CDE

Hi

Pete: Yes I could do that, but I have a lot of users to do that for...so that's not an option.

Nyga: Tried that, didn't solve it.

Alex: You lead me in the right direction. I changed to dtterm call in the /usr/dt/appconfig/types/C/dt.dt with the -ls..this solved it.

Thanx to all of you.