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

Re: Can't get environment variables to stick



On Thu, Dec 19, 2002 at 09:32:54PM -0600, Steve Doerr wrote:
> Hello.  Can anyone give me some tips as to why the following variables 
> aren't available to the user I log in as?
> 
> I've put them in /etc/profile, /home/steve/.bashrc, and 
> /home/steve/.bash_profile.  Log out and back in thru gdm, and I have to 
> set them manually.  On a side note, Mozilla should be picking them up as 
> a printer list when I run it as user steve, but it's not seeing them either.
> 
> export XPSERVERLIST="'/etc/init.d/xprint get_xpserverlist'"
> export LPDEST=lp

Graphical login managers don't source those files.  You need to start
your WM using an ~/.xsession file, which should source anything you
want.

-rob

Attachment: pgpd7Aus3Q7SB.pgp
Description: PGP signature


Reply to: