From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DuiXY-0007hT-5W for qemu-devel@nongnu.org; Mon, 18 Jul 2005 23:13:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DuiXS-0007ee-0G for qemu-devel@nongnu.org; Mon, 18 Jul 2005 23:12:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DuiXR-0007eb-Tj for qemu-devel@nongnu.org; Mon, 18 Jul 2005 23:12:57 -0400 Received: from [65.125.228.29] (helo=halssoftware.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Duid5-0001eY-FP for qemu-devel@nongnu.org; Mon, 18 Jul 2005 23:18:47 -0400 Received: from [129.97.243.109] (rn-revndb14.uwaterloo.ca [129.97.243.109]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by halssoftware.com (Postfix) with ESMTP id 9664B4082 for ; Tue, 19 Jul 2005 03:09:23 +0000 (UTC) Message-ID: <42DC6EE2.4000503@halssoftware.com> Date: Mon, 18 Jul 2005 23:09:22 -0400 From: Hal Finkel MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] vnc keyboard problem Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, I am having a problem using qemu in combination with a vnc server on linux. Using qemu with the (physical) desktop X display works fine. When using the vnc server, however, something is wrong with the process of translating keyboard events. I can type commands just fine into the gnome terminal program (and thus in the qemu monitor when I provide the -monitor stdio option), however keys are translated incorrectly when passed to the emulated system. For instance, Alt maps to 5, Return to Space, 5 to Backspace, s to b, etc. Additionally, this is true even if I use the xvkbd program (running on the same system as qemu) to generate the keysym events. Linux kernel is Ubuntu package 2.6.12-3-686 vnc server is Ubuntu package tightvncserver 1.2.9-5 sdl library is Ubuntu package 1.2.7+1.2.8cvs2004100 qemu, built from source, either version 0.7.0 or cvs snapshot from 2005-07-13 If anyone could provide me with a hint as to what is going on (or how to effectively debug the problem), I would appreciate it. Thanks again, Hal Finkel