Fabrice Delente
2012-Sep-10 10:44 UTC
Bugs in VNC viewer ? Mouse offset and keyboard map incorrect
Hello. Am I the only one to have problem with the VNC server that is included in Xen? Ihave tried with several VNC client, and every time * the mouse cursor is offset from the host system cursor; * the keys on the keyboard give characters that don''t match (for example, typing '';'' on my keyboard gives an ''m'' on the guest''s screen...) Thanks. -- Fabrice DELENTE _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Mark van Dijk
2012-Sep-10 20:22 UTC
Re: Bugs in VNC viewer ? Mouse offset and keyboard map incorrect
Quoting Fabrice Delente''s message from 10 sep 2012:>Hello. > >Am I the only one to have problem with the VNC server that is included >in Xen? Ihave tried with several VNC client, and every time > >* the mouse cursor is offset from the host system cursor;Yeah, that''s pretty common in my experience. It''s because the client uses its own cursor acceleration.> >* the keys on the keyboard give characters that don''t match (for >example, typing '';'' on my keyboard gives an ''m'' on the guest''s >screen...)Probably an issue between different keymaps on the VNC client and server. Maybe you can set a keymap on your vnc client? I use remmina as a vnc client (wrapper), and am able to choose different clients. I use the dvorak layout, so I have set my VNC client to dvorak as well. But on the guest VM I still have to set it to the US layout. Probably because the client sends key codes, not characters, to the VNC server. -- HTH, Mark van Dijk. ,--------------------------------- -----------------------------'' Mon Sep 10 20:22 UTC 2012 Today is Pungenday, the 34th day of Bureaucracy in the YOLD 3178
Ian Campbell
2012-Sep-11 07:24 UTC
Re: Bugs in VNC viewer ? Mouse offset and keyboard map incorrect
On Mon, 2012-09-10 at 21:22 +0100, Mark van Dijk wrote:> Quoting Fabrice Delente''s message from 10 sep 2012: > >Hello. > > > >Am I the only one to have problem with the VNC server that is included > >in Xen? Ihave tried with several VNC client, and every time > > > >* the mouse cursor is offset from the host system cursor; > > Yeah, that''s pretty common in my experience. It''s because the client > uses its own cursor acceleration.Using usbdevice="tablet" in your guest config fixes this by using an absolute device type.> >* the keys on the keyboard give characters that don''t match (for > >example, typing '';'' on my keyboard gives an ''m'' on the guest''s > >screen...) > > Probably an issue between different keymaps on the VNC client and > server. Maybe you can set a keymap on your vnc client? I use remmina > as a vnc client (wrapper), and am able to choose different clients. I > use the dvorak layout, so I have set my VNC client to dvorak as well. > But on the guest VM I still have to set it to the US layout. > Probably because the client sends key codes, not characters, to the > VNC server.You can also use keymap=''XX'' in your guest config to configure the VNC server. I use keymap=''en-gb'' and that serves me well enough without client side configuration, but I don''t have much experience with keymaps which differ more substantially from the default us one than the UK one does. Ian.
Fabrice Delente
2012-Sep-11 07:29 UTC
Re: Bugs in VNC viewer ? Mouse offset and keyboard map incorrect
I didn''t know about all that, thank you very much, it solved everything! -- Fabrice DELENTE _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Philipp Hahn
2012-Sep-11 07:53 UTC
Re: Bugs in VNC viewer ? Mouse offset and keyboard map incorrect
Hello, On Tuesday 11 September 2012 09:29:21 Fabrice Delente wrote:> I didn''t know about all that, thank you very much, it solved everything!Daniel P. Berrangé of libvirt fame has written some excellent posts with the gory technical details, why VNC often has keyboard problems: <http://berrange.com/posts/2010/07/04/a-summary-of-scan-code-key-codes-sets-used-in-the-pc-virtualization-stack/> <http://berrange.com/posts/2010/07/04/more-than-you-or-i-ever-wanted-to-know-about-virtual-keyboard-handling/> It helped me a lot to understand on how to configure the keyboard layouts to make it somehow work. Sincerely Philipp -- Philipp Hahn Open Source Software Engineer hahn@univention.de Univention GmbH be open. fon: +49 421 22 232- 0 Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232-99 http://www.univention.de/ _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users