RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2092452 - Downstream patches in mutter break GDM with XDMCP
Summary: Downstream patches in mutter break GDM with XDMCP
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: mutter
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jonas Ådahl
QA Contact: Michal Odehnal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-01 15:00 UTC by Olivier Fourdan
Modified: 2023-05-09 08:58 UTC (History)
4 users (show)

Fixed In Version: mutter-40.9-11.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 07:44:43 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-123918 0 None None None 2022-06-01 15:01:43 UTC
Red Hat Product Errata RHBA-2023:2299 0 None None None 2023-05-09 07:44:52 UTC

Description Olivier Fourdan 2022-06-01 15:00:11 UTC
This bug was initially created as a copy of Bug #2092450

I am copying this bug because the same patches are in el9 as well.

Description of problem:

Downstream patches prevent mutter / gnome-shell from working with XDMCP.

Version-Release number of selected component (if applicable):

mutter-40.9-1.el9

How reproducible:

Always

Steps to Reproduce:

1. Setup xdmcp on el9 (see https://access.redhat.com/solutions/2736)
2. Try to connect to the host using Xorg, Xnest or Xwayland

Actual results:

Nothing happens, no greeter is shown

Expected results:

GDM greeter appears

Additional info:

In the debug logs, we can see an XError:

org.gnome.Shell.desktop[24817]: X Error of failed request:  BadMatch (invalid parameter attributes)
org.gnome.Shell.desktop[24817]:   Major opcode of failed request:  131 (XInputExtension)
org.gnome.Shell.desktop[24817]:   Minor opcode of failed request:  22 (X_GetFeedbackControl)
org.gnome.Shell.desktop[24817]:   Serial number of failed request:  416
org.gnome.Shell.desktop[24817]:   Current serial number in output stream:  416


So this is XGetFeedbackControl() returning a BadMatch.

I spent quite some time trying to figure where that call to XGetFeedbackControl() could come from, as it was nowhere to be found in mutter, gnome-shell or even gnome-settings-daemon, even though gdb was telling me that was coming from libmutter.

…until I realized that's from a downstream patch actually:

  0001-backends-x11-Support-synaptics-configuration.patch

which does:

  states = XGetFeedbackControl (xdisplay, xdevice, &num_feedbacks);

Removing this patch (and a few other dependent ones) allows GDM greeter to work just fine with xdmcp.

The fix should be fairly trivial I reckon, those calls need to be within an X error trap push/pop.

Comment 9 errata-xmlrpc 2023-05-09 07:44:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (mutter bug fix and enhancement 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-2023:2299


Note You need to log in before you can comment on or make changes to this bug.