[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

.bash_profile problems under gnome



Hi -- I'm using gdm, gnome, and bash, and can't seem to get things set up
so my .bash_profile gets read properly upon login.  I've seen some messages
on various lists that advised explicitly sourcing .bash_profile in
.xsession for proper startup -- problem is related to Xsession being run as
/bin/sh rather than /bin/bash, I think.  This seems like kind of an awkward
soln, but I can live with it.  Now I'm finding, though, that my .xsession
*also* doesn't seem to be getting read, despite that everything seems to be
in order (/etc/X11/Xsession okay, no ~/.Xsession in the way,
allow-user-xsession in Xsession.options, etc.).

Just to be clear, the basic symptom is that variables set in .bash_profile
(including my path) are undefined/incorrect in all applications, including
terminals.  Setting them in ~/.xsession, or sourcing .bash_profile from
~/.xsession doesn't help.

Thanks,
Adam Siepel



Reply to: