New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insert control-alt-delete #1585

Open
wayzard opened this Issue Jan 5, 2016 · 11 comments

Comments

Projects
None yet
8 participants
@wayzard

wayzard commented Jan 5, 2016

HVM domUs are not responding to the accepted key combination (control-alt-home according to the docs) to receive a control-alt-delete signal while the HVM desktop's window has focus.

Qubes Tools for Windows was not installed. (In some scenarios, they cannot be installed on a system.)

In cases where a system requires control-alt-delete to enter a login screen, this renders a guest system unusable.
As a less important addition, similar considerations may also be needed for other "control-alt-" key combos (like control-alt-F1 on Linux domUs).

Qubes 3.1RC

@wayzard

This comment has been minimized.

Show comment
Hide comment
@wayzard

wayzard Jan 13, 2016

Not sure why this is "minor" priority. To emphasize, many Windows distros (including almost all Windows Server versions) are completely inaccessible after installation.

I tried the following as a workaround (while 6 was DomID of Windows). Not surprisingly, it failed, presumably because qemu is not on these systems:
#sudo virsh send-key 6 KEY_LEFTCTRL KEY_LEFTALT KEY_DELETE
error : this function is not supported by the connection driver: virDomainSendKey

If there are any other work arounds, it would be good to know in the meantime...
Is the expected hotkey implementation here supposed to be in the desktop environment, X configs or elsewhere?

wayzard commented Jan 13, 2016

Not sure why this is "minor" priority. To emphasize, many Windows distros (including almost all Windows Server versions) are completely inaccessible after installation.

I tried the following as a workaround (while 6 was DomID of Windows). Not surprisingly, it failed, presumably because qemu is not on these systems:
#sudo virsh send-key 6 KEY_LEFTCTRL KEY_LEFTALT KEY_DELETE
error : this function is not supported by the connection driver: virDomainSendKey

If there are any other work arounds, it would be good to know in the meantime...
Is the expected hotkey implementation here supposed to be in the desktop environment, X configs or elsewhere?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 13, 2016

Member

Try ctrl+alt+ins

Member

marmarek commented Jan 13, 2016

Try ctrl+alt+ins

@wayzard

This comment has been minimized.

Show comment
Hide comment
@wayzard

wayzard Jan 15, 2016

ctrl+alt+ins does not work.
Actually, various related hotkeys need to be disabled in each Desktop Environment: ctr+alt+ins in KDE; ctrl+alt+home in XFCE.
But no, ctrl+alt+ins also does not work.

WORKAROUND (not ideal):

  1. disable /etc/systemd/system/ctrl-alt-del.target (if it exists)
  2. disable any ctrl+alt+del hotkey in the DE
  3. type ctrl+alt+del for HVM window with focus

I am not sure where or how the ctrl+alt+home (or ctrl+alt+ins) implementation was supposed to be. In the DE or closer to raw console input or something else?
Either way, this may need an update: www.qubes-os.org/doc/windows-tools-3/

wayzard commented Jan 15, 2016

ctrl+alt+ins does not work.
Actually, various related hotkeys need to be disabled in each Desktop Environment: ctr+alt+ins in KDE; ctrl+alt+home in XFCE.
But no, ctrl+alt+ins also does not work.

WORKAROUND (not ideal):

  1. disable /etc/systemd/system/ctrl-alt-del.target (if it exists)
  2. disable any ctrl+alt+del hotkey in the DE
  3. type ctrl+alt+del for HVM window with focus

I am not sure where or how the ctrl+alt+home (or ctrl+alt+ins) implementation was supposed to be. In the DE or closer to raw console input or something else?
Either way, this may need an update: www.qubes-os.org/doc/windows-tools-3/

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 15, 2016

Member

Maybe a better hotkey would be ctrl+alt+win+del (essentially the same as original, but with win)? Or maybe virtualbox approach: right ctrl + del (or "host key" + del)?

The current ctrl+alt+ins is implemented in windows tools, so indeed it will not work without them...

/cc @omeg @woju

Member

marmarek commented Jan 15, 2016

Maybe a better hotkey would be ctrl+alt+win+del (essentially the same as original, but with win)? Or maybe virtualbox approach: right ctrl + del (or "host key" + del)?

The current ctrl+alt+ins is implemented in windows tools, so indeed it will not work without them...

/cc @omeg @woju

@omeg

This comment has been minimized.

Show comment
Hide comment
@omeg

omeg Jan 15, 2016

Member

ctrl-alt-home translation to CAD is performed by the gui agent in Windows Tools. If the tools are not installed in the HVM, keyboard input is not translated. Customization of the shortcut is planned if the time allows, but maybe a better solution would be to synthesize CAD from the gui daemon for cases where guest tools are not present? It's true that server editions require CAD to log in to even install guest tools. Still, special casing such stuff in the gui daemon seems like a bad idea...

Member

omeg commented Jan 15, 2016

ctrl-alt-home translation to CAD is performed by the gui agent in Windows Tools. If the tools are not installed in the HVM, keyboard input is not translated. Customization of the shortcut is planned if the time allows, but maybe a better solution would be to synthesize CAD from the gui daemon for cases where guest tools are not present? It's true that server editions require CAD to log in to even install guest tools. Still, special casing such stuff in the gui daemon seems like a bad idea...

@perkooo

This comment has been minimized.

Show comment
Hide comment
@perkooo

perkooo May 20, 2016

Hi,
I have the same problem when I join my active directory with Windows 7.
Stuck at CAD, I tried all keys combination (CTRL ALT HOME or INS does not work) and disabled also hotkey in Qubes.
The solution which worked for me :
When I am on Windows loggins (asking for CAD)

  • Set EN keyboard
  • Show visual keyboard
  • Click on the virtual keyboard the combination CTRL, ALT and DEL.

Not the best solution but for the moment...

perkooo commented May 20, 2016

Hi,
I have the same problem when I join my active directory with Windows 7.
Stuck at CAD, I tried all keys combination (CTRL ALT HOME or INS does not work) and disabled also hotkey in Qubes.
The solution which worked for me :
When I am on Windows loggins (asking for CAD)

  • Set EN keyboard
  • Show visual keyboard
  • Click on the virtual keyboard the combination CTRL, ALT and DEL.

Not the best solution but for the moment...

@perkooo

This comment has been minimized.

Show comment
Hide comment
@perkooo

perkooo May 21, 2016

In order to add some informations to my last post :
I have a french keyboard (AZERTY, not QWERTY), this might be the problem why CTRL + ALT + HOME is not working.

Thanks for the amazing job you are all doing, this is one of the best OS that I tried :)

perkooo commented May 21, 2016

In order to add some informations to my last post :
I have a french keyboard (AZERTY, not QWERTY), this might be the problem why CTRL + ALT + HOME is not working.

Thanks for the amazing job you are all doing, this is one of the best OS that I tried :)

@SietsevanderMolen

This comment has been minimized.

Show comment
Hide comment
@SietsevanderMolen

SietsevanderMolen Jun 3, 2016

I need to start my Windows HVM in debug mode, and then press CTRL + ALT + HOME in the debug screen (which only shows 'Starting Windows') to be able to login. I find it hard to believe it's a problem with the keyboard layout, but I'm on US Dvorak, in case it helps. Using the on screen keyboard does nothing for me.

SietsevanderMolen commented Jun 3, 2016

I need to start my Windows HVM in debug mode, and then press CTRL + ALT + HOME in the debug screen (which only shows 'Starting Windows') to be able to login. I find it hard to believe it's a problem with the keyboard layout, but I'm on US Dvorak, in case it helps. Using the on screen keyboard does nothing for me.

@MegaTraveller

This comment has been minimized.

Show comment
Hide comment
@MegaTraveller

MegaTraveller Jan 9, 2017

Same Problem here, on a german WIn 7 Pro, after Domain Join it is impossible to login. I tried the tip from @wayzard but it does not work for me :( On-Screen-Keyboard is also no help.

Same Problem here, on a german WIn 7 Pro, after Domain Join it is impossible to login. I tried the tip from @wayzard but it does not work for me :( On-Screen-Keyboard is also no help.

@MegaTraveller

This comment has been minimized.

Show comment
Hide comment
@MegaTraveller

MegaTraveller Jan 9, 2017

@SietsevanderMolen Thanks for that Tip, that worked like a charm :)

@SietsevanderMolen Thanks for that Tip, that worked like a charm :)

@faircopy

This comment has been minimized.

Show comment
Hide comment
@faircopy

faircopy Nov 20, 2017

This is my use case:

  • Qubes 3.2
  • Windows Server 2016 standalone HVM

This is how I enabled passing Ctrl+Alt+Delete to the Windows HVM:
Qubes menu → System Tools → Keyboard → "Application Shortcuts" tab → Select the line "xflock4" - "Ctrl+Alt+Delete" → Click the "Remove" button

After removing the keyboard shortcut, Windows recognizes the Ctrl+Alt+Delete combination just like any other key press when the HVM's window is active.


@SietsevanderMolen's suggestion above did not work for me.

I tried:
Qubes menu → Qubes VM Manager → Stop Windows VM if running → Right click on Windows VM → VM Settings → On the "Basic" tab, tick the "Run in debug mode" checkbox → Click the "OK" button → Start Windows VM

No debug window appeared for me, and pressing Ctrl+Alt+Home with the Windows HVM window active resulted in the "Move window to previous workspace" action which is defined in the XFCE Window Manager settings.

faircopy commented Nov 20, 2017

This is my use case:

  • Qubes 3.2
  • Windows Server 2016 standalone HVM

This is how I enabled passing Ctrl+Alt+Delete to the Windows HVM:
Qubes menu → System Tools → Keyboard → "Application Shortcuts" tab → Select the line "xflock4" - "Ctrl+Alt+Delete" → Click the "Remove" button

After removing the keyboard shortcut, Windows recognizes the Ctrl+Alt+Delete combination just like any other key press when the HVM's window is active.


@SietsevanderMolen's suggestion above did not work for me.

I tried:
Qubes menu → Qubes VM Manager → Stop Windows VM if running → Right click on Windows VM → VM Settings → On the "Basic" tab, tick the "Run in debug mode" checkbox → Click the "OK" button → Start Windows VM

No debug window appeared for me, and pressing Ctrl+Alt+Home with the Windows HVM window active resulted in the "Move window to previous workspace" action which is defined in the XFCE Window Manager settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment