VirtualBox

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#2793 closed defect (fixed)

VirtualBox 2.1.0 Guest Additions corrupts keyboard settings only to US-keyboard => fixed in SVN

Reported by: grof Owned by:
Component: guest additions Version: VirtualBox 2.1.0
Keywords: keyboard Cc:
Guest type: Linux Host type: Windows

Description

Hi, I have installed VirtualBox 2.1.0 on Windows XP SP3 host and Ubuntu 8.10 as guest.

Keyboard (non-US) is working OK on host and on guest before upgrading to 2.1.0 from 2.0.6 version. But after installing Guest Additions keyboard is working properly on host, but on Ubuntu US-keyboard is working despite my local language keyboard settings in guest.

I have remove guest additions by using info from this forum: sudo find /etc -name "*vboxadd*" -exec rm {} \; sudo find /etc -name "*vboxvfs*" -exec rm {} \; sudo rm -r /usr/src/vboxadd-* sudo rm -r /usr/src/vboxvfs-* sudo rm /usr/sbin/vboxadd-timesync sudo rm /lib/modules/uname -r/misc/vboxadd.ko sudo rm /lib/modules/uname -r/misc/vboxvfs.ko

and after guest reboot my local language keyboard in guest is working again.

I reinstalled guest additions and US-keyboard reappeared again. So it looks like a bug in guest additions.

Does anyone have the same problem? Is there any work-around? Thanks

Change History (12)

comment:1 by grof, 15 years ago

It looks bug-tracker doesn't support text code formatting, so I posted a post in forum to see correct end of "sudo..." commands. http://forums.virtualbox.org/viewtopic.php?t=12351

comment:2 by Frank Mehnert, 15 years ago

Oh, it does! please use {{{ and }}} to enclose the text statements next time. Or use a list. And there is a Preview button. Please have a look at the Wiki formatting help.

Regarding your problem: We will try to find the reason.

comment:3 by Martin Heimes, 15 years ago

(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap

same here with debian lenny x86 host ubuntu 8.10

2.0.6 GA working ok with 2.1.0 host ... no GA after ubuntu kernel update (keymap ok), installed new GA => no more german keymap and xorg error as quoted above

more affected users in http://forums.virtualbox.org/viewtopic.php?t=12280

in reply to:  3 comment:4 by Martin Heimes, 15 years ago

Replying to martin.heimes:

same here with debian lenny x86 host ubuntu 8.10

should be: debian lenny host - ubuntu 8.10 guest

comment:5 by grof, 15 years ago

Hi, according to xasx tip from forum http://forums.virtualbox.org/viewtopic.php?t=12280 there is a work-around, just install guest additions from older version 2.0.6.
I did the following:

  1. I stopped Ubuntu 8.10 guest.
  2. From Windows XP host browser I have downloaded file http://download.virtualbox.org/virtualbox/2.0.6/VBoxGuestAdditions_2.0.6.iso and save it in directory

C:\Program Files\Sun\xVM VirtualBox

  1. From VirtualBox GUI I clicked on right site of window to select desired virtual guest (Ubuntu in my case) and from right window I clicked on CD/DVD-ROM icon.
  2. From Settings window I clicked on folder icon inside "ISO Image File" section.
  3. New window opens. I have click on VBoxGuestAdditions.iso and click Remove to remove GA 2.0.1 that is not working.
  4. Clicked on Add toolbar icon and selected VBoxGuestADditions_2.0.6.iso
  5. Started guest computer
  6. Open Terminal and installed GA:

cd /media/cdrom
sudo ./VirtualBox-2.0.6-39760-Linux_x86.run

  1. Rebooted guest:

sudo reboot
Problem is solved.
Regards

comment:6 by Frank Mehnert, 15 years ago

Yes, installing the 2.0.6 additions should help to work around this problem. We are about to fix that problem in the next release.

comment:7 by eythort, 15 years ago

Same problem here on a WinXp host, Kubuntu 8.10 guest (fully up-to-date). Keymap stuck at the 'us' keymap, preventing me to use the Icelandic 'is' locale as usual. Problem appeared only after installing guest additions 2.10 and disappeared after a 2.06 guest additions rollback. I noticed that the standard syntax for changing the keymap simply did not work. Changing the keymap in the gui keymap settings did not do anything, regardless of the keymap selected. The exact syntax used by the gui to change the keymap - in my case "setxkbmap -model presario -layout is" - just gave an error ("Error loading new keyboard description"~doesn't recognize the layout), explaining why the gui was not able to change the keymap at all. Thus, it looks like the guest additions 2.10 prevents setxkbmap to recognize any of the normal keyboard layouts while this works perfectly in guest additions 2.06.

comment:8 by m-p{3}, 15 years ago

I add my name to the list of the users having problems.

Host: Windows XP Professional, Keyboard layout: French (Canada) Guest: Ubuntu 8.10, Keyboard Layout: French Canadian

Under the host system, I can use the AltGr key to enter some characters (ie: @, {, }, etc). Under the guest system, the AltGr key seems to have no effect.

Without the VirtualBox Guest Additions tools installed, the key works fine.

comment:9 by JA, 15 years ago

Installing VBoxGuestAdditions 2.0.6 after 2.1.0 resolved keyboard issue for me. I am looking forward for next release which handles this.

comment:10 by m-p{3}, 15 years ago

I'll wait until the next VirtualBox release before progressing any further in my testing.

I could install the 2.0.6 GA, but for validation and quality assurance purpose I don't want to get into this.

comment:11 by Michael Thayer, 15 years ago

Summary: VirtualBox 2.1.0 Guest Additions corrupts keyboard settings only to US-keyboardVirtualBox 2.1.0 Guest Additions corrupts keyboard settings only to US-keyboard => fixed in SVN

Using the 2.0.6 guest additions with 2.1.0 will fix this and should work fine. This issue is fixed in the development (SVN) sources of VirtualBox.

comment:12 by Sander van Leeuwen, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use