Re: /etc/profile and gdm/xdm

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mark Phillips
Date:  
To: plug-discuss
Subject: Re: /etc/profile and gdm/xdm
Jeremy,

Thanks for your response....I tried the following and the environment
variables I set up in /etc/profile are still not being read:

1. Created a file .xsession
2. Added these lines:
. /etc/profile
exec gdm
3. rebooted

What am I missing?

Mark

Jeremy C. Reed wrote:

>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
>
>
>

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