[Pkg-virtualbox-devel] Bug#666403: virtualbox-ose-qt: guest keyboard failure when virtual box invoked from .xsession

Philip subs at christiantena.net
Fri Mar 30 13:40:31 UTC 2012

Package: virtualbox-ose-qt
Version: 3.2.10-dfsg-1
Severity: normal
Tags: squeeze

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virtualbox-ose-qt depends on:
ii  libc6                 2.11.3-3           Embedded GNU C Library: Shared lib
ii  libgcc1               1:4.4.5-8          GCC support library
ii  libgl1-mesa-glx [libg 7.7.1-5            A free implementation of the OpenG
ii  libqt4-network        4:4.6.3-4+squeeze1 Qt 4 network module
ii  libqt4-opengl         4:4.6.3-4+squeeze1 Qt 4 OpenGL module
ii  libqtcore4            4:4.6.3-4+squeeze1 Qt 4 core module
ii  libqtgui4             4:4.6.3-4+squeeze1 Qt 4 GUI module
ii  libsdl1.2debian       1.2.14-6.1         Simple DirectMedia Layer
ii  libstdc++6            4.4.5-8            The GNU Standard C++ Library v3
ii  libx11-6              2:1.3.3-4          X11 client-side library
ii  libxcursor1           1:1.1.10-2         X cursor management library
ii  libxext6              2:1.1.2-1          X11 miscellaneous extension librar
ii  libxinerama1          2:1.1-3            X11 Xinerama extension library
ii  virtualbox-ose        3.2.10-dfsg-1      x86 virtualization solution - base

virtualbox-ose-qt recommends no packages.

virtualbox-ose-qt suggests no packages.

-- no debconf information

Tested on two machines, one running gnome and one kde.
In both case guests work normally if run from gnome/kde desktop,
however if an $home/.xsession file is written containing
/usr/bin/virtualbox --startvm xp
when the user logs in the guest machine starts up as intended
on the kde machine the guest machine accepts one keypress but subsequent
keypresses are lost.
If the guest is paused and resumed then another single keypress can be sent
on the gnome machine the keyboard is dead.
If the $home/.xsession file is populated with "xterm" then the user can 
type into the xterm window normally.  Additionally if the user then types
/usr/bin/virtualbox --startvm xp
into the xterm window then the same keyboard failure occurs as if invoked
directly from .xsession.
Tested with both an XP guest and with a debian linux guest (console only)

More information about the Pkg-virtualbox-devel mailing list