.bashrc not getting sourced during Gnome login

stan stanb at panix.com
Sat Oct 14 17:31:20 UTC 2006


On Sat, Oct 14, 2006 at 10:19:36AM -0700, Constantine Evans wrote:
> stan wrote:
> > For some reason terminal sessions spawned from the Gnome window manager do
> > not seem to inherit variables set in .bashec.
> > 
> > How can I fix this?
> > 
> > 6.10, if it matters
> > 
> 
> Sorry about the uninformed suggestions here. Gnome terminal is not a 
> login shell by default (unless you change that setting), so it should 
> not be sourcing .bash_profile.
> 
> It is sourcing ~/.bashrc on my system, so you should try to see if there 
> is something wrong with the file. If you replace it with a small file 
> like "export THIS_IS_WORKING=1", does that work? Does it work when you 
> start bash from in the terminal? Does the script show up when you start 
> bash --verbose?

That was he problem. I changed the icon to satrt xterm instead, and now all
is well.

Thanks.

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)




More information about the ubuntu-users mailing list