The .bash_profile never gets sourced for a user that logs into a CDE session via XDMCP on an AIX host where the user's login shell is set to BASH.
LAST MODIFIED DATE: July 23, 2008
VERSION: This applies to Exceed onDemand version 6.
PROBLEM:
If using BASH as the shell, the .bash_profile never gets executed when running a CDE session via XDMCP. Through a passive connection it works fine by sourcing the shell profile with -ls.
SOLUTION:
The quickest solution is to execute the .bash_profile from the .dtprofile for the user. Add the following lines to .dtprofile:
if [ -f ${HOME}/.bash_profile ]; then
. ${HOME}/.bash_profile
fi


Print View
Contact Me