I'm not sure that this is entirely a good idea. /etc/gdm/Xsession is run as /bin/sh, which on my system is dash. Sourcing my ~/.profile, which is intended for $SHELL (ksh in this case) doesn't always work out as intended.
I'm not sure that this is entirely a good idea. /etc/gdm/Xsession is run as /bin/sh, which on my system is dash. Sourcing my ~/.profile, which is intended for $SHELL (ksh in this case) doesn't always work out as intended.