On Sat, Jun 14, 2003 at 12:31:36AM +0100, Ben Kal wrote: > On 12 Jun 2003 David Fokkema <[EMAIL PROTECTED]> wrote: > > .... and what file I need to edit to have a _system-wide_ variable > > declaration. > > /etc/profile, IMO. Just make sure it is also read at the start of each X > session by inserting a line to source /etc/profile into /etc/Xsession or > into every user's .xsession. > > AFAIK there is no file in which to set environment variables that then would > *automatically* be available in X sessions as well as in shells on virtual > consoles.
Christoph Groth mentioned to me that I should edit /etc/environment. It is parsed by PAM for both login and kdm. It works very well! I don't have to edit other things, just this one file. David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]