Bug 1014069 - [spice-html5] Unable to send ctrl-alt-del to a Windows guest while using spice-html5 console
[spice-html5] Unable to send ctrl-alt-del to a Windows guest while using spic...
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: ---
: 3.4.0
Assigned To: Frantisek Kobzik
Pavel Novotny
Depends On:
Blocks: rhev3.4beta 1142926
  Show dependency treegraph
Reported: 2013-10-01 07:20 EDT by Jiri Belka
Modified: 2014-09-18 08:24 EDT (History)
10 users (show)

See Also:
Fixed In Version: ovirt-3.4.0-alpha1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-06-12 10:04:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
SPICE-HTML5 console with "Send Ctrl-Alt-Delete" button (16.45 KB, image/png)
2014-02-18 06:22 EST, Pavel Novotny
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 19942 None None None Never

  None (edit)
Description Jiri Belka 2013-10-01 07:20:12 EDT
Description of problem:
Unable to send ctrl-alt-del to a Windows guest while using spice-html5 console, thus it is impossible to login/unlock screen.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. spice-html5 setup with rhevm33, windows guest with windows guest tools
2. open spice-html5 console

Actual results:
could not send ctrl-alt-del monkey keystroke

Expected results:
there should be a way to send ctrl-alt-del so one can use windows with spice-html5

Additional info:
workaround exists: change to plugin console, send ctrl-alt-del, close the console and open again spice-html5 console
Comment 1 Itamar Heim 2013-10-01 16:42:45 EDT
uri - i saw you commented on this patch[1] - do you know a way to do this?
[1] http://patchwork.freedesktop.org/patch/13183/
Comment 2 Uri Lublin 2013-10-02 07:09:25 EDT
The committed patch [2] addressed my comments.

I see nothing calls sendCtrlAltDel().
I think in his implementation Amos added a send-ctrl-alt-del button that calls
this function.

[2] http://cgit.freedesktop.org/spice/spice-html5/commit/?id=828d975b2db7231d5560f4ca3cf0487ce5c80d4b
Comment 3 Itamar Heim 2013-10-03 03:39:14 EDT
amos - how do we add that button? thanks.
Comment 4 Amos Benari 2013-10-07 04:10:57 EDT
In foreman the Ctrl-Alt-Del button is in the web page that host the console.
It is a simple button (link with some css decoration) that calls the js on click. 

<a href="#" class="btn" onclick="sendCtrlAltDel()">Ctrl-Alt-Del</a>
Comment 5 Frantisek Kobzik 2013-10-29 11:07:18 EDT
merged u/s master as: 9b2cd809974bdfdb4350a9533ec939a2b615f647
Comment 6 Sandro Bonazzola 2014-01-14 03:42:58 EST
ovirt 3.4.0 alpha has been released
Comment 7 Pavel Novotny 2014-02-18 06:20:13 EST
Verified upstream in ovirt-engine-3.4.0-0.7.beta2.el6.noarch.

SPICE-HTML5 console contains now new button "Send Ctrl-Alt-Delete" at the bottom (see following screenshot), which emulates the Ctrl+Alt+Del keystroke at the guest side.
Comment 8 Pavel Novotny 2014-02-18 06:22:06 EST
Created attachment 864472 [details]
SPICE-HTML5 console with "Send Ctrl-Alt-Delete" button
Comment 9 Itamar Heim 2014-06-12 10:04:07 EDT
Closing as part of 3.4.0

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