Results 1 to 4 of 4

Thread: Seamless mode seems to be not working in my Win-Kex 2.0

  1. #1
    Join Date
    2020-Aug
    Posts
    3

    Seamless mode seems to be not working in my Win-Kex 2.0

    Hi all,
    I recently updated a WSL2 Kali installation to get the new Win-Kex 2.0.
    I used sudo apt upgrade && sudo apt install -y kali-win-kex and everything seemed to work fine.
    Now, in windows mode I can log-in without any issue as before, while in seamless mode I can't.
    Sometimes (normally at the beginning) I get:
    Checking /home/<name>/.cache/sessions/xfce4-session-<IP>:0 Enabling SL mode
    Waited 100 seconds for desktop, giving up
    Saving Win-KeX SL session
    Started Win-KeX SL
    I tried also with option -w but without success.

    Sometimes, e.g. if I first login in windows mode and then exit the viewer, trying to connect again with --sl I get:
    Checking /home/<name>/.cache/sessions/xfce4-session-<IP>:0
    Enabling SL mode
    Desktop started after 1 seconds, enabling transparency now
    Unable to init server: Could not connect: Connection refused
    Failed to parse arguments: Cannot open display

    The /tmp/win-kexsl-log reports:
    Cannot move old log file "/tmp/win-kexsl.log" to "/tmp/win-kexsl.log.old"
    _XSERVTransSocketCreateListener: failed to bind listener
    _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
    _XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet6
    _XSERVTransSocketCreateListener: failed to bind listener
    _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
    _XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet
    (EE)
    Fatal server error:
    (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
    (EE) Server terminated with error (1). Closing log file.




    Is anybody able to help me?

  2. #2
    Join Date
    2020-Dec
    Posts
    1

    I am having the same issue.

    I am having the exact same issue as you. I understand this post is almost half a year old, but did you ever find a fix? Here is a screenshot of my console output. I can run windowed fine, but seamless is not working. Please get back to me if you find a way to fix this. Thanks.



    Quote Originally Posted by filo View Post
    Hi all,
    I recently updated a WSL2 Kali installation to get the new Win-Kex 2.0.
    I used sudo apt upgrade && sudo apt install -y kali-win-kex and everything seemed to work fine.
    Now, in windows mode I can log-in without any issue as before, while in seamless mode I can't.
    Sometimes (normally at the beginning) I get:
    Checking /home/<name>/.cache/sessions/xfce4-session-<IP>:0 Enabling SL mode
    Waited 100 seconds for desktop, giving up
    Saving Win-KeX SL session
    Started Win-KeX SL
    I tried also with option -w but without success.

    Sometimes, e.g. if I first login in windows mode and then exit the viewer, trying to connect again with --sl I get:
    Checking /home/<name>/.cache/sessions/xfce4-session-<IP>:0
    Enabling SL mode
    Desktop started after 1 seconds, enabling transparency now
    Unable to init server: Could not connect: Connection refused
    Failed to parse arguments: Cannot open display

    The /tmp/win-kexsl-log reports:
    Cannot move old log file "/tmp/win-kexsl.log" to "/tmp/win-kexsl.log.old"
    _XSERVTransSocketCreateListener: failed to bind listener
    _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
    _XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet6
    _XSERVTransSocketCreateListener: failed to bind listener
    _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
    _XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet
    (EE)
    Fatal server error:
    (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
    (EE) Server terminated with error (1). Closing log file.




    Is anybody able to help me?

  3. #3
    Join Date
    2021-Apr
    Posts
    1
    I am having same issue
    Quote Originally Posted by filo View Post
    Hi all,I recently updated a WSL2 Kali installation to get the new Win-Kex 2.0.I used sudo apt upgrade && sudo apt install -y kali-win-kex and everything seemed to work fine.Now, in windows mode I can log-in without any issue as before, while in seamless mode I can't.Sometimes (normally at the beginning) I get: Checking /home//.cache/sessions/xfce4-session-:0 Enabling SL mode Waited 100 seconds for desktop, giving up Saving Win-KeX SL session Started Win-KeX SLI tried also with option -w but without success.Sometimes, e.g. if I first login in windows mode and then exit the viewer, trying to connect again with --sl I get: Checking /home//.cache/sessions/xfce4-session-:0 Enabling SL mode Desktop started after 1 seconds, enabling transparency nowUnable to init server: Could not connect: Connection refusedFailed to parse arguments: Cannot open displayThe /tmp/win-kexsl-log reports:Cannot move old log file "/tmp/win-kexsl.log" to "/tmp/win-kexsl.log.old"_XSERVTransSocketCreateListener: failed to bind listener_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed_XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet6_XSERVTransSocketCreateListener: failed to bind listener_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed_XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet(EE) Fatal server errorEE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) (EE) Server terminated with error (1). Closing log file.Is anybody able to help me?

  4. #4
    Join Date
    2020-Feb
    Location
    I am here.
    Posts
    3
    I'm having a very simillar issue to this, on Windows 11/WSL2/Kali where VcXsrv errors out with an issue failed to activate virtual core keyboard: 2 and the log reports as follows:
    Welcome to the VcXsrv X Server
    Vendor: The VcXsrv Project
    Release: 1.20.14.0

    OS: Windows NT 10.0 build 22000 (64-bit)
    Contact: [email protected]

    LoadPreferences: C:\Users\rx8dr\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) 670 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\rx8dr\AppData\Local\Temp\xkb_a04720" -em1 "The XKEYBOARD keymap>(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\rx8dr\AppData\Local\Temp\xkb_>(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\rx8dr\AppData\Local\Temp\xkb_a04720" -em1 "The XKEYBOARD keymap>(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\rx8dr\AppData\Local\Temp\xkb_>(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.
    Anybody seen this before or have any solutions?

Similar Threads

  1. Win-Kex Seamless mode issue.
    By ajkelsey in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2022-10-31, 02:34
  2. No audio in Win-KeX, in seamless and window mode.
    By Mazmuth in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2022-07-28, 08:54
  3. Replies: 1
    Last Post: 2021-02-07, 15:12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •