I'm using Linux Mint. My login shell (cat /etc/passwd | grep myUserName
) is bash.
After I start my graphical desktop environment and run terminal emulator from it, I could see that .bash_profile
is not sourced (environment vars that export
in it is unset). But if I login from text console (ctrl+alt+F1) or manually run bash -l
from terminal emulator, .bash_profile
works fine.
Am I wrong when I think that .bash_profile
should source when X starts and all export
'ed vars should be available in terminal, running from X?