Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • monitors.xml file not readable

    Posted on

    Hi,

    I have installed Red Hat Enterprise Linux 9.2 (Plow) as a guest on Virtual Box 7.0 and I am running into an issue where my real U3219Q Dell Ultrasharp monitor is being listed as "unknown display" at the resolution of 3840w and 1984h in the RHEL guest machine. This is fine but I wish to start the session at 200% scaling when I log in which is set via Settings > Display > Unknown Display > Scale; whenever the session is restarted however, this value reverts back to 100%.

    The monitors.xml file in

    ~/.config
    and
    /var/lib/gdm/.config/
    both read the following below:

    
      
        
          0
          0
          2
          yes
          
            
              Virtual-1
              unknown
              unknown
              unknown
            
            
              3840
              1984
              59.999576568603516
            
          
        
      
    

    However,

    sudo cat /var/log/messages
    reads:

    Jun 26 20:52:15 localhost journal[1677]: Failed to read monitors config file '/var/lib/gdm/.config/monitors.xml': Config is missing primary logical
    .
    .
    .
    Jun 26 20:52:24 localhost journal[2375]: Failed to read monitors config file '/home/myusername/.config/monitors.xml': Config is missing primary logical
    

    sudo lshw -C display
    shows the following below. The real graphics card that is being virtualised is a Nvidia GeForce GTX 1060.

           *-display
                 description: VGA compatible controller
                 product: SVGA II Adapter
                 vendor: VMware
                 physical id: 2
                 bus info: pci@0000:00:02.0
                 logical name: /dev/fb0
                 version: 00
                 width: 32 bits
                 clock: 33MHz
                 capabilities: vga_controller bus_master rom fb
                 configuration: depth=32 driver=vmwgfx latency=64 resolution=2048,2048
    

    Is there anything I can do to get my session to display at 200% even after a reboot? I'm struggling to find any Q&A or documentation on "Config is missing primary logical" in relation to the monitors.xml file

    Thanks.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat