1833762 Members
2188 Online
110063 Solutions
New Discussion

CDE Environment

 
SOLVED
Go to solution
MikeL_4
Super Advisor

CDE Environment

When I go into the CDE environment it does not appear to be executing the /etc/profile.

I've made sure the .dtprofile has the line DTSOURCEPROFILE=true uncommented. Is there something else I need to change ?
5 REPLIES 5
Stf
Esteemed Contributor

Re: CDE Environment

Do you have a .profile instead of /etc/profile?

Stf ;-)
MikeL_4
Super Advisor

Re: CDE Environment

Have both /etc/profile and .profile in $HOME
Sanjay_6
Honored Contributor
Solution

Re: CDE Environment

Hi Mike,

you can try this by creating a file .Xdefaults in the user home directory.

Add this entry to the file,

*loginShell: true

do a chmod to change the permissions to 775.

/usr/bin/chmod 755 $HOME/.Xdefaults

If the file already exist, add this line at the end of the file.

This incorporates the default sequence of reading the /etc/profile and similar files when each new terminal window is opened. Therefore, the environment in the shell window will NOT be the same as as that of the standard CDE session (/usr/dt/bin/dtsession).

Hope this helps.

Regds
Stf
Esteemed Contributor

Re: CDE Environment

Make your changes on .profile and see if it works...

Stf ;-)
MikeL_4
Super Advisor

Re: CDE Environment

Sanjay, Thanks, that resolved issue.