From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5koO-0006Dj-LG for qemu-devel@nongnu.org; Thu, 08 Mar 2012 16:24:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5koC-0002kU-Sh for qemu-devel@nongnu.org; Thu, 08 Mar 2012 16:23:48 -0500 Received: from mail-ee0-f45.google.com ([74.125.83.45]:60035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5koC-0002k8-M0 for qemu-devel@nongnu.org; Thu, 08 Mar 2012 16:23:36 -0500 Received: by eeit10 with SMTP id t10so334245eei.4 for ; Thu, 08 Mar 2012 13:23:33 -0800 (PST) Date: Thu, 8 Mar 2012 22:23:32 +0100 From: Fabian Holler Message-ID: <20120308212332.GD13550@fholler.de> References: <20120307105357.GA30632@fholler.de> <201203082124.14187.hahn@univention.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <201203082124.14187.hahn@univention.de> Subject: Re: [Qemu-devel] Keysymbol interpretation missing in QEMU's VNC server? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philipp Hahn Cc: qemu-devel@nongnu.org Hello Philipp, thanks for your answer. On Thu, Mar 08, 2012 at 09:24:13PM +0100, Philipp Hahn wrote: > On Wednesday 07 March 2012 11:53:57 Fabian Holler wrote: > > I'm not sure if I found a bug in QEMU's VNC keyboard layout mapping or > > if it's a general problem in the implemented VNC server: >=20 > Daniel P. Berrang=E9 has written some very good blog entries about the VN= C=20 > problem:=20 > > They're quiet technical, but after reading them I at least concluded that= VNC=20 > is normally just broken. I already discovered Berrang=E8s articles, helped me very lot to understand the problem. > I recommend using virt-viewer, with which I have mostly no such problems. Ah, never heard of it, it seems also be gtk-vnc based. I already tried gtk-vnc and it works but we need a Web based solution for our customers. I found Java VNC (http://www.jdams.org/java-vnc), which also sends the QEMU extended key event messages (based on TigerVNC). But in the JVM is the same old problem that the scan code/key code isn't known. So our current plan is to let the customer choose his local keyboard layout in the applet and recover the key code for the key symbol (+ add/remove if needed metakey events like shift) on the client. Similar like QEMU's "-k" option, but on the client-side + interpretation. We will only can support a limited number of keyboard layouts but changing the layout without restarting QEMU will be possible. :-) regards Fabian