0

I installed VBox version 5.22 on server that runs Ubuntu 16.04, when I try to create a Virtual Machine and enter a new name I am observing that the mapping of my keyboard is wrong, e.g., "space" is mapped to "7" . I tried to updated VBox to 6, but it did not help. The keyboard layout in the system]1 I noticed that the onboard keyboard (screen keyboard) shows "?" and says "No X Keyboard found, retrying .."

Onboard keyboard

Any help is appreciated

Burgh
  • 1
  • 1
  • Could it be a similar issue as below? https://superuser.com/questions/422154/incorrect-keyboard-mapping-on-ubuntu-under-virtualbox – Yuan Shing Kong Feb 01 '21 at 02:54
  • Thanks @cruellays I saw that earlier mine happens only in VBox, also I did change the keyboard to 101 US but did not help – Burgh Feb 01 '21 at 03:35

1 Answers1

0

It seems the keyboard mapping between your physical computer and the virtual machine is not matching.

You can change the keyboard layout on virtualbox, inside your VM, with the following command:

sudo setxkbmap de

sudo setxkbmap: set keyboard mapping, runs as root user.

de: for German keyboard. You can change it to your favorite layout code.

Ruben1
  • 61
  • 3