You are not logged in.

#1 2021-09-28 13:56:26

Henry78
Member
From: Vienna
Registered: 2012-01-23
Posts: 65

SOLVED: How to send ctrl-alt to vmrc under wayland?

I use vmrc to connect to VSphere VMs. vmrc runs under XWayland.

I'd like to send special key combination to the VM, especially <Ctrl><Fn> to switch consoles. But Wayland seems to swallow any key combination with <Ctrl>, so how to achieve this? Sadly vmrc has no virtual keyboard or support to send these key combinations.

I tried <Ctrl><Alt><Space>, release Space and press the desired <Fn> key, but this also fails b/c <Ctrl><Alt><Space> never reaches vmrc.

Last edited by Henry78 (2021-09-28 14:16:33)

Offline

#2 2021-09-28 14:17:03

Henry78
Member
From: Vienna
Registered: 2012-01-23
Posts: 65

Re: SOLVED: How to send ctrl-alt to vmrc under wayland?

Silly me: You can use <Alt><Fn> to switc consoles in my case (debian installer)

Last edited by Henry78 (2021-09-28 20:15:15)

Offline

#3 2021-09-28 15:00:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: SOLVED: How to send ctrl-alt to vmrc under wayland?

If yo run into similar trouble in the future you'd need to specify your compositor.  "Wayland" doesn't swallow anything - but it is up to the compositor to send key events to client surfaces / windows; most compositors will opt to not send certain key combinations that are bound to compositor actions.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2021-09-28 20:17:34

Henry78
Member
From: Vienna
Registered: 2012-01-23
Posts: 65

Re: SOLVED: How to send ctrl-alt to vmrc under wayland?

Ty, in fact i learned this over the last hours. It's also in the Arch Wiki

Offline

#5 2024-01-06 16:33:22

pqatsi
Member
Registered: 2024-01-06
Posts: 1

Re: SOLVED: How to send ctrl-alt to vmrc under wayland?

Hello!

I found a way to workarround this issue!

On web client, click inside machine image and hold control+alt. Keeping control+alt pressed, click on Actions, move mouse to guest os, send keys and click on key (eg. f1).

This will send the keystroke to vm!

Offline

Board footer

Powered by FluxBB