Page 1 of 1

[Resolved] Could any one help: Keyboard scrambled in VirtualBox manager gui

Posted: 11. Sep 2019, 21:07
by GarethInWales
Hi all :D
I was wondering if you could help me a bit.

Am running virtual box on an ubuntu server with a ldxe desktop running over vncserver.

I load Virtual box manager and select add new VM
then when I type in the new name the letters are all jumbled up.
typing in 'abcg' comes out as 'asd/'

could anyone help me out?
I have tried the

Code: Select all

sudo dpkg-reconfigure keyboard-configuration
but it doesn't fix anything
VBmanager seems to be ignoring the setting for the rest of the system.
is there possibly a config file or a native virtual box command i could use to set the bindings for the gui to UK qwerty?

Thanks for any help
GarethInWales

Re: Could any one help: Keyboard scrambled in VirtualBox manager gui

Posted: 13. Sep 2019, 10:28
by socratis
Start a VM, any VM. You can even create a new, throwaway VM, no HD, no CD, nothing, just start it. Then close it, just shut it down, close the window.

Right-click on the VM in the VirtualBox Manager and select "Show Log". Save only the first "VBox.log", ZIP it and attach it to your response (see the "Upload attachment" tab below the reply form).

Chances are that in the first 30-40 lines of the log, we're going to see a "Problem with the keyboard" or something along those lines...

Re: Could any one help: Keyboard scrambled in VirtualBox manager gui

Posted: 13. Sep 2019, 22:34
by GarethInWales
OK i have fixed this issue with your help thanks a lot socratis for nudging me in the right direction!

i checked the log

Code: Select all

00:00:03.182787 X11 Window Manager code: 0
00:00:03.191893 Your keyboard type does not appear to be known to VirtualBox. If
00:00:03.191896 you are experiencing keyboard problems this information may help us
00:00:03.191897 to resolve them.  Please also provide information about what type
00:00:03.191897 of keyboard you have and whether you are using a remote X server or
00:00:03.191898 something similar.
00:00:03.191899
i did some digging for keyboard mapping on remote desktops (rather than virtual box itself) and i found this: https://askubuntu.com/questions/216230/ ... rd-mapping
I've been fighting this for over a year, it turned out the solution was easy. Until this if I typed asdf I got abfh in some X apps, the occasional few would work just fine.

Uninstall tightvncserver and install vnc4server (you probably also want to do the same with the viewers). Viola, problem disappeared.

Posi Cat
I removed tightvncserver, installed vnc4server and now everything works properly :D

Re: Could any one help: Keyboard scrambled in VirtualBox manager gui

Posted: 14. Sep 2019, 17:10
by socratis
Glad you got it going. Marking as [Resolved].