VirtualBox

Ticket #4772 (reopened defect)

Opened 5 years ago

Last modified 3 years ago

Can't type parentheses in Windows XP guest running on Ubuntu 9.04 host accessed over VNC.

Reported by: SirX Owned by:
Priority: minor Component: other
Version: VirtualBox 3.0.4 Keywords: parentheses, keyboard
Cc: Guest type: Windows
Host type: Linux

Description

I am running VirtualBox 3.0.4 on Ubuntu 9.04 with a Windows XP guest OS. If I make a VNC connection into my Ubuntu host, I cannot type parentheses (left or right) into the Windows guest OS. There is no response to the key press. No other keys are affected, as far as I can tell. I can type parentheses into the host over VNC, into the guest if I am sitting at the computer, or into the guest if I use RDP instead of VNC. This is sufficiently obscure that I have only found one other report of this problem:  http://www.ale.org/pipermail/ale/2009-July/111969.html

Attachments

WinXP-2010-04-27-13-51-09.log Download (35.9 KB) - added by BArmstrong 4 years ago.
The requested log of WinXP guest OS
x11vnc.log Download (2.1 KB) - added by BArmstrong 3 years ago.
Excerpt from x11vnc -xkb output when pressing left and right paren keys.

Change History

comment:1 Changed 5 years ago by michael

Could you please attach a log file from a run of the VM? Thanks.

comment:2 Changed 5 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid

No response, closing.

Changed 4 years ago by BArmstrong

The requested log of WinXP guest OS

comment:3 Changed 4 years ago by BArmstrong

  • Status changed from closed to reopened
  • Resolution invalid deleted

Reproduced on:

  • a Debian "squeeze" system acting as host, using virtualbox-ose 3.1.6-dfsg-2 and x11vnc 0.9.9-1 as the VNC server; also failed with virtualbox-ose 3.1.2, which i subsequently upgraded;
  • running a Win XP guest OS;
  • and using a Debian "sid" system as the VNC client host, using xvnc4viewer 4.1.1+X4.3.0-37 and also an Ubuntu host (version unknown) again using xvnc4viewer (version unknown).

Note: x11vnc needs to be started with "x11vnc -xkb" or else other keys may not be mapped properly (a problem not limited to virtualbox).

Just as the original submitter reported, parentheses do not work in the virtualbox guest OS when run in VNC. They do, however, work in other applications running in the same VNC session. Also, they work in virtualbox when I have direct (non-VNC) access to my desktop.

I would be happy to provide any other info you need. I have attached the requested WinXP guest OS log.

Thanks, Ben

comment:4 follow-up: ↓ 5 Changed 3 years ago by BArmstrong

The problem is reproducible using:

virtualbox 3.2.12-12-dfsg-1
x11vnc 0.9.10-1.1

I'm still seeking a solution. Is there anything else I could provide to help debug the issue?

Thanks,
Ben

comment:5 in reply to: ↑ 4 Changed 3 years ago by BArmstrong

Replying to BArmstrong:

virtualbox 3.2.12-12-dfsg-1

Sorry, typo. That should be:

virtualbox 3.2.12-dfsg-1

comment:6 follow-up: ↓ 7 Changed 3 years ago by michael

Have you tried this on VirtualBox 4.0? This release contains some fixes related to keyboard handling on X11 hosts.

comment:7 in reply to: ↑ 6 Changed 3 years ago by BArmstrong

Replying to michael:

Have you tried this on VirtualBox 4.0? This release contains some fixes related to keyboard handling on X11 hosts.

Just tried it now with 4.0.2 for Squeeze. The problem is not solved in that version, even after upgrading to latest Guest Additions.

Changed 3 years ago by BArmstrong

Excerpt from x11vnc -xkb output when pressing left and right paren keys.

comment:8 Changed 3 years ago by BArmstrong

If I use "x11vnc -xkb -debug_keyboard" and press left and right parens in a text editor, this output is produced (see attachment x11vnc.log). Taking the "found more than one keycode" messages as a clue, I guessed this workaround might do the trick:

$ x11vnc -xkb -skip_keycodes 187,188

It worked! Pressing paren keys now produces output in the editor.

So, shouldn't the VirtualBox keyboard driver be handling these keycodes as well (or the keysyms mapped to these keycodes)? I don't know if the VNC server solutions commonly used by other users (vino, etc.) are flexible enough to use this workaround, and certainly it takes a bit of digging to find and apply it, so some "just works" solution would be far preferable.

comment:9 Changed 3 years ago by CiaranG

I have the same issue, but using vino-server, for which there doesn't seem to be an equivalent workaround. (Host is 10.04 in this case)

comment:10 Changed 3 years ago by jdpipe

I have the same issue. I am using VirtualBox 4.0.4 on Ubuntu 10.04. I am using the PPA packages by user 'debfx'.

The problem occurs when I view my remote host machine via xtightvncviewer over a tunnelled SSH connection, when I have VirtualBox-OSE running in a window on the host. I can't sent parentheses ( ) to the guest operating system (Windows 7 in my case).

The problem disappears when I add port forwarding to a TightVNC server installed on the guest OS, and then connect to the guest TightVNC server (via a tunnelled SSH connection to the host and the forwarded port to the guest).

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use