
Greetings. We are under the impression the the keyboard layout for the VNC-server is missing from a vm's xml definition, hence the same default layout is always used. We therefore (just to test) created a small host hook adding a static keyboard layout, and with the hook, it seem to work as expected as the -k switch to kvm is now populated. vm started with our hook <graphics type='vnc' port='5904' autoport='yes' keymap='sv' passwd='***********' passwdValidTo='2016-04-11T09:21:09'> <listen type='network' address='192.168.42.113' network='vdsm-ovirtmgmt' fromConfig='0'/> </graphics> and one without <graphics type='vnc' port='5903' autoport='yes' passwd='*****' passwdValidTo='1970-01-01T00:00:01'> <listen type='network' address='192.168.42.113' network='vdsm-ovirtmgmt' fromConfig='0'/> </graphics> oVirt Engine Version: 3.6.3.4-1.el7.centos Node: oVirt Node Hypervisor release 3.6 (0.999.201512141021.el7.centos) Is this a known issue ? Brgds, Jonas

No one ? I've tested now also with a hosted engine setup. Can't see there either that the keyboard layout information set in the web-ui ever reaches the VM. Think we have a bug here. Rgds, Jonas On 11/04/16 17:43, Jonas Israelsson wrote:
Greetings.
We are under the impression the the keyboard layout for the VNC-server is missing from a vm's xml definition, hence the same default layout is always used.
We therefore (just to test) created a small host hook adding a static keyboard layout, and with the hook, it seem to work as expected as the -k switch to kvm is now populated.
vm started with our hook
<graphics type='vnc' port='5904' autoport='yes' keymap='sv' passwd='***********' passwdValidTo='2016-04-11T09:21:09'> <listen type='network' address='192.168.42.113' network='vdsm-ovirtmgmt' fromConfig='0'/> </graphics>
and one without
<graphics type='vnc' port='5903' autoport='yes' passwd='*****' passwdValidTo='1970-01-01T00:00:01'> <listen type='network' address='192.168.42.113' network='vdsm-ovirtmgmt' fromConfig='0'/> </graphics>
oVirt Engine Version: 3.6.3.4-1.el7.centos Node: oVirt Node Hypervisor release 3.6 (0.999.201512141021.el7.centos)
Is this a known issue ?
Brgds, Jonas _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 27 Apr 2016, at 11:24, Jonas Israelsson <jonas.israelsson@elementary.se> wrote:
No one ?
Hi, sorry for late response
I've tested now also with a hosted engine setup. Can't see there either that the keyboard layout information set in the web-ui ever reaches the VM.
That should work. HE is a bit different, and noVNC client doesn't support keymaps properly, but you should see it in xml Does spice work? Any special reason you can't use it?
Think we have a bug here.
Looks like that is a regression indeed. Feel free to open bug yourself, it shouldn't be difficult to fix Thanks, michal
Rgds, Jonas
On 11/04/16 17:43, Jonas Israelsson wrote: Greetings.
We are under the impression the the keyboard layout for the VNC-server is missing from a vm's xml definition, hence the same default layout is always used.
We therefore (just to test) created a small host hook adding a static keyboard layout, and with the hook, it seem to work as expected as the -k switch to kvm is now populated.
vm started with our hook
<graphics type='vnc' port='5904' autoport='yes' keymap='sv' passwd='***********' passwdValidTo='2016-04-11T09:21:09'> <listen type='network' address='192.168.42.113' network='vdsm-ovirtmgmt' fromConfig='0'/> </graphics>
and one without
<graphics type='vnc' port='5903' autoport='yes' passwd='*****' passwdValidTo='1970-01-01T00:00:01'> <listen type='network' address='192.168.42.113' network='vdsm-ovirtmgmt' fromConfig='0'/> </graphics>
oVirt Engine Version: 3.6.3.4-1.el7.centos Node: oVirt Node Hypervisor release 3.6 (0.999.201512141021.el7.centos)
Is this a known issue ?
Brgds, Jonas _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I've tested now also with a hosted engine setup. Can't see there either that the keyboard layout information set in the web-ui ever reaches the VM. That should work. HE is a bit different, and noVNC client doesn't support keymaps properly, but you should see it in xml
Does spice work? Any special reason you can't use it? Spice does work. I do however prefer a web based console, and the spice
based is in a very sorry state.
Think we have a bug here. Looks like that is a regression indeed. Feel free to open bug yourself, it shouldn't be difficult to fix Will do, thanks (a million) !

On 28 Apr 2016, at 10:32, Jonas Israelsson <jonas.israelsson@elementary.se> wrote:
I've tested now also with a hosted engine setup. Can't see there either that the keyboard layout information set in the web-ui ever reaches the VM. That should work. HE is a bit different, and noVNC client doesn't support keymaps properly, but you should see it in xml
Does spice work? Any special reason you can't use it? Spice does work. I do however prefer a web based console, and the spice based is in a very sorry state.
indeed, but bear in mind the noVnc client is also not so great on keyboard mappings anyway. Swedish might be ok, but if it is not, then please rather check with standalone client
Think we have a bug here. Looks like that is a regression indeed. Feel free to open bug yourself, it shouldn't be difficult to fix Will do, thanks (a million) !
we have one now and working on it!:) https://bugzilla.redhat.com/show_bug.cgi?id=1331274 Thanks, michal
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 28 Apr 2016, at 10:32, Jonas Israelsson <jonas.israelsson@elementary.se> wrote:
I've tested now also with a hosted engine setup. Can't see there either that the keyboard layout information set in the web-ui ever reaches the VM. That should work. HE is a bit different, and noVNC client doesn't support keymaps properly, but you should see it in xml
Does spice work? Any special reason you can't use it? Spice does work. I do however prefer a web based console, and the spice based is in a very sorry state. indeed, but bear in mind the noVnc client is also not so great on keyboard mappings anyway. Swedish might be ok, but if it is not, then please rather check with standalone client Right, but after the keyboard map actually being used, tweaks to the mapping can be done, to make the experience 'quite pleasant'. In fact
On 2016-04-28 12:31, Michal Skrivanek wrote: the only thing missing right now (with a swedish layout) is the recognition of the <alt gr> key. That to works with native the native client. There is as you probably know an old issue to NoVNC, that was brought back to life just a few months ago. To my understanding addressing this issue https://github.com/kanaka/noVNC/issues/21

On 28 Apr 2016, at 12:53, Jonas Israelsson <jonas.israelsson@elementary.se> wrote:
On 2016-04-28 12:31, Michal Skrivanek wrote:
On 28 Apr 2016, at 10:32, Jonas Israelsson <jonas.israelsson@elementary.se> wrote:
I've tested now also with a hosted engine setup. Can't see there either that the keyboard layout information set in the web-ui ever reaches the VM. That should work. HE is a bit different, and noVNC client doesn't support keymaps properly, but you should see it in xml
Does spice work? Any special reason you can't use it? Spice does work. I do however prefer a web based console, and the spice based is in a very sorry state. indeed, but bear in mind the noVnc client is also not so great on keyboard mappings anyway. Swedish might be ok, but if it is not, then please rather check with standalone client Right, but after the keyboard map actually being used, tweaks to the mapping can be done, to make the experience 'quite pleasant'. In fact the only thing missing right now (with a swedish layout) is the recognition of the <alt gr> key. That to works with native the native client.
There is as you probably know an old issue to NoVNC, that was brought back to life just a few months ago. To my understanding addressing this issue https://github.com/kanaka/noVNC/issues/21
ah, there’s quite some activity recently. sounds good

we have one now and working on it!:) https://bugzilla.redhat.com/show_bug.cgi?id=1331274 Missed this, so I too opened a bugzilla. My apologies Feel free to dupe it --> https://bugzilla.redhat.com/show_bug.cgi?id=1331333
Rgds, Jonas
participants (2)
-
Jonas Israelsson
-
Michal Skrivanek