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

RE: .bash_profile does not work



When I telnet into Debian from another machine, I get the $PATH 
variables which my .bash_profile  states.

However, when I log into it directly, via XDM, and then turn on a 
bash shell, I get the /etc/profile $PATH.  .  Moreover, if I log on from 
another machine using - not telnet - but rather VNC, then I also get 
the /etc/profile $PATH.  (After the VNC login, I went back  again to 
telnet, where, once again, I got the .bash_profile $PATH)

So this has something to do with XWindows.

But what?

 


> 
> On 09-Aug-2000 dckinder@mountain.net wrote:
> > When I attempt to adjust my path by editing .bash_profile, there is
> > no response.
> > 
> > No matter how I may edit it, when I type $PATH, I get the 
> > environment set by /etc/profile.
> > 
> > How can I override /etc/profile?
> 
> Try something like this in your user .bash_profile:
> 
> PATH=$PATH:$QTDIR/bin:$HOME/bin
> export PATH
> 
> 
> Put your additional paths after the "$PATH:" part above.
> Don't forget to do '. .bash_profile' after editing.
> 
> --
> Andrew
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org
> < /dev/null
> 
> 


Regards,

Duncan C. Kinder
dckinder@mountain.net



Reply to: