Multiple key presses passed from xfreerdp client to weston rdp server
Using freerdp-2.0rc4 on a linux x86_64 client and weston-7.0 on a linux RPi3 server.
A single key press on the xfreerdp weston desktop is passed as multiple key presses to weston-terminal using the weston rdp backend.
Is there a way to check if the problem lies with freerdp or the weston rdp backend?
[server]
$ XDG_RUNTIME_DIR=/run/user/1001 weston --backend=rdp-backend.so --rdp-tls-cert=box.crt --rdp-tls-key=box.key --width=1024 --height=768 --socket=wayland-1
Date: 2019-11-20 UTC [06:08:43.619] weston 7.0.0 https://wayland.freedesktop.org Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/ Build: 7.0.0 [06:08:43.620] Command line: weston --backend=rdp-backend.so --rdp-tls-cert=box.crt --rdp-tls-key=box.key --width=1024 --height=768 --socket=wayland-1 [06:08:43.620] OS: Linux, 4.9.22-piCore-v7, #1 SMP Sat Apr 15 12:27:07 UTC 2017, armv7l [06:08:43.621] Starting with no config file. [06:08:43.621] Output repaint window is 7 ms maximum. [06:08:43.622] Loading module '/usr/local/lib/libweston-7/rdp-backend.so' [06:08:43.833] using FreeRDP version 2.0.0 [06:08:43.833] TLS support activated [06:08:43:804] [19482:19482] [INFO][com.freerdp.core.listener] - Listening on 0.0.0.0:3389 [06:08:43.834] Registered plugin API 'weston_rdp_output_api_v1' of size 4 [06:08:43.834] Output 'rdp' enabled with head(s) rdp [06:08:43.834] Compositor capabilities: arbitrary surface rotation: yes screen capture uses y-flip: no presentation clock: CLOCK_MONOTONIC_RAW, id 4 presentation clock resolution: 0.000000001 s [06:08:43.835] Loading module '/usr/local/lib/weston/desktop-shell.so' [06:08:43.836] launching '/usr/local/lib/weston/weston-keyboard' [06:08:43.838] launching '/usr/local/lib/weston/weston-desktop-shell' could not load cursor 'dnd-move' could not load cursor 'dnd-copy' could not load cursor 'dnd-none' [06:09:09:156] [19482:19482] [INFO][com.freerdp.core.connection] - Client Security: NLA:0 TLS:1 RDP:0 [06:09:09:156] [19482:19482] [INFO][com.freerdp.core.connection] - Server Security: NLA:0 TLS:1 RDP:1 [06:09:09:156] [19482:19482] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:0 TLS:1 RDP:0 [06:09:15:196] [19482:19482] [INFO][com.freerdp.core.connection] - Accepted client: boxdell [06:09:15:196] [19482:19482] [INFO][com.freerdp.core.connection] - Accepted channels: [06:09:15:196] [19482:19482] [INFO][com.freerdp.core.connection] - cliprdr [06:09:15:196] [19482:19482] [INFO][com.freerdp.core.gcc] - Active rdp encryption level: NONE [06:09:15:196] [19482:19482] [INFO][com.freerdp.core.gcc] - Selected rdp encryption method: NONE [06:09:15.237] kbd_layout:0x409 kbd_type:0x4 kbd_subType:0x0 kbd_functionKeys:0xc [06:09:15.237] xf_peer_activate: matching layout=us variant=(null) could not load cursor 'dnd-move' could not load cursor 'dnd-copy' could not load cursor 'dnd-none'
[client]
$ xfreerdp /v:box /sec:tls /size:1024x768 /v:192.168.1.109 [10:09:09:793] [9196:9197] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr [10:09:09:794] [9196:9197] [INFO][com.freerdp.client.x11] - No user name set. - Using login name: tc [10:09:09:794] [9196:9197] [INFO][com.freerdp.client.x11] - Property 398 does not exist ... [10:09:15:905] [9196:9197] [INFO][com.freerdp.gdi] - Local framebuffer format PIXEL_FORMAT_BGRX32 [10:09:15:905] [9196:9197] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16 [10:09:15:912] [9196:9197] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem