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 1949176 - GNOME Shell on Wayland does not generate xauth data, needed for X forwarding over SSH
Summary: GNOME Shell on Wayland does not generate xauth data, needed for X forwarding ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: mutter
Version: 8.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: beta
: ---
Assignee: Jonas Ådahl
QA Contact: Michal Odehnal
URL:
Whiteboard:
: 1778159 (view as bug list)
Depends On:
Blocks: 1778159
TreeView+ depends on / blocked
 
Reported: 2021-04-13 15:50 UTC by David Ward
Modified: 2021-11-10 07:28 UTC (History)
18 users (show)

Fixed In Version: mutter-3.32.2-58.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1425250
Environment:
Last Closed: 2021-11-09 19:34:22 UTC
Type: Support Patch
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Adjusted version of upstream patch for RHEL 8.x (5.67 KB, patch)
2021-04-13 15:50 UTC, David Ward
hdegoede: review+
Details | Diff


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME mutter issues 643 0 None None None 2021-04-13 15:50:03 UTC
Red Hat Product Errata RHSA-2021:4381 0 None None None 2021-11-09 19:34:42 UTC

Description David Ward 2021-04-13 15:50:04 UTC
Created attachment 1771655 [details]
Adjusted version of upstream patch for RHEL 8.x

+++ This bug was initially created as a clone of Bug #1425250 +++

Description of problem:

GNOME Shell on Wayland is the default desktop environment in RHEL 8. This environment is currently missing the ability to establish an SSH connection with X forwarding, in order to run graphical applications on a remote system -- even though the RHEL 8 desktop environment includes Xwayland for compatibility with X applications.

This happens because the display server (Mutter) does not generate an xauth file (.Xauthority), which contains a "cookie" that the remote system (X client) needs in order to authenticate itself to the local display server. This message is displayed instead when establishing the SSH connection:

$ ssh -o ForwardX11=yes -o ForwardAgent=yes anotherhost
Warning: No xauth data; using fake authentication data for X11 forwarding.


This was fixed upstream in GNOME 3.34 with the following commit by Hans de Goede (Red Hat, cc'd): https://gitlab.gnome.org/GNOME/mutter/commit/a8984a81c2e887623d69ec9989ae8a5025f7bd47

RHEL 8.x currently uses GNOME 3.32. The commit above requires one small contextual change in order to backport correctly. I have attached the adjusted diff. With this diff applied, I am able to run remote X applications over an SSH connection, in the GNOME Shell on Wayland desktop environment.

Please queue this patch for inclusion.

Comment 1 Hans de Goede 2021-04-13 20:08:59 UTC
Comment on attachment 1771655 [details]
Adjusted version of upstream patch for RHEL 8.x

We don't really use bugzilla patch reviews for RHEL, but FWIW the backport looks good to me.

Comment 3 Jonas Ådahl 2021-06-30 16:30:16 UTC
This also needs https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/735 to not regress.

Comment 4 Vit Mojzis 2021-07-02 10:46:54 UTC
*** Bug 1778159 has been marked as a duplicate of this bug. ***

Comment 5 Michal Odehnal 2021-07-19 09:39:15 UTC
All upstream tests executed with full pass as a result and I was not able to reproduce the bug. Switching to Verified:Tested.

Comment 10 errata-xmlrpc 2021-11-09 19:34:22 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 (Moderate: GNOME security, 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/RHSA-2021:4381


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