LightDM should read ~/.profile when initializing a session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
New
|
Undecided
|
Unassigned |
Bug Description
Unlike other display managers such as GDM, LightDM does not read the $HOME/.profile file when initializing a login session.
This file is the standard place for session configuration which should work in all environments. $HOME/.xsessionrc is only designed for sessions in X Windows, so it won't work for console sessions. $HOME/.bashrc is only designed for using Bash, so it won't work for other terminal programs.
LightDM should conform to the convention that $HOME/.profile is the place to configure a login session in any environment.
I encountered this problem when installing Rust 1.15. The Rust installation script sets the PATH in the $HOME/.profile and expects all Linux/UNIX flavors to read that file.