LightDM should read ~/.profile when initializing a session

Bug #1671026 reported by amosbatto
6
This bug affects 1 person
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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.