lightdm forgets to source /etc/profile and ~/.profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
Medium
|
Unassigned | ||
lightdm (Debian) |
Fix Released
|
Unknown
|
|||
lightdm (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: lightdm
/etc/gdm/Xsession had this code:
# First read /etc/profile and .profile
test -f /etc/profile && . /etc/profile
test -f "$HOME/.profile" && . "$HOME/.profile"
# Second read /etc/xprofile and .xprofile for X specific setup
test -f /etc/xprofile && . /etc/xprofile
test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
so that, for example, ~/bin gets added to the path (by the default ~/.profile), and any user-customized environment setup gets run.
After switching from gdm to lightdm, this no longer happens. This is going to be a regression now that lightdm is becoming the default display manager.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 0.3.7-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.39-3-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue Jun 7 19:27:11 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.utf8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in lightdm (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in lightdm: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in lightdm (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in lightdm: | |
status: | Triaged → Fix Released |
Changed in lightdm (Debian): | |
status: | Unknown → Won't Fix |
Changed in lightdm (Debian): | |
status: | Won't Fix → Confirmed |
Changed in lightdm (Debian): | |
status: | Confirmed → Fix Released |
I noticed this with the LightDM drops in the oneiric repos today.
Until this is fixed, you don't automatically get ~/bin added to your path.