I use a custom keyboard mapping on Windows (this is valid for all applications, from command.com to notepad to remote SSH session) to type characters not available as default on keyboard using AltGr like on Linux, it is an Italian layout.
VcXsrv start without rise errors in the "Show log", but all X applications see a US layout as fallback.
The error that miss in the log is something like this:
(EE) Error loading keymap C:\Users\user\AppData\Local\Temp\server-0.xkm
(EE) XKB: Failed to load keymap. Loading default keymap instead.
If I select the standard Italian keyboard on Windows before start VcXsrv, all SSH console applications see the standard IT layout, so without extended characters, while X applications see the IT layout with extended characters. This is not ideal as all Windows applications and SSH consoles cannot send extended characters.
The start log is:
Welcome to the VcXsrv X Server
Vendor: The VcXsrv Project
Release: 1.20.9.0
OS: Windows NT 6.2 build 9200 (64-bit)
Contact: marha@users.sourceforge.net
LoadPreferences: C:\Users\vmessina\.XWinrc not found LoadPreferences: Loading D:\Programmi\VcXsrv\system.XWinrc (II) AIGLX: Testing pixelFormatIndex 1 (II) GLX: enabled GLX_SGI_make_current_read (II) GLX: enabled GLX_SGI_swap_control (II) GLX: enabled GLX_MESA_swap_control (II) GLX: enabled GLX_SGIX_pbuffer (II) GLX: enabled GLX_ARB_multisample (II) GLX: enabled GLX_SGIS_multisample (II) GLX: enabled GLX_ARB_fbconfig_float (II) GLX: enabled GLX_EXT_fbconfig_packed_float (II) GLX: enabled GLX_ARB_create_context (II) GLX: enabled GLX_ARB_create_context_profile (II) GLX: enabled GLX_ARB_create_context_robustness (II) GLX: enabled GLX_EXT_create_context_es2_profile (II) GLX: enabled GLX_ARB_framebuffer_sRGB (II) AIGLX: enabled GLX_MESA_copy_sub_buffer (II) 103 pixel formats reported by wglGetPixelFormatAttribivARB (II) GLX: Initialized Win32 native WGL GL provider for screen 0 winClipboardThreadProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - xcb_connect () returned and successfully opened the display. Using Composite redirection
The extended characters are:
¬ ¹ ² ³ ¼ ½ ¬ { [ ] } ` ~ « »
console applications see the keyboard as so:
I made a try with those commands:
with no luck, same results
Last edit: efa 2021-09-10