/etc/environment not being read in Lucid
Bug #524761 reported by
Jane Atkinson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxde-common (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
lxdm (Ubuntu) |
Fix Released
|
High
|
Julien Lavergne |
Bug Description
When I boot up, the /etc/environment file isn't being read, meaning that the default $PATH variable is very short, and any other items that I've added don't get added to the environment.
This is happening on my EeePC 900 which is running Lucid with lxde and openbox. It's not happening on my Toshiba Satellite A10 which is running Xubuntu. Therefore, I suspect that it's something to do with lxde/openbox.
My current workaround for this is to add a file, 98environment, to the /etc/X11/Xsession.d directory. Adding lines to /etc/rc.local didn't work.
To post a comment you must log in.
Update:
I made another experimental installation with openbox only, and /etc/environment was read successfully. Then I removed all lxde elements from the main installation, with the exception of lxterminal, which does not depend on any other lxde files, plus my temporary 98environment script mentioned above. /etc/environment is now being read successfully in this installation as well.
Therefore, it seems to me that the source of the problem lies somewhere in the lxde libraries.