Bug 2046159

Summary: Unable to disable xrandr configuration in wayland, need to be able to set or enforce monitor setup irregardless of users montiors.xml [rhel-9.0.0]
Product: Red Hat Enterprise Linux 9 Reporter: Jonas Ådahl <jadahl>
Component: mutterAssignee: Jonas Ådahl <jadahl>
Status: CLOSED ERRATA QA Contact: Peter Kopec <pekopec>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: fmuellner, pekopec, rstrode, tpelka
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mutter-40.8-2.el9 Doc Type: Enhancement
Doc Text:
Feature: Configure system level monitor configuration policy Reason: Ability to inhibit overriding system monitor configuration Result: Monitor configuration provided by system will always be used
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 12:33:44 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 Jonas Ådahl 2022-01-26 10:22:56 UTC
This bug was initially created as a copy of Bug #2001655

I am copying this bug because: 



Description of problem:

Under RHEL7 it used to be possible to disable xrandr setup using the following dconf key; 


dconf write /org/gnome/settings-daemon/plugins/xrandr/active false

This would force the system to ignore any user's ~/.conf/monitors.xml file and enforce a local only monitor configuration.  


This is useful with dealing with workstations, especialy stations that utilize either multiple monitors or non-standard mopnitors, etc.




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


This setting was entirely removed from Gnome in 3.26, per engineering:

RHEL 7.5 - 7.9
All of RHEL 8 





How reproducible:


Steps to Reproduce:
1.  Login and add the following dconf key: dconf write /org/gnome/settings-daemon/plugins/xrandr/active false

2. Run: "dconf update"
3. Restart X server/Gnoem or Reboot.

Actual results:

Monitor settings still read ~/.conig/monitors.xml


Expected results:

Monitor should be defaulting to setting setup in: 

/etc/X11/xorg.conf


Additional info:

In RHEL8 this would be after disabling wayland and setting it up to use Xorg server.


Functionality ( to set a local enforced monitor configuration ) should be added to Gnome/Xerver or incorporated into wayland moving forward.

Comment 3 Peter Kopec 2022-02-09 19:42:53 UTC
with monitors.xml in /etc/xdg and policy set to system all users used that xml instead of user one

Comment 7 Peter Kopec 2022-02-15 20:20:33 UTC
Based on testing in Comment 3 moving to verified.

Comment 9 errata-xmlrpc 2022-05-17 12:33:44 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 (new packages: mutter), 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-2022:2343