.xsession is not executed anymore with custom session
Submitted by Sylvain Falardeau
Link to original bug (#764923)
Description
When upgrading to gdm 3.20.0 on archlinux, I was not able to start my custom $HOME/.xsession anymore.
After comparing theses:
https://git.gnome.org/browse/gdm/tree/data/Xsession.in?h=3.20.0
with
https://git.gnome.org/browse/gdm/tree/data/Xsession.in?h=3.18.2
I saw the following code is not there is 3.20.0
if [ "x$command" = "xcustom" ] ; then if [ -x "$HOME/.xsession" ]; then command="$HOME/.xsession" else echo "$0: Cannot find ~/.xsession will try the default session" command="default" fi fi
By adding it I was able to restore the custom session.
Version: 3.20.x