View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008110 | Kali Linux | General Bug | public | 2022-12-20 13:32 | 2023-04-11 03:39 |
Reporter | nullific | Assigned To | re4son | ||
Priority | immediate | Severity | major | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 2022.4 | ||||
Summary | 0008110: Kali-win-kex unable to connect to socket, Failed to activate virtual keyboard: 2, Error in VcXsvr. | ||||
Description | Unable to initialize Kex using both sudo and normal user. Including failure to initialize virtual keyboard when sending the command: kex --sl | ||||
Steps To Reproduce | Go through the normal installation for kali-win-kex and WSL. kex --sl you should get the following errors in the log (my error log as an example): Welcome to the VcXsrv X Server OS: Windows NT 10.0 build 22000 (64-bit) LoadPreferences: C:\Users\57pat\AppData\Roaming.XWinrc not found | ||||
Additional Information | Removing, Uninstalling, and purging of Kali-win-kex doesn't work or solve the issue either. I've also tried removing .X11-unix using sudo rm -rf /tmp/.X11-unix/ That also didn't solve my issue. Here's the things I tried to fix or solve the issue. sudo kex --kill sudo apt remove kali-win-kex kex --sl --wtstart -s (This still gave me errors and it still doesn't fix the issue) This issue is the same for all types and configurations for kex --win (broken) Error connecting to the KeX server. | ||||
Attached Files | |||||
Reproduced on my Windows 10 machine. The issue appeared recently, as this was working perfectly fine for me on the same machine before Microsoft stopped supporting the native version of WSL in favor of the Microsoft Store version. I suspect this is happening because WSL now mounts /tmp/.X11-unix as read-only. More details here: |
|
I have the same problem. |
|
I have the same problem (Win-KeX in Seamless Mode can't start) with the latest version WSL from Store: WSL: 1.0.3.0 I've tried to launch Win-KeX on laptop with older version WSl and it worked. So I uninstall WSL version from Store and just using version from Windows Optional Features. https://github.com/microsoft/WSL/discussions/6108 And here is possible cause of the problem. win-kexsl_root.log (3,055 bytes)
Welcome to the VcXsrv X Server Vendor: The VcXsrv Project Release: 1.20.14.0 OS: Windows NT 10.0 build 19045 (64-bit) Contact: [email protected] LoadPreferences: C:\Users\XXX\AppData\Roaming\.XWinrc not found LoadPreferences: Loading \\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\system.XWinrc (II) AIGLX: Testing pixelFormatIndex 5 (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) AIGLX: enabled GLX_MESA_copy_sub_buffer (II) 724 pixel formats reported by wglGetPixelFormatAttribivARB (II) GLX: Initialized Win32 native WGL GL provider for screen 0 [xkb] Starting '"\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbcomp" -w 1 "-R\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbdata" -xkm "C:\Users\XXX\AppData\Local\Temp\xkb_a10336" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\XXX\AppData\Local\Temp\server-3.xkm"' failed: ������� �����. (EE) Error compiling keymap (server-3) executing '"\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbcomp" -w 1 "-R\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbdata" -xkm "C:\Users\XXX\AppData\Local\Temp\xkb_a10336" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\XXX\AppData\Local\Temp\server-3.xkm"' (EE) XKB: Couldn't compile keymap (EE) XKB: Failed to load keymap. Loading default keymap instead. [xkb] Starting '"\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbcomp" -w 1 "-R\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbdata" -xkm "C:\Users\XXX\AppData\Local\Temp\xkb_a10336" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\XXX\AppData\Local\Temp\server-3.xkm"' failed: ������� �����. (EE) Error compiling keymap (server-3) executing '"\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbcomp" -w 1 "-R\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbdata" -xkm "C:\Users\XXX\AppData\Local\Temp\xkb_a10336" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\XXX\AppData\Local\Temp\server-3.xkm"' (EE) XKB: Couldn't compile keymap XKB: Failed to compile keymap Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. (EE) Fatal server error: (EE) Failed to activate virtual core keyboard: 2(EE) (EE) Server terminated with error (1). Closing log file. win-kexsl_xxx.log (3,055 bytes)
Welcome to the VcXsrv X Server Vendor: The VcXsrv Project Release: 1.20.14.0 OS: Windows NT 10.0 build 19045 (64-bit) Contact: [email protected] LoadPreferences: C:\Users\XXX\AppData\Roaming\.XWinrc not found LoadPreferences: Loading \\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\system.XWinrc (II) AIGLX: Testing pixelFormatIndex 5 (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) AIGLX: enabled GLX_MESA_copy_sub_buffer (II) 724 pixel formats reported by wglGetPixelFormatAttribivARB (II) GLX: Initialized Win32 native WGL GL provider for screen 0 [xkb] Starting '"\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbcomp" -w 1 "-R\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbdata" -xkm "C:\Users\XXX\AppData\Local\Temp\xkb_a35920" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\XXX\AppData\Local\Temp\server-3.xkm"' failed: ������� �����. (EE) Error compiling keymap (server-3) executing '"\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbcomp" -w 1 "-R\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbdata" -xkm "C:\Users\XXX\AppData\Local\Temp\xkb_a35920" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\XXX\AppData\Local\Temp\server-3.xkm"' (EE) XKB: Couldn't compile keymap (EE) XKB: Failed to load keymap. Loading default keymap instead. [xkb] Starting '"\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbcomp" -w 1 "-R\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbdata" -xkm "C:\Users\XXX\AppData\Local\Temp\xkb_a35920" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\XXX\AppData\Local\Temp\server-3.xkm"' failed: ������� �����. (EE) Error compiling keymap (server-3) executing '"\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbcomp" -w 1 "-R\\wsl.localhost\kali-linux\usr\lib\win-kex\VcXsrv\xkbdata" -xkm "C:\Users\XXX\AppData\Local\Temp\xkb_a35920" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\XXX\AppData\Local\Temp\server-3.xkm"' (EE) XKB: Couldn't compile keymap XKB: Failed to compile keymap Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config. (EE) Fatal server error: (EE) Failed to activate virtual core keyboard: 2(EE) (EE) Server terminated with error (1). Closing log file. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-20 13:32 | nullific | New Issue | |
2022-12-20 13:32 | nullific | File Added: image.png | |
2022-12-20 13:32 | nullific | File Added: image-2.png | |
2022-12-20 13:32 | nullific | File Added: image-3.png | |
2022-12-20 15:48 | daniruiz | Assigned To | => re4son |
2022-12-20 15:48 | daniruiz | Status | new => assigned |
2023-01-12 19:57 | debigare | Note Added: 0017394 | |
2023-02-17 19:32 | palyn | Note Added: 0017524 | |
2023-02-17 19:58 | palyn | File Added: win-kexsl_root.log | |
2023-02-17 19:58 | palyn | File Added: win-kexsl_xxx.log | |
2023-02-17 19:58 | palyn | Note Added: 0017525 |