Bug 2024233

Summary: virt-viewer window is closed unexpectedly if keep password blank, then click OK button for VNC guest
Product: Red Hat Enterprise Linux 9 Reporter: Daniel Berrangé <berrange>
Component: gtk-vncAssignee: Daniel Berrangé <berrange>
Status: CLOSED ERRATA QA Contact: Martin Krajnak <mkrajnak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: berrange, tpelka, virt-maint
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gtk-vnc-1.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 13:27:23 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 Daniel Berrangé 2021-11-17 16:25:42 UTC
This bug was initially created as a copy of Bug #1660768

I am copying this bug because: 

This empty password handling regression is now able to be fixed, with code in the 1.3.0 release of gtk-vnc which uses gnutls instead of gcrypt

Description of problem:
Virt-viewer window is closed unexpectedly if keeping password blank, then click OK button for VNC guest

Version-Release number of selected component (if applicable):
virt-viewer-7.0-3.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Prepare a vnc guest has authentication required.
2. Open the guest by virt-viewer.
$ virt-viewer -c qemu:///system $vncguest
3. After authentication dialog pops up, keep passwrod blank, and click OK button.

Actual results:
virt-viewer window is closed unexpectedly.

Expected results:
virt-viewer should retry the authentication for the vnc guest.

Additional info:
1) It can not be reprodeced in rhel7.
2) Spice guest has no problem.

Comment 6 errata-xmlrpc 2022-05-17 13:27:23 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: gtk-vnc), 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:2512