I used x0vncserver to start VNC and control the device. When entering the password in the terminal window and attempting to type the '@' symbol, the desktop freezes.
Tue Nov 19 11:38:28 2024
XDesktop: Allocated shared memory image
VNCSConnST: Server default pixel format depth 24 (32bpp) little-endian rgb888
Tue Nov 19 11:39:06 2024
XDesktop: Added unknown keysym at to keycode 253
X connection to :0 broken (explicit kill or server shutdown).
I tried to output more information and found that when typing '@', XkbStateMods did not correctly retrieve the Shift state, causing a remapped key to be used to produce '@'.Partial output is as follows:
I can only try to make the following judgment after the XkbTranslateKeyCode loop ends (keycode == 0 && !(mods & ShiftMask)), then set mods |= ShiftMask, and perform the XkbTranslateKeyCode loop once again.
TigerVNC Server version 1.14.80, built Nov 21 2024 08:58:52
4.19.71-arm64-desktop #52.57030 SMP PREEMPT Mon Jan 9 15:36:53 CST 2023 aarch64 GNU/Linux
CPU Kirin990
I used x0vncserver to start VNC and control the device. When entering the password in the terminal window and attempting to type the '@' symbol, the desktop freezes.
I tried to output more information and found that when typing '@', XkbStateMods did not correctly retrieve the Shift state, causing a remapped key to be used to produce '@'.Partial output is as follows:
I can only try to make the following judgment after the XkbTranslateKeyCode loop ends (keycode == 0 && !(mods & ShiftMask)), then set mods |= ShiftMask, and perform the XkbTranslateKeyCode loop once again.