1

VMware® Workstation 16 Pro 16.2.4 build-20089737
Host machine: Ubuntu 22.04 LTS (Upgraded from 20.04 LTS).
Virtual machine: any.

The Windows-Logo key, the ctrl+alr+del keys, the stamp-r-sist key (for the screenshots) and I don't know what others are not sent to the virtual machine, even if it has focus and is full screen.
The host machine reacts to pressing those keys but not the VM.
This problem arose after upgrading the host system from Ubuntu 20.04 LTS to Ubuntu 22.04 LTS.
Why? How do I resolve?
I tried reinstalling VMware from 0 but it didn't help.

4
  • Are you using wayland or xorg ?
    – harrymc
    Commented Sep 24, 2022 at 18:20
  • Downgrading to VMware v16.2.3 doesn't solve the problem. Commented Sep 26, 2022 at 9:42
  • How stupid I am, after the upgrade to 22.04 Wayland put on, bringing him back to Xorg I solved the problem. XD @harrymc Put it as an answer so I can mark it as the best answer. Commented Sep 26, 2022 at 10:27
  • It's already in my answer.
    – harrymc
    Commented Sep 26, 2022 at 10:59

3 Answers 3

1

If you using wayland, then there have been reports that this might work better in xorg.

The post Using Ctrl+Alt+F1 in a VMWare Virtual Machine has this advice:

discovered that in order to send a regular Ctrl+Alt keyboard combination to the guest you need to press Ctrl+Alt+Space, then release the spacebar while still holding down the Ctrl+Alt keys, and then pressing the extra key. So to drop to a console I needed to Ctrl+Alt+Space, release the space, keep holding down Ctrl+Alt and then press the F1 key.

3
  • Unfortunately it doesn't work. Commented Sep 26, 2022 at 8:14
  • Solved, Wayland is the problem. Commented Sep 26, 2022 at 10:22
  • Xorg works like a charm Commented Sep 26, 2022 at 10:22
0

I have a similar setup here: Windows 11 Pro Host, VMware Workstation V16 newest, Ubuntu 22.04 and other machines too.

Windows keystrokes are not sent from Host to Guest as you describe.

If you need to use the Windows and other keys in Ubuntu, you need to define in the Ubuntu guest. That is completely normal use of keystrokes.

View the guest as a different real machine. You do not send keystrokes from one real machine to another real machine.

11
  • My host is Ubuntu 22.04, my guest is Windows or Linux does not matter, the result is the same. Commented Sep 24, 2022 at 15:38
  • Yes same thing. See my comment about real machines.
    – anon
    Commented Sep 24, 2022 at 15:40
  • Windows 11 Pro Host. The host is the real machine, your real machine is Windows 11 Pro, my real machine is Ubuntu 22.04 LTS. Commented Sep 24, 2022 at 15:43
  • It does not matter which machine is real or guest, but generally keystrokes won’t be sent between machines (or you need a very specialized app)
    – anon
    Commented Sep 24, 2022 at 15:49
  • 1
    You would have to look in your Ubuntu settings. I confess that I do not need to do this.
    – anon
    Commented Sep 24, 2022 at 16:18
-2

Try this: https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-22-04-desktop

I had the same problem with my native ubuntu and I solved it by disabling Wayland.

1
  • Welcome to Super User! Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change.
    – DavidPostill
    Commented Apr 11 at 20:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .