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:
In RHEVM3.4 we have option to map ctrl-alt-end to ctrl-alt-del for guests.
There's new option
secure-attention=ctrl+alt+end
in MIME file which can be used with virt-viewer.
But pressing ctrl-alt-end does not cause ctrl-alt-del combo inside guest VM.
(cltr-alt-del from RHEL 6.5 client to Windows guest works correctly.)
It seems to me secure-attention options is not available at all in virt-viewer which is part of RHEL6.5.
Version-Release number of selected component (if applicable):
virt-viewer-0.5.6-8.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1. use RHEVM3.4 and native spice client, ctrl-alt-end mapping should be enabled (check console.vv file for secure-attention option)
2. open spice console
3. press ctrl-alt-end
Actual results:
nothing happens inside guest OS
Expected results:
guest OS should react as it would receive ctrl-alt-del monkey combo
Additional info:
my console.vv:
$ cat /tmp/console.vv
[virt-viewer]
type=spice
host=10.34.63.223
port=5905
password=Ak9XhlMF/A3W
tls-port=5906
fullscreen=1
title=wxp-apt-53011:%d - Press SHIFT+F12 to Release Cursor
enable-smartcard=0
enable-usb-autoshare=1
delete-this-file=1
usb-filter=-1,60186,10000,256,1|-1,1118,245,-1,1|-1,1133,2245,-1,1|-1,1133,2242,5,1|8,-1,-1,-1,1|7,-1,-1,-1,1|-1,-1,-1,-1,0
tls-ciphers=DEFAULT
host-subject=O=rhev.lab.eng.brq.redhat.com,CN=10.34.63.223
ca=-----BEGIN CERTIFICATE-----\nMIIEMDCCAxigAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwajELMAkGA1UEBhMCVVMxJDAiBgNVBAoT\nG3JoZXYubGFiLmVuZy5icnEucmVkaGF0LmNvbTE1MDMGA1UEAxMsamItcmhldm0zNC5yaGV2Lmxh\nYi5lbmcuYnJxLnJlZGhhdC5jb20uNDgyNDUwIhcRMTQwMzAzMTYwMzQyKzAwMDAXDTI0MDMwMTE2\nMDM0MlowajELMAkGA1UEBhMCVVMxJDAiBgNVBAoTG3JoZXYubGFiLmVuZy5icnEucmVkaGF0LmNv\nbTE1MDMGA1UEAxMsamItcmhldm0zNC5yaGV2LmxhYi5lbmcuYnJxLnJlZGhhdC5jb20uNDgyNDUw\nggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCiO9Q+VlWrd8Ms7UNU8xAVtqmzoV8U/mV7\nRio6rAEhUHeEdDKZWmPZhgn3steucceSUeJcII47JqWZz67AK6nauDLC7GaWAvy0YTm1hy9w6Ybd\n23GQv3yWyD3fNqyIJsNV1FP1qJcG2EyttvuBG8+IHtlzkLZt52DwEKYSR2OnEwCOSEfcW0njsvOW\nwFTLIlKcN9rLEIjNSK94eGoHyKXG9nEe3o9vapZtxlf+2tCTYHgVfssWiGbxpYUbM6IYxvfQaBkj\nmCHGDvfuoZWXoQ19rJJb4L2jComHvtdf2diNP1FBvio9wSIw4nb/yl1YpYcihR3dPuiQa6CHfb4p\nxGwpAgMBAAGjgdswgdgwHQYDVR0OBBYEFAnb71GWXghUTTaEZ3Z1kWEIohb9MIGVBgNVHSMEgY0w\ngYqAFAnb71GWXghUTTaEZ3Z1kWEIohb9oW6kbDBqMQswCQYDVQQGEwJVUzEkMCIGA1UEChMbcmhl\ndi5sYWIuZW5nLmJycS5yZWRoYXQuY29tMTUwMwYDVQQDEyxqYi1yaGV2bTM0LnJoZXYubGFiLmVu\nZy5icnEucmVkaGF0LmNvbS40ODI0NYICEAAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC\nAQYwDQYJKoZIhvcNAQEFBQADggEBAJYxITlXbt3/yQhSuNZLDwBRObkeQGupcH+s08Ygu4q8W6UK\n3k0AXY73g3w5xzFDKk7T31r9SHSGUXY2BBoNkjomUmrmS8jw5ahu40JyAAk7RV8wUjCuIEHIMzt6\naziWCiaro3MKVZ0Oy9ym5cfL9CHItPf0PY0fmMhI1GV9dldHM/7RLoAd8cyIKiJgQc7+4wJgou1Z\n2l7O0u1meCjw+GugmBAe++nBJO8p3EoJJxqZc9K6gZ99vXZWjJ54pbEktUIezyFLE8L10Ux+Zzoj\nFf4dE0/q5BCbeK1uKLKOoqxcaO9Y0PA9FL1TPyhHNVk2zaFCosrvclmZI6SVvA0QpvA=\n-----END CERTIFICATE-----\n
toggle-fullscreen=shift+f11
release-cursor=shift+f12
secure-attention=ctrl+alt+end
secure-channels=main;inputs;cursor;playback;record;display;usbredir;smartcard
what a great debug :)
$ remote-viewer -d /tmp/console.vv
(remote-viewer:21153): GSpice-WARNING **: loading ca certs from /home/jbelka/.spicec/spice_truststore.pem failed
(remote-viewer:21153): GSpice-WARNING **: loading ca certs from /home/jbelka/.spicec/spice_truststore.pem failed
(remote-viewer:21153): GSpice-WARNING **: loading ca certs from /home/jbelka/.spicec/spice_truststore.pem failed
(remote-viewer:21153): GSpice-WARNING **: loading ca certs from /home/jbelka/.spicec/spice_truststore.pem failed
(remote-viewer:21153): GSpice-WARNING **: Warning no automount-inhibiting implementation available
(remote-viewer:21153): GSpice-WARNING **: loading ca certs from /home/jbelka/.spicec/spice_truststore.pem failed
(remote-viewer:21153): GSpice-WARNING **: loading ca certs from /home/jbelka/.spicec/spice_truststore.pem failed
...snip...
Comment 1Marc-Andre Lureau
2014-04-22 13:38:50 UTC
That seems correct, this was a 3.3 enhancement for windows clients (since you can pass CAD directly with Linux client).
Imho, should be moved to 6.6, probably going with a rebase.
I test with:
virt-viewer-0.6.0-2.el6.x86_64, and I don't have a RHEVM3.4, so use RHEVM3.3
Steps:
1. prepare a spice guest on rhevm
2. Click the console button, and save the connection file "console.vv" to local
3. Edit the file, add "secure-attention=ctrl+alt+end" to the end of the file
4. use remote-viewer to connect the vm over the connection file
# remote-viewer console.vv
5. Press "ctrl + alt + end"
6. Download the file again, no need to edit it, and connect the guest directly over the connection file
7. Press "ctrl + alt + delete"
Result:
Step 5 and Step 7 got the same result.
Both on rhel guest and windows guest.
Also test with local guest.
As the result, ctrl+alt+end works well.
BTW, I saw the remote-viewer cmd in the description:
$ remote-viewer -d /tmp/console.vv
What's the version of remote-viewer you used?
Because remote-viewer doesn't have an option "-d", "-d" is shor for "--direct" in virt-viewer, and debug option is "--debug".
I can reproduce this with:
virt-viewer-0.5.6-10.el6.x86_64.rpm
Steps:
1. prepare a spice guest on rhevm
2. Click the console button, and save the connection file "console.vv" to local
3. Edit the file, add "secure-attention=ctrl+alt+end" to the end of the file
4. use remote-viewer to connect the vm over the connection file
# remote-viewer console.vv
5. Press "ctrl + alt + end"
6. Download the file again, no need to edit it, and connect the guest directly over the connection file
7. Press "ctrl + alt + delete"
Result:
Step5, after press ctrl+alt+end, nothing happened, could not cause ctrl+alt+delete in step7
Verify with:
virt-viewer-0.6.0-4.el6.x86_64
Steps:
Same with above.
Result:
Step 5 and Step 7 got the same result.
Both on rhel guest and windows guest.
Also test with local guest.
As the result, VERIFIED this bug.