GNOME Bugzilla – Bug 775771
No way of sending Ctrl-Alt-Del to login to Windows VM
Last modified: 2017-04-12 16:27:21 UTC
On Fedora 25 I created a new Windows VM and after the install I was dropped to a login screen that told me to press Ctrl Alt Del to login, as Windows usually does. However I have no method of inputting CAD as far as I can tell. Pressing CAD will send the restart signal to Gnome/Fedora; this happens in windowed mode AND fullscreen mode. The keyboard macro menu only has Ctrl-Alt-BACKSPACE, which is *not* the same thing that Windows interprets as Ctrl Alt Delete. We either need to get CAD added to the keyboard macro menu, a keycombo that Boxes can interpret as CAD, or (maybe most ideal) a method of editing the keyboard macro menu so you can send your own custom keycombos. Alternately, if there is an existing method of sending Ctrl Alt Del to the guest I'd be happy to hear, and we'd probably want the documentation updated. Thanks!
This bug exists: https://bugzilla.gnome.org/show_bug.cgi?id=676220 And there was activity asking for Ctrl-Alt-F1, which *was* added to the macro version, but for some reason Ctrl-Alt-Backspace was added instead of CAD and I'm not entirely sure why.
(In reply to winter from comment #1) > This bug exists: > > https://bugzilla.gnome.org/show_bug.cgi?id=676220 That's quite old and we hadn't even thought of kbd combo menu at that time. > And there was activity asking for Ctrl-Alt-F1, which *was* added to the > macro version, but for some reason Ctrl-Alt-Backspace was added instead of > CAD and I'm not entirely sure why. I don't quite remember the rationale for not adding CAD so we can think about this.
Created attachment 349429 [details] [review] Add the possibility to send sequence via popup
What if we would conditionally show the keyboard entries based on the guest OS? I don't see much reasoning to present Ctrl + Alt + Fx/Backspace keys for a Windows box, and Ctrl + Alt + Del entry for any other OS. Opinions?
I'm fairly sure that on X11, ctrl+alt+del could be passed to the VM without issues. The right fix will be to implement https://patchwork.freedesktop.org/patch/148508/ once this lands in wayland. In the mean time, a menu entry is most likely good enough :)
@Filipe: In principle you are right, but do you see a way to implement this with an acceptable effort? Also Ctrl + Alt + Backspace is also quite obsolete. At least on Fedora this key-combination does not work for several versions now (by default). I think it would be nice if we could make the presented key-combinations configurable in general. So users can decide which combinations are available. @Christophe: In fact, this is indeed an wayland related issue, so I agree on fixing this on wayland side would be the best solution.
Review of attachment 349429 [details] [review]: sure. Thanks for your patch.
(In reply to Sören Grunewald from comment #6) > @Filipe: In principle you are right, but do you see a way to implement this > with an acceptable effort? Also Ctrl + Alt + Backspace is also quite > obsolete. At least on Fedora this key-combination does not work for several > versions now (by default). We (libosinfo actually) treat every OS version as it's own OS so no worries on changes between different version of OS supporting different combos. >I think it would be nice if we could make the > presented key-combinations configurable in general. So users can decide > which combinations are available. If something can be made to work automatically (through code), we shouldn't throw decisions and work on users.