I think we should not post this bug report to the upstream's BTS because this bug only occus on Ubuntu.
Here are some background info. '55gnome-session_gnomerc' is created by Debian and not included in the original tarball of gnome-session, and it perfectly works on Debian.
So why it fails on Ubuntu? Ubuntu's 'ubuntu-session' package provides '/usr/share/xsessions/ubuntu.desktop' file that executes gnome-session by the following command line:
I think we should not post this bug report to the upstream's BTS because this bug only occus on Ubuntu.
Here are some background info. '55gnome- session_ gnomerc' is created by Debian and not included in the original tarball of gnome-session, and it perfectly works on Debian.
So why it fails on Ubuntu? Ubuntu's 'ubuntu-session' package provides '/usr/share/ xsessions/ ubuntu. desktop' file that executes gnome-session by the following command line:
env GNOME_SHELL_ SESSION_ MODE=ubuntu /usr/bin/ gnome-session --systemd --session=ubuntu
For comparison, on Debian, '/usr/share/ xsessions/ gnome.desktop' simply calls '/usr/bin/ gnome-session' .
In conclusion, 1) Ubuntu activates /usr/bin/ gnome-session in a non-standard way, and 2) 55gnome- session_ gnomerc does not expect it.