1

I've recently upgraded my install of VirtualBox to 5.2.28, and while trying to reconfigure the VM's I find data entered into any field turns into gibberish. For arguments sake, I type in 23 and the field becomes 0- which of course isn't valid. The rest of the keyboard is similarly affected.

VirtualBox is the only thing affected by this problem. The original 14.04LTS install worked without a problem, and upgrade to 5.2.x broke it. The default install for 18.04LTS is also broken the same way at 5.2.18

Never seen anything like it before, any ideas?

Aenter image description here

In case this helps identify the current mapping, qwerty comes out as 4c.gvn

EDIT: Well its still going on, not only that, but a fresh install of 18LTS actually gives me the same result.

3
  • Can you post a higher resolution screen snippet? I suggest using windows "snipping tool"
    – Jeff
    May 6, 2019 at 12:43
  • theres nothing in it except the VB startup window.
    – A.Adverse
    May 7, 2019 at 17:40
  • what brand and model of keyboard is it.
    – Jeff
    May 14, 2019 at 17:38

1 Answer 1

0

I think you are using the wrong keyboard layout. Open your launcher and search for keyboard layout. From there you should be able to add your keyboards layout to the list. You should set it as the default keyboard.

step 1

step 2

step 3

Incorrect keyboard mapping on Ubuntu under VirtualBox


Edit:

If you only have CLI than you can try

# dpkg-reconfigure keyboard-configuration
# service keyboard-setup restart

When you run dpkg-reconfigure keyboard-configuration you should get a prompt for what keyboard layout you have/want, follow the prompts.

Source: Debian Keyboard configuration

From that I have seen this works for people using 14.04 though some say they had to use sudo when running it.

more information can be found here: how-to-permanently-configure-keyboard

20
  • 1
    Thanks for the images, is there some way to do this from CLI the server has no GUI. VirtualBox is only running in a VNC session.
    – A.Adverse
    May 6, 2019 at 9:31
  • 1
    /etc/default/keyboard is showing pc105 and US for model and layout, and re running dpkg-reconfigure isn't making any change. Even after running udevadm trigger --subsystem-match=input --action=change for good measure
    – A.Adverse
    May 8, 2019 at 0:23
  • 1
    Ok, no idea how to turn on a virtual keyboard, I did try changing the settings to DE for german, but also no change.
    – A.Adverse
    May 15, 2019 at 9:41
  • 1
    following your link above at the moment, not sure it'll make much difference I don't have a full X install. On the server there is NO keyboard, my local keyboard is an Apple KB. No X keyboard found. WARNING: OnboardGtk: vk :XkbGetKeyboard failed. All keys have ? on them.
    – A.Adverse
    May 15, 2019 at 9:46
  • 1
    I can't find an xorg.conf, a du -a turns up a /usr/share/X11/xorg.conf.d but I can't find anything useful in there. The man page mentions an /etc/xorg.conf but creating one, and putting the entries in it, doesn't do anything either.
    – A.Adverse
    May 16, 2019 at 7:08

You must log in to answer this question.

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