Problem with bash login.

Jason Stephenson jason at sigio.com
Sat Jul 15 10:44:01 EDT 2006


Ah, professor, but the real problem here could be Gnome/GDM using a 
non-standard initialization....

I get my bash environment in regular X by sourcing .bash_profile in my 
.xsession file:


#!/usr/local/bin/bash

# If we have a .profile, then load it:
if [ -f ~/.bash_profile ]; then
. ~/.bash_profile
elif [ -f ~/.profile ]; then
. ~/.profile
fi

exec blackbox


It is that easy and everything I run later seems to have the proper 
environment.

Cheers,
Jason "Prof. Cockiasse" Stephenson




More information about the gnhlug-discuss mailing list