When CDE starts a shell, it will no longer source .profile. It will source .dtprofile located in the same directory as your .profile.
If you would like your .profile to be sourced, you need to uncomment the last line in you .dtprofile by removing the "#" from the line:
DTSOURCEPROFLE=true