1833562 Members
3400 Online
110061 Solutions
New Discussion

User login

 
SOLVED
Go to solution
Ron Bromwell
Frequent Advisor

User login

I have a user that ENVs are not getting set when the user does a CDE login. However, if I do a su - user then the ENVs get set. Can anyone tell me where to look to fix this issue?
Thanks,
Ron
life's a journey, not a destination
11 REPLIES 11
Cheryl Griffin
Honored Contributor
Solution

Re: User login

The reason su works, is that the .profile is sourced.

The reason CDE doesn't work is that the .profile is not being sourced. You need to set DTSOURCEPROFILE environment variable in the user's $HOME/.dtprofile file to TRUE to have the .profile sourced.

Cheryl
"Downtime is a Crime."
Robert-Jan Goossens
Honored Contributor

Re: User login

Hi Ron,

Look at the .dtprofile in homedir of user.

tail -1 .dtprofile
DTSOURCEPROFILE=true

If there is a # before this line remove it.

Regards,

Robert-Jan.
Ron Bromwell
Frequent Advisor

Re: User login

Thanks Cheryl. That did the trick!!! Any idea on how to set a scroll bar to the hpterm window.
life's a journey, not a destination
Cheryl Griffin
Honored Contributor

Re: User login

Check /usr/lib/X11/app-defaults for HPterm*scrollBar set to true. There should also be a line that defines HPterm*saveLines set to 1000.

There should be entries for Xterm. If they are there, just copy both lines and set them up for HPterm.

Cheryl
"Downtime is a Crime."
Cheryl Griffin
Honored Contributor

Re: User login

Ron Bromwell
Frequent Advisor

Re: User login

Hi Cheryl,
apps-default is a directory under /usr/bin/X11. There is a XTerm file in there. Am I to copy this file to a file named HPterm?
life's a journey, not a destination
Cheryl Griffin
Honored Contributor

Re: User login

Ron,
I am sorry. It is a directory and yes, create a file for HPterm just like the one for Xterm.

Cheryl
"Downtime is a Crime."
Ron Bromwell
Frequent Advisor

Re: User login

Can't get that to work. Any suggestions?
life's a journey, not a destination
Ron Bromwell
Frequent Advisor

Re: User login

Cheryl,
It works now. I typed the syntax in wrong. Thanks for the help.

Ron
life's a journey, not a destination
Ron Bromwell
Frequent Advisor

Re: User login

One last question. How do I set this for just certain users vs. everyone?
life's a journey, not a destination