marchaesen / vcxsrv

Windows X-server based on the xorg git sources (like xming or cygwin's xwin), but compiled with Visual Studio 2012 Community Edition.
GNU General Public License v3.0
358 stars 14 forks source link

Failed to activate virtual core keyboard: 2 #3

Open FlyveHest opened 6 months ago

FlyveHest commented 6 months ago

I just updated to v21.1.10.0, and I am getting a an error when starting my xlaunch file which has worked fine up til now.

Failed to activate virtual core keyboard: 2

Log

Welcome to the VcXsrv X Server
Vendor: The VcXsrv Project
Release: 21.1.10.0

OS: Windows NT 6.2 build 9200 (64-bit)
Contact: marha@users.sourceforge.net

LoadPreferences: C:\Users\USERNAME\AppData\Roaming\.XWinrc not found
LoadPreferences: Loading C:\Program Files\VcXsrv\system.XWinrc
(II) IGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
[xkb] Starting '"C:\Program Files\VcXsrv\xkbcomp" -w 1 "-RC:\Program Files\VcXsrv\xkbdata" -xkm "C:\Users\USERNAME\AppData\Local\Temp\xkb_a00644" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\USERNAME\AppData\Local\Temp\server-0.xkm"' failed: The system cannot find the file specified.

(EE) Error compiling keymap (server-0) executing '"C:\Program Files\VcXsrv\xkbcomp" -w 1 "-RC:\Program Files\VcXsrv\xkbdata" -xkm "C:\Users\USERNAME\AppData\Local\Temp\xkb_a00644" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\USERNAME\AppData\Local\Temp\server-0.xkm"'
(EE) XKB: Couldn't compile keymap
(EE) XKB: Failed to load keymap. Loading default keymap instead.
[xkb] Starting '"C:\Program Files\VcXsrv\xkbcomp" -w 1 "-RC:\Program Files\VcXsrv\xkbdata" -xkm "C:\Users\USERNAME\AppData\Local\Temp\xkb_a00644" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\USERNAME\AppData\Local\Temp\server-0.xkm"' failed: The system cannot find the file specified.

(EE) Error compiling keymap (server-0) executing '"C:\Program Files\VcXsrv\xkbcomp" -w 1 "-RC:\Program Files\VcXsrv\xkbdata" -xkm "C:\Users\USERNAME\AppData\Local\Temp\xkb_a00644" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "C:\Users\USERNAME\AppData\Local\Temp\server-0.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.

Running on Windows 10 (but I think thats in the log as well)

Downgrading to the previous version I had installed, v1.20.14.0, and the server works again.

rafaelorafaelo commented 2 weeks ago

Same probleme here under Windows 11 since August 2024. I'm hit by issue #26, MS Defender silently quarantined xkbcomp.exe and vcxsrv-64.21.1.13.0.installer.exe.