¡Hola Michael! El 2017-11-06 a las 13:31 +0100, Michael Biebl escribió:
Another issue I noticed: gdm3 uses /etc/gdm3/Xsession sddm uses /etc/sddm/Xsession lightdm uses /etc/X11/Xsession
to start this special default session.
I wonder if there would be potential for unification (i.e. all affected display managers using the Xsession script from x11-common) or does someone know why it could be beneficial to keep separate Xsession scripts per display manager?
I can only speak for the sddm's Xsession which is a wrapper arround Debian's /etc/X11/Xsession, what it does is to try to set the corresponding shell environment by loading the user profile files.
For example the bash part reads: [ -z "$BASH" ] && exec $SHELL $0 "$@" set +o posix [ -f /etc/profile ] && . /etc/profile if [ -f $HOME/.bash_profile ]; then . $HOME/.bash_profile elif [ -f $HOME/.bash_login ]; then . $HOME/.bash_login elif [ -f $HOME/.profile ]; then . $HOME/.profile fiThe sourced profiles take care of things like adding /usr/games to the PATH, which was loudly asked by our users when the wrapper wasn't present.
Happy hacking, --"Fighting patents one by one will never eliminate the danger of software patents, any more than swatting mosquitoes will eliminate malaria."
-- Richard M. Stallman Saludos /\/\ /\ >< `/
signature.asc
Description: PGP signature