GNOME Bugzilla – Bug 764923
.xsession is not executed anymore with custom session
Last modified: 2018-05-24 11:23:05 UTC
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.
Sorry, I did not see the commit message mentioning this feature was deprecated and removed. I was persuaded it was a bug because the comment on line 7: # custom - Run ~/.xsession and if that's not available run 'default' I was puzzled why my ArchLinux did not login from gdm after upgrade to 3.20.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/257.