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.
Description of problem:
virt-viewer display a white screen after input an empty password for a vnc vm in kiosk mode
Version-Release number of selected component (if applicable):
virt-viewer-9.0-10.el8.x86_64
libgovirt-0.3.7-4.el8.x86_64
gtk-vnc2-0.9.0-2.el8.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Prepare a vnc guest with authentication required.
# virsh dumpxml rhel8-vnc --security-info --inactive
...
<graphics type='vnc' port='-1' autoport='yes' passwd='aabb'>
<listen type='address'/>
</graphics>
2. Open the vm by "virt-viewer $guest -k" in the kiosk mode, and then input an empty password after the authentication dialog pops up.
$ virt-viewer -c qemu:///system rhel7.9-vnc -k
Test result:
After I input an empty password on the authentication dialog, then click "OK".
virt-viewer will show an error message as follows:
------------------------------------------------------
Unable to connect to the graphic server 127.0.0.1:5902
Unknown authentication failure: %s: Weak encryption key
------------------------------------------------------
Click 'OK', then virt-viewer will display a white screen, details please see the attachment.
What's more, without in kiosk mode, if I input an empty password, then virt-viewer prompts the above error message,
but after click 'OK', virt-viewer will exit silently.
Actual results:
As described.
Expected results:
virt-viewer should get another chance to retry again in kiosk mode.
Additional info:
Too short on time to fix this in 8.7. We can either backport or rebase gtk-vnc fix but in 8.8.
I'll assign it to myself.
Comment 7RHEL Program Management
2022-09-22 07:27:54 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.
Description of problem: virt-viewer display a white screen after input an empty password for a vnc vm in kiosk mode Version-Release number of selected component (if applicable): virt-viewer-9.0-10.el8.x86_64 libgovirt-0.3.7-4.el8.x86_64 gtk-vnc2-0.9.0-2.el8.x86_64 How reproducible: 100% Steps to Reproduce: 1. Prepare a vnc guest with authentication required. # virsh dumpxml rhel8-vnc --security-info --inactive ... <graphics type='vnc' port='-1' autoport='yes' passwd='aabb'> <listen type='address'/> </graphics> 2. Open the vm by "virt-viewer $guest -k" in the kiosk mode, and then input an empty password after the authentication dialog pops up. $ virt-viewer -c qemu:///system rhel7.9-vnc -k Test result: After I input an empty password on the authentication dialog, then click "OK". virt-viewer will show an error message as follows: ------------------------------------------------------ Unable to connect to the graphic server 127.0.0.1:5902 Unknown authentication failure: %s: Weak encryption key ------------------------------------------------------ Click 'OK', then virt-viewer will display a white screen, details please see the attachment. What's more, without in kiosk mode, if I input an empty password, then virt-viewer prompts the above error message, but after click 'OK', virt-viewer will exit silently. Actual results: As described. Expected results: virt-viewer should get another chance to retry again in kiosk mode. Additional info: