I've added abc.sh to /etc/profile.d When I start a new XTerm the environment variables in the abc.sh are not being set in the new XTerm. This works fine if I su - in an existing XTerm.
|
feedback
|
|
I believe xterm does not run a login shell by default. Try using "xterm -ls" if you want to read your profile scripts From the xterm man page
From the bash man page
| |||
|
feedback
|
|
Check | |||
|
feedback
|