You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Horváth Csaba <ho...@gmail.com> on 2024/04/13 16:10:50 UTC

VNC vs keymap vs KVM

Hi,

I'm using KVM on Debian on my virtual host. It provides VNC screens,
so the VM's are easily accessable from Guacamole.
Discovered that Guacamole is not handling the keymaps correctly for
Windows VM; the VM has HU keyboard, my laptop has HU keyboard; any
other VNC client (Gnome builtin, Windows, Virt-manager SPICE client,
etc)  is handling the special keys correctly, Guacamole is mixing the
layout up.

Can i do anything related to VNC keymap setting? I haven't found
anything like for RDP.

Thx,

Cs.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: VNC vs keymap vs KVM

Posted by Sean Hulbert <sh...@securitycentric.net.INVALID>.
you will get better response and end to end encryption if you install 
xrdp on Kali.

*Thank You*
Sean Hulbert
*Founder / CEO*
*Work Ph:* 925.663.5565

*Security Centric Inc.*
A Cybersecurity Virtualization Enablement Company
/StormCloud Gov, Protected CUI Environment!/


Industry's most secure virtual desktops!


*/FedRAMP MIL4 in process (RAR)/*
System Award Management
*CAGE: 8AUV4*
*SAM ID: UMJLJ8A7BMT3*

AFCEA San Francisco Chapter President
If you have heard of a hacker by name, he/she has failed, fear the 
hacker you haven’t heard of!

CONFIDENTIALITY NOTICE: This communication with its contents may contain 
confidential and/or legally privileged information. It is solely for the 
use of the intended recipient(s). Unauthorized interception, review, use 
or disclosure is prohibited and may violate applicable laws including 
the Electronic Communications Privacy Act. If you are not the intended 
recipient, please contact the sender and destroy all copies of the 
communication. Content within this email communication is not legally 
binding as a contract and no promises are guaranteed unless in a formal 
contract outside this email communication.

igitur qui desiderat pacem, praeparet bellum!!!

Epitoma Rei Militaris

On 4/16/2024 4:36 AM, Horváth Csaba wrote:
> Hi,
>
> Thanks! Finally found that if one sets the layout on the Spice
> settings, then the VNC screen replicates it...
> This is not 100% perfect, but mostly enough for me :)
>
> Thanks for the clarification :)
>
> Cs.
>
> Michael Jumper<mj...@apache.org>  ezt írta (időpont: 2024. ápr. 15., H, 3:11):
>> On 4/13/24 9:10 AM, Horváth Csaba wrote:
>>> Hi,
>>>
>>> I'm using KVM on Debian on my virtual host. It provides VNC screens,
>>> so the VM's are easily accessable from Guacamole.
>>> Discovered that Guacamole is not handling the keymaps correctly for
>>> Windows VM; the VM has HU keyboard, my laptop has HU keyboard; any
>>> other VNC client (Gnome builtin, Windows, Virt-manager SPICE client,
>>> etc)  is handling the special keys correctly, Guacamole is mixing the
>>> layout up.
>>>
>>> Can i do anything related to VNC keymap setting? I haven't found
>>> anything like for RDP.
>>>
>> When using KVM, you need to configure the virtual machine to explicitly
>> note the keyboard layout you will be using if KVM's VNC server is to
>> correctly translate received X11 keysyms (VNC key events) to internal
>> scancodes (the events expected by the VM).
>>
>> There are extensions to the VNC protocol that allow the local scancode
>> to be forwarded independently of the keysym. Where you are using a VNC
>> client that works in this situation (despite the mismatch between KVM's
>> expected layout and the guest OS' layout), it probably implements that
>> protocol extension.
>>
>> - Mike
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:user-unsubscribe@guacamole.apache.org
>> For additional commands, e-mail:user-help@guacamole.apache.org
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail:user-help@guacamole.apache.org
>

Re: VNC vs keymap vs KVM

Posted by Horváth Csaba <ho...@gmail.com>.
Hi,

Thanks! Finally found that if one sets the layout on the Spice
settings, then the VNC screen replicates it...
This is not 100% perfect, but mostly enough for me :)

Thanks for the clarification :)

Cs.

Michael Jumper <mj...@apache.org> ezt írta (időpont: 2024. ápr. 15., H, 3:11):
>
> On 4/13/24 9:10 AM, Horváth Csaba wrote:
> > Hi,
> >
> > I'm using KVM on Debian on my virtual host. It provides VNC screens,
> > so the VM's are easily accessable from Guacamole.
> > Discovered that Guacamole is not handling the keymaps correctly for
> > Windows VM; the VM has HU keyboard, my laptop has HU keyboard; any
> > other VNC client (Gnome builtin, Windows, Virt-manager SPICE client,
> > etc)  is handling the special keys correctly, Guacamole is mixing the
> > layout up.
> >
> > Can i do anything related to VNC keymap setting? I haven't found
> > anything like for RDP.
> >
>
> When using KVM, you need to configure the virtual machine to explicitly
> note the keyboard layout you will be using if KVM's VNC server is to
> correctly translate received X11 keysyms (VNC key events) to internal
> scancodes (the events expected by the VM).
>
> There are extensions to the VNC protocol that allow the local scancode
> to be forwarded independently of the keysym. Where you are using a VNC
> client that works in this situation (despite the mismatch between KVM's
> expected layout and the guest OS' layout), it probably implements that
> protocol extension.
>
> - Mike
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: VNC vs keymap vs KVM

Posted by Michael Jumper <mj...@apache.org>.
On 4/13/24 9:10 AM, Horváth Csaba wrote:
> Hi,
> 
> I'm using KVM on Debian on my virtual host. It provides VNC screens,
> so the VM's are easily accessable from Guacamole.
> Discovered that Guacamole is not handling the keymaps correctly for
> Windows VM; the VM has HU keyboard, my laptop has HU keyboard; any
> other VNC client (Gnome builtin, Windows, Virt-manager SPICE client,
> etc)  is handling the special keys correctly, Guacamole is mixing the
> layout up.
> 
> Can i do anything related to VNC keymap setting? I haven't found
> anything like for RDP.
>

When using KVM, you need to configure the virtual machine to explicitly 
note the keyboard layout you will be using if KVM's VNC server is to 
correctly translate received X11 keysyms (VNC key events) to internal 
scancodes (the events expected by the VM).

There are extensions to the VNC protocol that allow the local scancode 
to be forwarded independently of the keysym. Where you are using a VNC 
client that works in this situation (despite the mismatch between KVM's 
expected layout and the guest OS' layout), it probably implements that 
protocol extension.

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org