Include this line: . ~/.bash_profile in your .xsession file, and tell gdm to start a 'default system session'