sanzu icon indicating copy to clipboard operation
sanzu copied to clipboard

[Windows] Loosing control when opening task manager

Open JeremieSpiesser opened this issue 11 months ago • 2 comments

Hello :wave: I'm using the sanzu server on a Windows laptop and it seems that when I open the windows task manager from the client, I loose control of the mouse and I need to use the trackpad on the server laptop to click away to regain control. This issue seems to affect other similar "legacy"apps such as gpedit.

JeremieSpiesser avatar Mar 04 '24 15:03 JeremieSpiesser

Hi @JeremieSpiesser ! Yes, that's a "classic" on windows: The task manager has a special "protected GUI" which means that it cannot be manipulated by emulated GUI events (like emulated mouse & keyboard) So when Sanzu (or vnc for example) server runs as user, when you run a task manager, the app get the focus, but it cannot receive mouse & keyboard, so we cannot defocus or kill the app, so it's definitively "frozen" in this state.

Some options:

  • run sanzu server as admin (which may not be a good idea)
  • It may exists a windows configuration that disable the protected GUI (I don't known the name).

serpilliere avatar Mar 04 '24 21:03 serpilliere

For instance: https://superuser.com/questions/1264853/loosing-vnc-control-when-i-run-an-administrator-task

serpilliere avatar Mar 05 '24 06:03 serpilliere