After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764923 - .xsession is not executed anymore with custom session
.xsession is not executed anymore with custom session
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-11 23:36 UTC by Sylvain Falardeau
Modified: 2018-05-24 11:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sylvain Falardeau 2016-04-11 23:36:47 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.
Comment 1 Sylvain Falardeau 2016-04-12 13:15:27 UTC
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.
Comment 2 GNOME Infrastructure Team 2018-05-24 11:23:05 UTC
-- 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.