Re: /etc/profile and gdm/xdm

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: PLUG
Subject: Re: /etc/profile and gdm/xdm
On Fri, 17 Dec 2004, Mark Phillips wrote:

> How can I make gdm or xdm read /etc/profile at start up? I have some
> environment variables in /etc/profile and they are not set when I log in.


/etc/profile is used by login Bourne-type shell, but you can still use it
since sh is used to run the Xsession.

Source the file in with a ~/.xsession file, like:

. /etc/profile
exec yourwindowmanager


Jeremy C. Reed

                 BSD News, BSD tutorials, BSD links
                http://www.bsdnewsletter.com/


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss