Bug 1322920

Summary: remote-viewer hangs with "Connected to graphic server"
Product: Red Hat Enterprise Virtualization Manager Reporter: Andrei Stepanov <astepano>
Component: mingw-virt-viewerAssignee: Christophe Fergeau <cfergeau>
Status: CLOSED ERRATA QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.2CC: astepano, cfergeau, dblechte, elima, fidencio, gklein, lsurette, rbalakri, srevivo, tjamrisk, tpelka, uril
Target Milestone: ovirt-4.0.0-rc   
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw-spice-gtk-0.31-2.el7ev mingw-virt-viewer-2.0-10.el7ev rhevm-spice-client-4.0-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1323092 (view as bug list) Environment:
Last Closed: 2016-08-23 20:54:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Spice RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1323092    
Attachments:
Description Flags
screenshot with message
none
remote-viewer debug none

Description Andrei Stepanov 2016-03-31 16:39:55 UTC
remote-viewer hangs with "Connected to graphic server" during connection in fullscreen mode to VM which has +1 more active display.

Client is Windows7SP1.
rpm -qf /usr/share/spice/virt-viewer-x64.msi 
rhevm-spice-client-x64-msi-3.6-6.el6.noarch
rpm -q --changelog rhevm-spice-client-x64-msi
* Mon Jan 04 2016 Uri Lublin <uril> - 3.6-6
- mingw-virt-viewer 2.0.8
- mingw-spice-gtk 0.26-10
- mingw-libusbx 1.0.20-1
- spice-usbdk-win 1.0-10
- Send requests to usbdk asynchronously (rhbz#1144043)

Host is Rhel7.2.z
kernel-3.10.0-327.10.1.el7.x86_64
qemu-kvm-rhev-2.3.0-31.el7_2.10.x86_64

How reproducible: 50% (each second connection)

Steps to Reproduce:
1. Connect to VM with remote-viewer.
2. Go to remote-viewer->View->Displays and active one more display than the actual monitors connected at client.
3. Close remote-viewer.
4. Connect to the same VM in fullscreen mode.

remote-viewer hangs with "Connected to graphic server"

Comment 1 Eduardo Lima (Etrunko) 2016-03-31 20:03:20 UTC
Can you confirm if this is related to bug 1287139?

Comment 2 Fabiano Fidêncio 2016-03-31 21:38:06 UTC
Or, can you confirm you're setting the right amount of monitors in your console options? It seems like another memory related bug.

Comment 3 Andrei Stepanov 2016-04-01 08:22:33 UTC
Fabiano Fidêncio, VM has 4 displays in RHEVM settings.
Eduardo Lima (Etrunko), the bug is not related to the bug 1287139. (See screenshot what I am talking about).

Comment 4 Andrei Stepanov 2016-04-01 08:23:11 UTC
Created attachment 1142475 [details]
screenshot with message

Comment 5 Fabiano Fidêncio 2016-04-01 08:59:56 UTC
And I guess you're not able to provide --debug --spice-debug outputs, right? If you can, please attach to this bug.
Also, can you reproduce the same issue on RHEL7.3 or 6.8?

Comment 6 Andrei Stepanov 2016-04-01 09:08:21 UTC
I cannot provide debug due to : https://bugzilla.redhat.com/show_bug.cgi?id=1322929

Yes, I can reproduce it using virt-viewer-2.0-7.el7.x86_64

Comment 7 Fabiano Fidêncio 2016-04-01 09:14:00 UTC
(In reply to Andrei Stepanov from comment #6)
> I cannot provide debug due to :
> https://bugzilla.redhat.com/show_bug.cgi?id=1322929
> 
> Yes, I can reproduce it using virt-viewer-2.0-7.el7.x86_64

So the problem is not Windows specific. A log from virt-viewer 2.0-7 would be enough for dealing with the problem. Also, please, don't forget to clone this bug there.

Comment 8 Andrei Stepanov 2016-04-01 09:24:30 UTC
Log for remote-viewer was attached for https://bugzilla.redhat.com/show_bug.cgi?id=1323092

Comment 9 Fabiano Fidêncio 2016-04-01 14:06:35 UTC
I can't reproduce the issue at all with a fresh installed Windows 7 machine using mingw-virt-viewer 2.0.8.

Comment 10 Fabiano Fidêncio 2016-04-05 12:13:03 UTC
Please, take a look on https://bugzilla.redhat.com/show_bug.cgi?id=1323092#c8

Comment 11 Andrei Stepanov 2016-04-11 17:20:47 UTC
Created attachment 1146069 [details]
remote-viewer debug

Comment 12 Yaniv Lavi 2016-05-09 11:01:57 UTC
oVirt 4.0 Alpha has been released, moving to oVirt 4.0 Beta target.

Comment 15 Andrei Stepanov 2016-05-10 15:38:01 UTC
*** Bug 1296937 has been marked as a duplicate of this bug. ***

Comment 16 Christophe Fergeau 2016-05-25 16:32:23 UTC
https://lists.freedesktop.org/archives/spice-devel/2016-May/029534.html should fix it.

Comment 20 errata-xmlrpc 2016-08-23 20:54:42 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, 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://rhn.redhat.com/errata/RHEA-2016-1681.html