Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2052720

Summary: [RHEL 8.4] Xorg experiencing hanging when resizing/moving mwm windows over x0vncserver (:0.0 and 0.1)
Product: Red Hat Enterprise Linux 8 Reporter: Brandon Clark <brclark>
Component: motifAssignee: Carlos Soriano <csoriano>
Status: CLOSED NOTABUG QA Contact: Tomas Pelka <tpelka>
Severity: medium Docs Contact:
Priority: low    
Version: 8.4CC: alanm, amike, brclark, casantos, jwright, kemyers, mkielian, mkolbas, mpenttil, ndegraef, ofourdan, sbarcomb, tpelka, vikpatil
Target Milestone: rcKeywords: OtherQA, Regression, Triaged
Target Release: ---Flags: kemyers: needinfo-
pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-27 12:41:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brandon Clark 2022-02-09 21:00:19 UTC
Description of problem:
When using a dual-monitor setup for x0vncserver (a server each on :0.0 and 0.1), Xorg/mwm hangs when resizing/moving windows. Clicking the mouse at the local console of the system clears the hang, but not clicking in the x0vncserver.

Version-Release number of selected component (if applicable):
motif-2.3.4-16.el8.x86_64
tigervnc-server-1.11.0-6.el8.x86_64
tigervnc-server-minimal-1.11.0-6.el8.x86_64
xorg-x11-server-Xorg-1.20.10-1.el8.x86_64

How reproducible:
Customer was able to reproduce consistently.

Steps to Reproduce:
1.Start two x0vncserver instances as follows:

$ export DISPLAY=:0.0; x0vncserver -rfbport=5900 -PasswordFile=/repos/vnc/passwd &
$ export DISPLAY=:0.1; x0vncserver -rfbport=5901 -PasswordFile=/repos/vnc/passwd &

2.Open each display in respective VNC client instance.
3.Attempt to move or resize window

Actual results:
x0vncserver display hangs, requiring input on local console to unhang display.

Expected results:
x0vncserver displays do not hang when moving windows around.

Additional info:
In case listing was opened for, they are using the following card:

NVidia NVS 310 with the GLX 390.144 driver

I personally was unable to properly reproduce the issue due to issue regarding getting display :0.1 working properly.

Comment 49 Kevin Myers 2022-07-27 12:41:41 UTC
This issue occurs when using x0vncserver and mwm as both of these are X11 clients to the same Xserver.

When a window is moved or resized in mwm, the default settings perform an XGrabServer() blocking other X11 clients from the Xserver.  This prevents those X11 clients from drawing the updates on the respective screen.  (The issue does not occur with Xvnc as it creates a virtual display becoming a single client of the X server).

Using the mwm option to disable the 'freezeOnConfig' setting will prevent this from occurring

example:
  $ mwm -xrm "Mwm*freezeOnConfig: False"