On Fri, 2 Dec 2005 08:46:55 -0600
Nathan Ingersoll <[EMAIL PROTECTED]> wrote:

> Hi Felix,

Hi Nathan and everyone,

[sorry for the week of silence, I was AWFK]

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

Entrance executes a login shell to start a session? That is interesting.
I did a quick grep and could not find the relevant part of the code, could
you point me to it?

Now the problem is the following. After I start a session in entrance,
some environment variables that are important to the system, such as
PYTHONPATH, are not set. These variables are set in the init script and 
later cleared by Entrance. Entrance does not run an Xsession script (there
is none on my distro) but starts E17 directly. Entrance does not run a
login shell in that case, right?

On my system, a login shell reads /etc/profile which sources 
/etc/environment in which all these variables are exported. So
a login shell knows about those variables even though it clears them
first, the same way Entrance does.

What I would like to know is the following:

* What is the standard way for a login manager to read/set the environment for
  a session? Are login managers supposed to go through an Xsession script?

* If so, why does Entrance offer the option to run an executable directly?

* What would be a good way to allow system administrators to customize
  the standard environment for all the sessions that Entrance launches
  directly, i.e. not through an Xsession script?


Thanks,
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to