[Pkg-xfce-devel] Bug#752129: lightdm: Shell profile startup files not sourced on login
Daniel Richard G.
skunk at iSKUNK.ORG
Thu Jun 19 23:48:24 UTC 2014
If you log in to Debian's Xfce desktop via lightdm, then none of the
environment variables or other settings defined in
are present in the environment. You can even start up a shell in a
terminal emulator, and if the shell is non-login (as is the default),
then your shell will have no profile initializations whatsoever.
This is not the case on Xubuntu; there, lightdm wraps the call to
startxfce4 with /usr/sbin/lightdm-session, a script which contains the
# Load profile
for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
if [ -f "$file" ]; then
echo "Loading profile from $file";
Lightdm on Debian needs to do the above somewhere along the way.
More information about the Pkg-xfce-devel