Hi Felix,

I may have missed it with all of the other discussion in this thread, but could you explain the base issue you're trying to address? There isn't much that we would want from the root environment passed to the users session, so I think clearing the environment is mandatory. Why and when do you need the environment variables setup, and is there a reason executing a login shell, like entrance does to start a session, doesn't satisfy the requirements?

Nathan

On 12/1/05, Felix Breuer <[EMAIL PROTECTED]> wrote:
On Fri, 2 Dec 2005 03:54:15 +0000
Felix Breuer <[EMAIL PROTECTED]> wrote:

> Now, if you think Entrance should always clear the environment, that's
> ok. My next option would then be to have Entrance read the variables it
> is supposed to set from /etc/environment. If I am not mistaken, simply
> executing /etc/environment in entrance would not set the variables. I
> would have to parse the file (using regular expressions) and set the
> individual variables explicitly. Would that approach be ok for you?

I forgot to mention the format of the file. It contains lines of the
form:

  export VAR=VALUE

which is fairly standard. If you think this is too particular to my
case, what format would you suggest for specifying the environment?

Forgive my ignorance, but how do KDM/GDM handle the environment?

Felix


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to