Bug#973485: gdm3: options for both "System X11 Default" and "Default X11 Session"

Simon McVittie smcv at debian.org
Thu Nov 5 11:39:59 GMT 2020

Control: clone -1 -2
Control: retitle -2 gdm3: options for both "System X11 Default" and "Default X11 Session"
Control: severity -2 minor

On Thu, 05 Nov 2020 at 11:32:37 +0100, Christoph Berg wrote:
> I confirm that both the "System X11 Default" and "Default X11 Session"
> options start my .Xsession file. (Iirc the second option was missing
> in the old version.)

This seems like a (much more minor) bug: we should only have one option
for "unspecified OS default" (which is not actually the default for gdm
because we want to default to GNOME on Wayland, so maybe we should rename
it to not have "default" in its name).

I don't have this. I currently have options for:

* System X11 Default
* GNOME Classic
* GNOME on Xorg
* Weston

which come from

* /usr/share/gdm/BuiltInSessions/default.desktop
* /usr/share/wayland-sessions/gnome.desktop or /usr/share/xsessions/gnome.desktop
* /usr/share/xsessions/gnome-classic.desktop
* /usr/share/xsessions/gnome-xorg.desktop
* /usr/share/wayland-sessions/weston.desktop


I think gdm looks for these in /usr/share/gdm, /usr/share/xsessions and
/usr/share/wayland-sessions; possibly also /etc/gdm3. Please grep these
locations for 'Name=Default X11 Session'?

It isn't ideal that we have an option for "it does something but we
can't tell you what", but we don't have enough information to do better,
and even if we could look into individual users' home directories to
see whether they have ~/.xsession and display that in the greeter,
that would be an information leak.


More information about the pkg-gnome-maintainers mailing list