Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-19410

PreferredDisplayServer=legacy-xorg option doesn't work without small change

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.4
    • rhel-9.4
    • gdm
    • gdm-40.1-23.el9
    • None
    • None
    • rhel-sst-display-desktop-foundation
    • ssg_display
    • 20
    • 22
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None

      GDM provides a way for a system to specify whether it wants wayland by default, xorg by default, or the old RHEL style of Xorg running as root and shared between the login screen and the user session.

       

      The latter option is specified by setting

      PreferredDisplayServer=legacy-xorg

       

      in the [daemon] section of the GDM configuration file. Unfortunately, this option doesn't currently work. It needs a small 3 line change:

      ~~~

      +        if (self->display_x11_authority_file != NULL)

      { +                return GDM_SESSION_DISPLAY_MODE_REUSE_VT; +        }

      ~~

      to the gdm_session_get_display_mode function to work.

            [RHEL-19410] PreferredDisplayServer=legacy-xorg option doesn't work without small change

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (gdm bug fix update), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHBA-2024:2331

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (gdm bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2024:2331

            gitlab-bot added a comment -

            Ray Strode mentioned this issue in a commit of Red Hat / centos-stream / rpms / gdm on branch fix-tmpfiles-d:

            Make /var/log/gdm tmpfiles.d snippet match files manifest to fix installability test

            gitlab-bot added a comment - Ray Strode mentioned this issue in a commit of Red Hat / centos-stream / rpms / gdm on branch fix-tmpfiles-d : Make /var/log/gdm tmpfiles.d snippet match files manifest to fix installability test

              rhn-engineering-rstrode Ray Strode
              rhn-engineering-rstrode Ray Strode
              Ray Strode Ray Strode
              Michal Odehnal Michal Odehnal
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: