Cause:
Shutdown guest while client stay connected.
Consequence:
"Unable to connect to the graphic server" error is shown to user.
Fix:
Do not report error on normal disconnection.
Result:
No error message displayed when shuting down a guest.
Created attachment 643469[details]
remote-viewer --spice-debug
Description of problem:
After guest system shut down is initiated from remote-viewer, the window isn't closed automatically and an error message "Unable to connect to the graphic server" appears.
The guest system shuts down and remote-viewer disconnects successfully however (see remote-viewer log attached).
Version-Release number of selected component (if applicable):
virt-viewer-0.5.2-16.el6.x86_64
spice-gtk-0.14-4.el6.x86_64
How reproducible:
Always
Steps to Reproduce:
1. connect to a running VM using remote-viewer
2. initiate guest system shut down from inside the remote-viewer
3. keep the remote-viewer window open until the guest system shuts down
Actual results:
An error message "Unable to connect to the graphic server" appears and the remote-viewer window isn't closed.
Expected results:
The remote-viewer window is closed without an error.
Additional info:
Comment 1Marc-Andre Lureau
2012-11-14 20:28:25 UTC
we should fix that one, it looks like an error when it is not, and the fix shouldn't be too complicated hopefully. should we devel_ack that one?
Comment 2Marc-Andre Lureau
2012-11-20 11:40:25 UTC
taking a look
Comment 3Marc-Andre Lureau
2012-11-20 12:07:16 UTC
I can reproduce this bug with:
virt-viewer-0.5.2-18.el6_4.2.x86_64
Tested the bug with:
virt-viewer-0.5.6-2.el6.x86_64
Steps:
1. connect to a running VM using remote-viewer
2. initiate guest system shut down from inside the remote-viewer
3. keep the remote-viewer window open until the guest system shuts down
The remote-viewer window is closed without an error,so move the bug to VERIFIED.
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.
http://rhn.redhat.com/errata/RHBA-2013-1578.html
Created attachment 643469 [details] remote-viewer --spice-debug Description of problem: After guest system shut down is initiated from remote-viewer, the window isn't closed automatically and an error message "Unable to connect to the graphic server" appears. The guest system shuts down and remote-viewer disconnects successfully however (see remote-viewer log attached). Version-Release number of selected component (if applicable): virt-viewer-0.5.2-16.el6.x86_64 spice-gtk-0.14-4.el6.x86_64 How reproducible: Always Steps to Reproduce: 1. connect to a running VM using remote-viewer 2. initiate guest system shut down from inside the remote-viewer 3. keep the remote-viewer window open until the guest system shuts down Actual results: An error message "Unable to connect to the graphic server" appears and the remote-viewer window isn't closed. Expected results: The remote-viewer window is closed without an error. Additional info: