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

Re: Does X11 ignore ~/.bash_profile?



See 'man bash' how the bash starts.
In short, when you login on console (bash ist invoked as a login shell) 
/etc/profile and than ~/.bash_profile is executed. Otherwhise only
~/bashrc is executed.

Martin 

On Fri, 24 Sep 1999, Johann Spies wrote:

> I am trying to install real player and have the following lines in my
> ~/.bash_profile:
> 
> LD_LIBRARY_PATH=/usr/local/src/rvplayer5.0
> export LD_LIBRARY_PATH
> PATH=$PATH:/usr/local/src/rvplayer5.0
> 
> When I do an "echo $PATH" in the console, I get:
> 
> 
> .::/home/jhspies/bin:/usr/gnu/bin:/usr/bin/X11:/use/X11R6/bin:
> /usr/local/bin:/usr/ucb:/bin:/usr/bin:/usr/etc:/etc:/sbin:
> /usr/sbin:/usr/games:/usr/local/sbin:/home/jhspies/bin:
> /usr/arx/bin:/usr/local/lib:/usr/local/pgsql/bin:
> /home/jhspies/Office51/bin:/usr/local/src/rvplayer5.0
> 
> However when I do it in xterm I get 
> 
> .::/home/jhspies/bin:/usr/gnu/bin:/usr/bin/X11:/use/X11R6/bin:
> /usr/local/bin:/usr/ucb:/bin:/usr/bin:/usr/etc:/etc:/sbin:
> /usr/sbin:/usr/games:/usr/local/sbin:/home/jhspies/bin:
> /usr/arx/bin:/usr/local/lib
> 
> Does X11 ignore ~/.bash_profile?

-- 
If the box says 'Windows 95 or better', it should run on Linux, right?
                                                               - anonymous

For public PGP-key:  finger mfluch@mathphys.fsk.uni-heidelberg.de


Reply to: