Thoughts on Future of GDM and X11

A couple of weeks ago when Fedora 42 was released, I noticed that GDM would allow to only login to wayland sessions. Fedora devs had removed ability to login to a X11 DE with GDM in Fedora 42. After some complaints, they reversed this decision for Fedora 42, stating that Fedora 42 would be the last release with GDM X11 support, since this is the direction GNOME devs are heading anyways.

From an enduser perspective, this direction would be undesirable.
I understand that wayland is the future and X11 basically dead. So, there is no objection to GNOME itself being wayland only in near future.
As a enduser who has several DE’s installed, an wayland only GDM on the other hand is inconvenient. You need GDM for screen locking in GNOME. So you kind of need to use GDM.
The need to change display manager to be able to login to a X11 DE is a sad prospect.

2 Likes

Stop right there.

This is not an ā€œend user perspectiveā€: it’s yours. Do not try to elevate your perspective and needs to the ones of a ā€œgeneric end userā€. End users don’t really care about X11 or Wayland; people using several DEs are also not even the plurality of the installed user base.

Then switch to a Linux distribution that caters to your requirements, and reverts changes in the GNOME session manager and login manager components.

The clock has run out on X11 sessions, but it’s all free and open source software: you can take the code, revert changes, and package things yourself—or convince somebody else to do it for you.

3 Likes

I start from the fact that I understand the fact that some users may have more than one desktop environment installed (personally I find it a mess, but rightly so not everyone is like me).

GDM does not support X11 sessions (at the moment), originally it was supposed to be disconnected only for GNOME (to have only GNOME Wayland), but the side effect of disabling the X11 session is that it also disables other X11 sessions.

GDM currently has an option called ā€œEnableXorg=Trueā€ for the GDM config, and there is discussion about whether not to break other X11 sessions.
Also, there is a flag for Meson to compile GDM with X11 support.

The fact is that GNOME is focusing heavily on Wayland, deprecating the X11 session, and I support this thing being one who prefers Wayland.

1 Like

Stop right there.

This is not an ā€œend user perspectiveā€

They seem like an end user to me.

Also ā€œThe topics discussed here matter to us, and we want you to act as if they matter to you, too. Be respectful of the topics and the people discussing them, even if you disagree with some of what is being said.ā€


As for the original question, @sebo505 , GDM does actually seem to be taking X11 DEs into account:

2 Likes

It does not matter one bit.

If you want to have a discussion on a topic, do not try to pass your opinion as ā€œthe will of the peopleā€. If something matters to you, then it’s enough of a justification; trying to elevate yourself as a representative of some plurality or majority of users makes it impossible to have a discussion, because it always has to start from a negative position. It is also a rhetorical trick that betrays the lack of faith in your own position. I strongly recommend watching this presentation from GUADEC 2013 on reporting UX issues.

3 Likes

I think its understandable that some people are gonna be sad that GDM will lose x11 session support, but thankfully this issue will be better in the future. Many other desktops already have experimental Wayland sesssions or are in the process of writing one. Give them some time :slightly_smiling_face: Wayland is better than x11 ever was, so its only matter of time.

And those desktops/WMs that don’t plan on getting one, why not explore alternatives?

4 Likes

Hi :wave:

Person who’s (likely) going to be ripping out the X11 support from GDM here.

I’ll be careful to ensure that GDM is still able to launch X11 desktops. GDM itself (i.e. the login screen) will be running on Wayland. XDMCP will be stripped out. So will GDM’s ability to reuse the greeter’s X server for the final user session.

If launching non-GNOME X11 desktops breaks, it’s a bug. Please report it.

13 Likes

While I agree with you on this, and people claiming to speak on behalf of all end users are often impossible to talk to, I’m not sure that this is what happened here.

Pointing out that your own perspective is from an end user is not the same as claiming to speak for all end users. Especially here: ā€œAs a enduser who has several DE’s installedā€ is quite specific, and doesn’t sound to me like a claim of some sort of ā€œmajorityā€. Most such claims that I’ve encountered are paired with words like ā€œeveryoneā€ or ā€œnobodyā€ or ā€œobviousā€ or ā€œmost usersā€ or similar. This is absent here

Would it have been a lot more clear if ā€œFrom an enduser perspectiveā€ was phrased as ā€œFrom my perspective as an end userā€? Sure. But I suspect that there might be a slight language barrier here as well.

7 Likes

Thank you for your kind reply. This thread heated up way too quickly. Maybe I should have chosen my words more wisely.
I just wanted to raise my concern after the recent Fedora 42 events in regard to GDM and inquire about GNOME’s plans for GDM in regard to X11 session support.
I personally think it’s good news that you try to avoid breaking support for non-GNOME X11 desktops.
So, thank you very much for your clarifications.

5 Likes

Are you in charge of GDM? :face_with_monocle:


If so, I noticed a bug:

When changing resolution settings, enable/disable the ā€œAdjust for TVā€ option, when changing orientation, scale…

Les paramètres sont stockés ici :
~/.config/monitors.xml (=/home/<username>/.config/monitors.xml)

Ce fichier ressemble Ơ Ƨa :
<monitors version="2">
  <configuration>
    <layoutmode>logical</layoutmode>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1.25</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>eDP-1</connector>
          <vendor>LEN</vendor>
          <product>0x9021</product>
          <serial>0x00000000</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60.049</rate>
        </mode>
        <underscanning>yes</underscanning>
      </monitor>
    </logicalmonitor>
  </configuration>
  <configuration>
    <layoutmode>logical</layoutmode>
    <logicalmonitor>
      <x>1666</x>
      <y>1440</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>eDP-1</connector>
          <vendor>LEN</vendor>
          <product>0x9021</product>
          <serial>0x00000000</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60.049</rate>
        </mode>
        <underscanning>yes</underscanning>
      </monitor>
    </logicalmonitor>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <monitor>
        <monitorspec>
          <connector>DP-3</connector>
          <vendor>IVM</vendor>
          <product>PL2791Q</product>
          <serial>1153923021726</serial>
        </monitorspec>
        <mode>
          <width>2560</width>
          <height>1440</height>
          <rate>59.951</rate>
        </mode>
        <underscanning>yes</underscanning>
      </monitor>
    </logicalmonitor>
    <logicalmonitor>
      <x>2560</x>
      <y>0</y>
      <scale>1</scale>
      <monitor>
        <monitorspec>
          <connector>DP-4</connector>
          <vendor>IVM</vendor>
          <product>PL2791Q</product>
          <serial>1153923021720</serial>
        </monitorspec>
        <mode>
          <width>2560</width>
          <height>1440</height>
          <rate>59.951</rate>
        </mode>
        <underscanning>yes</underscanning>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>

~gdm/.config/monitors.xml


The bug:

The screen customizations mentioned above only apply to GNOME desktop, not GDM.

J’ai dĆ©couvert que GDM utilise un autre monitors.xml que le bureau GNOME, qui se trouve ici:
~gdm/.config/monitors.xml (=[admin://]/var/lib/gdm/.config/monitors.xml)

In fact, you just need to replace ~gdm/.config/monitors.xml with ~/.config/monitors.xml, and your GNOME session configuration is applied to GDM.

—> Could you please make it so that this manipulation is no longer necessary? :pray: :blush:



I noticed another display issue with GDM / GNOME desktop

Summary of this topic

The problem:

When I connect a setup of 2 monitors (via a usb-c dock), the screens are detected, etc… BUT the configuration of the integrated screen of my laptop changes, it’s extremely annoying:

I believe GNOME regenerates the monitors.xml every time an unknown display is connected. This forces me to reconfigure the displays every time I connect my laptop to a monitor setup.

Why does GNOME regenerate the entire monitors.xml?

KDE just adds a new screen configuration below everything else. Couldn’t GNOME do it like that? It makes the most sense.

Thank you very much for your help! :smiley:

First bug → Users: add a login screen configuration preference (#2185) Ā· Issues Ā· GNOME / Settings Ā· GitLab

Second bug → should be filed against Mutter

1 Like

:heart_eyes:

Will these bugs be fixed for GNOME 49?

I see that

is 2 years old…