Comment 2 for bug 1895781

Revision history for this message
Kentaro (kentarofukuchi) wrote :

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.