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.

              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: