Your message dated Fri, 20 Jun 2014 10:38:33 +0200
with message-id <1403253513.19383.58.camel@scapa>
and subject line Re: [Pkg-xfce-devel] Bug#752129: lightdm: Shell profile 
startup files not sourced on login
has caused the Debian Bug report #752129,
regarding lightdm: Shell profile startup files not sourced on login
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
752129: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752129
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lightdm
Version: 1.10.1-3

If you log in to Debian's Xfce desktop via lightdm, then none of the
environment variables or other settings defined in

    /etc/profile
    /etc/profile.d/*.sh
    /etc/xprofile
    $HOME/.profile
    $HOME/.xprofile

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
following clause:

    # Load profile
    for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" 
"$HOME/.xprofile"; do
        if [ -f "$file" ]; then
            echo "Loading profile from $file";
            . "$file"
        fi
    done

Lightdm on Debian needs to do the above somewhere along the way.

--- End Message ---
--- Begin Message ---
On jeu., 2014-06-19 at 19:48 -0400, Daniel Richard G. wrote:
> If you log in to Debian's Xfce desktop via lightdm, then none of the
> environment variables or other settings defined in
> 
>     /etc/profile
>     /etc/profile.d/*.sh
>     /etc/xprofile
>     $HOME/.profile
>     $HOME/.xprofile


Check the first line of /etc/profile:

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))          
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

There's absolutely no reason to use that outside of bash. If you want to
setup environment variable inside your session, use ~/.xsessionrc.

Regards,
-- 
Yves-Alexis

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

Reply via email to