[Bug 72714] $HOME/.bash_profile not run when logging in
Nils Fredrik Gjerull
nils at gjerull.net
Tue Nov 21 15:03:33 UTC 2006
Public bug reported:
Binary package hint: gdm
When logging in using gdm $HOME/.bash_profile is not run. This implies
that environment variables defined in .bash_profile will not be set.
In /etc/X11/gdm/Xsession:
# First read /etc/profile and .profile
test -f /etc/profile && . /etc/profile
test -f "$HOME/.profile" && . "$HOME/.profile"
# Second read /etc/xprofile and .xprofile for X specific setup
test -f /etc/xprofile && . /etc/xprofile
test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
The following line should be added
test -f "$HOME/.bash_profile" && . "$HOME/.bash_profile"
Are there a reason not to run .bash_profile when logging in through gdm?
** Affects: gdm (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
$HOME/.bash_profile not run when logging in
https://launchpad.net/bugs/72714
More information about the desktop-bugs
mailing list