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 1619811 - Frustrating GTK-Warnings in VNC installs
Summary: Frustrating GTK-Warnings in VNC installs
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gtk3
Version: 7.5
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Benjamin Otte
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-21 19:22 UTC by Ken Green
Modified: 2021-02-15 07:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-15 07:41:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
set of the files from under /tmp on the install target system, these are from a KVM based VM. (60.69 KB, application/x-gzip)
2018-08-21 19:22 UTC, Ken Green
no flags Details

Description Ken Green 2018-08-21 19:22:05 UTC
Created attachment 1477668 [details]
set of the files from under /tmp on the install target system, these are from a KVM based VM.

Description of problem:

When installing RHEL7.4 or RHEL7.5 using VNC and a serial console you get a whole load of GTK-Warnings after being told to "Please manually connect your vnc client to ..."

 


Version-Release number of selected component (if applicable):
The problem occurs with both RHEL7.4 & 7.5, it works OK 7.3

The output is

18:51:53 Starting VNC...
18:51:55 The VNC server is now running.
18:51:55

You chose to execute vnc with a password.


18:51:55 Please manually connect your vnc client to bl12.r214.example.com:1 (192.168.72.12:1) to begin the install.
18:51:55 Attempting to start vncconfig

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

There seems to be a couple of second delay between the message about "Attempting to start vncconfig" and the Gtk-WARNINGs.


These tests were performed on an HPE ProLiant bl460c Gen8 blade and also on a virtual machine running under KVM. 

Both the ProLiant and the VM were PXE booted (they are legacy BIOS based). 
The entry in the pxelinux config file was

label rh75
  kernel rhel75x86_64/vmlinuz
  append initrd=rhel75x86_64/initrd.img  inst.repo=ftp://bl24/rhel75x86_64 console=ttyS0,115200 inst.vnc inst.vncpassword=install




How reproducible:
All the time,


Steps to Reproduce:
1. PXE boot the intended system
2. Boot using the options
label rh75
  kernel rhel75x86_64/vmlinuz
  append initrd=rhel75x86_64/initrd.img  inst.repo=ftp://bl24/rhel75x86_64 console=ttyS0,115200 inst.vnc inst.vncpassword=install


3. Sit back and wait, if there are any spare NICs in the system you'll have to wait through the annoying 60s DHCP timeout for each of them.

4. Eventually on the console you'll get Gtk warning above.


Actual results:
18:51:53 Starting VNC...
18:51:55 The VNC server is now running.
18:51:55

You chose to execute vnc with a password.


18:51:55 Please manually connect your vnc client to bl12.r214.example.com:1 (192.168.72.12:1) to begin the install.
18:51:55 Attempting to start vncconfig

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(anaconda:1811): Gtk-WARNING **: Allocating size to pyanaconda+ui+gui+MainWindow 0x2e80270 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?



Expected results:
(this was taken from repeating the same test using RHEL7.3)

Starting installer, one moment...
anaconda 21.48.22.93-1 for Red Hat Enterprise Linux 7.3 started.
 * installation log files are stored in /tmp during the installation
 * shell is available on TTY2
 * when reporting a bug add logs from /tmp as separate text/plain attachments
19:08:28 Starting VNC...
19:08:29 The VNC server is now running.
19:08:29

You chose to execute vnc with a password.


19:08:29 Please manually connect your vnc client to bl12.r214.example.com:1 (192.168.72.12:1) to begin the install.
19:08:29 Attempting to start vncconfig




Additional info:
I've attached a set of the files from under /tmp on the install target system, these are from a KVM based VM.

Comment 2 Vendula Poncova 2018-08-22 07:20:36 UTC
This is an issue in the GTK library: https://gitlab.gnome.org/GNOME/gtk/issues/658

Comment 5 RHEL Program Management 2021-02-15 07:41:48 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


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