Hello, it''s not the first time but ... Who know? Well, I use xen in HVM. All works fine, my keyboard in Dom0 is AZERTY, but this keyboard become QWERTY when i enter in VM, it''s not useful to type password. How can i keep my keyboard AZERTY in my VM and in Dom0? -- Benjamin HENRION Elève de 4eme année de l'' EXIA (Nancy) Ecole supérieure d''informatique Spé Réseaux _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > ben henrion > Sent: 16 May 2007 09:15 > To: xen-users > Subject: [Xen-users] Keyboard change > > Hello, > it''s not the first time but ... Who know? > Well, I use xen in HVM. All works fine, my keyboard in Dom0 > is AZERTY, but this keyboard become QWERTY when i enter in > VM, it''s not useful to type password. > How can i keep my keyboard AZERTY in my VM and in Dom0?As long as you have a recent version of xen, you should be able to say "keymap=<lang>", e.g. "keymap=fr" in the config file. -- Mats> > -- > Benjamin HENRION > Elève de 4eme année de l'' EXIA (Nancy) > Ecole supérieure d''informatique > Spé Réseaux >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wednesday 16 May 2007 11:49, Petersson, Mats wrote:> > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > ben henrion > > Sent: 16 May 2007 09:15 > > To: xen-users > > Subject: [Xen-users] Keyboard change > > > > Hello, > > it''s not the first time but ... Who know? > > Well, I use xen in HVM. All works fine, my keyboard in Dom0 > > is AZERTY, but this keyboard become QWERTY when i enter in > > VM, it''s not useful to type password. > > How can i keep my keyboard AZERTY in my VM and in Dom0? > > As long as you have a recent version of xen, you should be able to say > "keymap=<lang>", e.g. "keymap=fr" in the config file. >Would xen-3.0.3-25.0.3.el5 be considered recent enough (the system is CentOS 5) ? I ask because I have a similar problem with the keymap. I have setup CentOS 5 in dom0 with a paravirtualized CentOS 5 domU. Both are configured with azerty keyboard layouts. When I connect to the domU via a VNC connection (though the virt-manager GUI), I have to use a QUERTY layout to work in the VNC window. The relevant entries in my config file are: vfb = [ ''type=vnc,vnclisten=0.0.0.0,vncunused=1,display=localhost:12.0'' ] keymap = ''nl-be'' Note that I also required the single quotes around the keymap value or xm create would halt with an error: Error: name ''nl'' is not defined Any chance to have a Azerty keymap when using VNC ? Thanks, Geert> -- > Mats > > > -- > > Benjamin HENRION > > Elève de 4eme année de l'' EXIA (Nancy) > > Ecole supérieure d''informatique > > Spé Réseaux > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, May 18, 2007 at 06:15:08PM +0200, Geert Janssens wrote:> On Wednesday 16 May 2007 11:49, Petersson, Mats wrote: > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > ben henrion > > > Sent: 16 May 2007 09:15 > > > To: xen-users > > > Subject: [Xen-users] Keyboard change > > > > > > Hello, > > > it''s not the first time but ... Who know? > > > Well, I use xen in HVM. All works fine, my keyboard in Dom0 > > > is AZERTY, but this keyboard become QWERTY when i enter in > > > VM, it''s not useful to type password. > > > How can i keep my keyboard AZERTY in my VM and in Dom0? > > > > As long as you have a recent version of xen, you should be able to say > > "keymap=<lang>", e.g. "keymap=fr" in the config file. > > > Would > xen-3.0.3-25.0.3.el5 > be considered recent enough (the system is CentOS 5) ?Nope. Unfortunately that doesn''t support specifying keymaps for PV guests; only for HVM guests in that build. So you''re stuck with plain US layout for now. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: Geert Janssens [mailto:info@kobaltwit.be] > Sent: 18 May 2007 17:15 > To: xen-users@lists.xensource.com > Cc: Petersson, Mats; ben henrion > Subject: Re: [Xen-users] Keyboard change > > On Wednesday 16 May 2007 11:49, Petersson, Mats wrote: > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > ben henrion > > > Sent: 16 May 2007 09:15 > > > To: xen-users > > > Subject: [Xen-users] Keyboard change > > > > > > Hello, > > > it''s not the first time but ... Who know? > > > Well, I use xen in HVM. All works fine, my keyboard in Dom0 > > > is AZERTY, but this keyboard become QWERTY when i enter in > > > VM, it''s not useful to type password. > > > How can i keep my keyboard AZERTY in my VM and in Dom0? > > > > As long as you have a recent version of xen, you should be > able to say > > "keymap=<lang>", e.g. "keymap=fr" in the config file. > > > Would > xen-3.0.3-25.0.3.el5 > be considered recent enough (the system is CentOS 5) ? > > I ask because I have a similar problem with the keymap. I > have setup CentOS 5 > in dom0 with a paravirtualized CentOS 5 domU. > > Both are configured with azerty keyboard layouts. When I > connect to the domU > via a VNC connection (though the virt-manager GUI), I have to > use a QUERTY > layout to work in the VNC window. > > The relevant entries in my config file are: > vfb = [ > ''type=vnc,vnclisten=0.0.0.0,vncunused=1,display=localhost:12.0'' ] > keymap = ''nl-be''The keyboard mapping has been in Xen''s QEMU for a while, since changeset 10673 at the least (which is before 3.0.3). However, "xm create" will ignore it until changeset 12467, which is about halfway through 3.0.3 -> 3.0.4 changes, so no, 3.0.3 will not support keymap setting. You need to update to a newer version of Xen to make use of this feature [or you could try to backport this change, but I think that''s a harder task].> > Note that I also required the single quotes around the keymap > value or xm > create would halt with an error: > Error: name ''nl'' is not definedYes, that makes sense. The config script is essentially a python script, which means that you can use for example variables in it. Of course, anything without quotes will be seen as a variable, not a text-constant. Sorry if I was unclear about that earlier [some things are just so obvious when you''ve been doing it for a while]. -- Mats> > Any chance to have a Azerty keymap when using VNC ? > > Thanks, > > Geert > > -- > > Mats > > > > > -- > > > Benjamin HENRION > > > Elève de 4eme année de l'' EXIA (Nancy) > > > Ecole supérieure d''informatique > > > Spé Réseaux > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: Daniel P. Berrange [mailto:berrange@redhat.com] > Sent: 18 May 2007 17:25 > To: Geert Janssens > Cc: xen-users@lists.xensource.com; Petersson, Mats > Subject: Re: [Xen-users] Keyboard change > > On Fri, May 18, 2007 at 06:15:08PM +0200, Geert Janssens wrote: > > On Wednesday 16 May 2007 11:49, Petersson, Mats wrote: > > > > -----Original Message----- > > > > From: xen-users-bounces@lists.xensource.com > > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > > ben henrion > > > > Sent: 16 May 2007 09:15 > > > > To: xen-users > > > > Subject: [Xen-users] Keyboard change > > > > > > > > Hello, > > > > it''s not the first time but ... Who know? > > > > Well, I use xen in HVM. All works fine, my keyboard in Dom0 > > > > is AZERTY, but this keyboard become QWERTY when i enter in > > > > VM, it''s not useful to type password. > > > > How can i keep my keyboard AZERTY in my VM and in Dom0? > > > > > > As long as you have a recent version of xen, you should > be able to say > > > "keymap=<lang>", e.g. "keymap=fr" in the config file. > > > > > Would > > xen-3.0.3-25.0.3.el5 > > be considered recent enough (the system is CentOS 5) ? > > Nope. Unfortunately that doesn''t support specifying keymaps > for PV guests; > only for HVM guests in that build. So you''re stuck with plain > US layout > for now.Please explain how you mean. As far as I can tell, the only place where keymap is ADDED to create.py in (unstable) changeset 12467, which is part of 3.0.4 release, but after 3.0.3 was released. Of course, I could be wrong in my understanding of xen''s inner workings... -- Mats> > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 > 978 392 2496 -=| > |=- Perl modules: http://search.cpan.org/~danberr/ > -=| > |=- Projects: http://freshmeat.net/~danielpb/ > -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF > F742 7D3B 9505 -=| > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, May 18, 2007 at 06:28:54PM +0200, Petersson, Mats wrote:> > > > -----Original Message----- > > From: Daniel P. Berrange [mailto:berrange@redhat.com] > > Sent: 18 May 2007 17:25 > > To: Geert Janssens > > Cc: xen-users@lists.xensource.com; Petersson, Mats > > Subject: Re: [Xen-users] Keyboard change > > > > On Fri, May 18, 2007 at 06:15:08PM +0200, Geert Janssens wrote: > > > On Wednesday 16 May 2007 11:49, Petersson, Mats wrote: > > > > > -----Original Message----- > > > > > From: xen-users-bounces@lists.xensource.com > > > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > > > ben henrion > > > > > Sent: 16 May 2007 09:15 > > > > > To: xen-users > > > > > Subject: [Xen-users] Keyboard change > > > > > > > > > > Hello, > > > > > it''s not the first time but ... Who know? > > > > > Well, I use xen in HVM. All works fine, my keyboard in Dom0 > > > > > is AZERTY, but this keyboard become QWERTY when i enter in > > > > > VM, it''s not useful to type password. > > > > > How can i keep my keyboard AZERTY in my VM and in Dom0? > > > > > > > > As long as you have a recent version of xen, you should > > be able to say > > > > "keymap=<lang>", e.g. "keymap=fr" in the config file. > > > > > > > Would > > > xen-3.0.3-25.0.3.el5 > > > be considered recent enough (the system is CentOS 5) ? > > > > Nope. Unfortunately that doesn''t support specifying keymaps > > for PV guests; > > only for HVM guests in that build. So you''re stuck with plain > > US layout > > for now. > > Please explain how you mean. As far as I can tell, the only place where > keymap is ADDED to create.py in (unstable) changeset 12467, which is > part of 3.0.4 release, but after 3.0.3 was released.CentOS-5 xen RPMs are based on RHEL-5 RPMs, which are 3.0.3 + a number of important bug fixes + backports. One of those backports was adding changeset: 12293:ea1ffa51b412 user: kasai.takanori@jp.fujitsu.com date: Wed Nov 08 09:38:06 2006 +0000 summary: Add the Japanese keymap for VNC Server. Which (contrary to the summary) introduced full keymap support for HVM. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users