Bug 437765

Summary: key `<`(less_than) is map to `>`(greater_than)
Product: [Applications] krfb Reporter: rust <os.popen>
Component: generalAssignee: George Goldberg <grundleborg>
Status: REPORTED ---    
Severity: normal CC: root
Priority: NOR    
Version First Reported In: 21.04.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen recording for `<` map to `>`

Description rust 2021-05-28 07:58:42 UTC
Created attachment 138838 [details]
screen recording for `<` map to `>`

SUMMARY
key `<` is map to `>`
https://github.com/LibVNC/libvncserver/blob/master/examples/example.c

STEPS TO REPRODUCE
1. use any vnc client connect to krfb
2. send `<` key

OBSERVED RESULT
print '>'


EXPECTED RESULT
print '<'

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.12.2
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

I report this bug to tigervnc https://github.com/TigerVNC/tigervnc/issues/1264
they help me find out this is a bug cause by krdp server

I try different client like krdc, realvnc-vnc-viewer also reproduce this bug(`<` map to `>`)

krdp dependence on libvncserver.so, I run https://github.com/LibVNC/libvncserver/blob/master/examples/example.c
the `<` key send correctly

SCREENSHOT/SCREENRECORD
https://camo.githubusercontent.com/4a924e754f96ea6167339cef6079bd03b0c0f8660bb775c183d57d4a08ac67d8/68747470733a2f2f73686f776d657468656d6f6e65792e79696a696179696e7368692e636f6d2f696d6167655f61667465725f323031395f30362f333637332f6c6573735f7468616e5f6d61705f746f5f677265617465725f7468616e2e676966
Comment 1 rust 2021-05-28 08:03:19 UTC
vnc server: krfb
vnc client: realvnc,tigervnc,krdc

vnc client connect to libvncserver's example, `<` is map to `<`
but vnc client connect to krfb, `<` is map to `>`

[w@ww ~]$ sudo pacman -Qi krfb
Name            : krfb
Version         : 21.04.0-1
Comment 2 Merriam Webster 2023-06-02 13:03:31 UTC
Confirm that bug still exists in default XRFB configuration

I think that issue is highly related: https://github.com/LibVNC/x11vnc/issues/115

BTW That tracker looks dead lol