Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-40884

gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.1
    • rhel-10.0.beta
    • gtk3
    • None
    • gtk3-3.24.43-4.el10
    • None
    • Low
    • 1
    • rhel-display-desktop-foundation
    • ssg_display
    • 8
    • 10
    • 4
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Display - Sprint 3/2025
    • None

      What were you trying to do that didn't work?

      I was trying a remote graphical installation using RDP. After providing the RDP username and password, there are many errors printed on the screen:

      ...
      Password: 
      Password (confirm): 
      11:37:24 Starting GNOME remote desktop in RDP mode...
      11:37:25 GNOME remote desktop RDP: SSL certificates generated & set
      11:37:25 ('localhost.localdomain', [], ['192.168.122.216'])etAlt+Tab | Help: F1 
      11:37:25 GNOME remote desktop RDP IP: 192.168.122.216
      11:37:25 GNOME remote desktop RDP host name: localhost.localdomain
      11:37:25 Starting GNOME remote desktop.
      11:37:25 GNOME remote desktop is now running.
      libreport is not available in this environment - bug reporting disabled
      
      (anaconda:2154): Gdk-CRITICAL **: 11:37:26.154: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
      
      (anaconda:2154): Gdk-CRITICAL **: 11:37:26.160: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
      
      (anaconda:2154): Gdk-CRITICAL **: 11:37:26.160: gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
      .
      .
      .
      (anaconda:2621): Gtk-WARNING **: 12:10:34.493: gtk_widget_size_allocate(): attempt to allocate widget with width -35 and height 79
      
      (anaconda:2621): Gtk-WARNING **: 12:10:34.495: gtk_widget_size_allocate(): attempt to allocate widget with width -71 and height 132
      
      (anaconda:2621): Gtk-WARNING **: 12:10:34.495: gtk_widget_size_allocate(): attempt to allocate widget with width -71 and height 45
      
      (anaconda:2621): Gtk-WARNING **: 12:10:34.495: gtk_widget_size_allocate(): attempt to allocate widget with width -71 and height 190
      
      (anaconda:2621): Gtk-CRITICAL **: 12:10:34.495: gtk_widget_get_preferred_height_and_baseline_for_width: assertion 'width >= -1' failed
      
      (anaconda:2621): Gtk-CRITICAL **: 12:10:34.495: gtk_widget_get_preferred_height_and_baseline_for_width: assertion 'width >= -1' failed
      
      (anaconda:2621): Gtk-CRITICAL **: 12:10:34.495: gtk_widget_get_preferred_height_and_baseline_for_width: assertion 'width >= -1' failed
      
      (anaconda:2621): Gtk-WARNING **: 12:10:34.495: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)
      
      (anaconda:2621): Gtk-CRITICAL **: 12:10:34.499: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
      
      (anaconda:2621): Gtk-WARNING **: 12:10:34.499: Negative content width -17 (allocation 1, extents 9x9) while allocating gadget (node entry, owner GtkEntry)
      
      (anaconda:2621): Gtk-WARNING **: 12:10:34.499: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node entry, owner GtkEntry)
      *** BUG ***
      In pixman_region32_init_rect: Invalid rectangle passed
      Set a breakpoint on '_pixman_log_error' to debug
      
      (anaconda:2621): Gtk-WARNING **: 12:10:34.499: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)
      
      (anaconda:2621): Gtk-WARNING **: 12:10:34.500: gtk_widget_size_allocate(): attempt to allocate widget with width -11 and height 34
      

      The problem here is that the number of error lines is high and the login information (IP address/hostname) are scrolled out of the screen.

      Please provide the package NVR for which bug is seen:

      anaconda-40.22.3.5-1.el10
      gtk3-3.24.41-1.el10
      gtk4-4.14.4-4.el10

      How reproducible:

      Always

      Steps to reproduce

      1. Boot the installer with the inst.rdp boot parameter.
      2. Provide the RDP username and password

      Expected results

      No GDK/GTK errors reported

      Actual results

      A lot of error messages printed on the screen, login information scrolls out of the screen.

              mclasen@redhat.com Matthias Clasen
              jstodola@redhat.com Jan Stodola
              Matthias Clasen Matthias Clasen
              Radek Duda Radek Duda
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: