Results 1 to 2 of 2

Thread: WSL - KEX - Window Mode

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2022-Jun
    Posts
    1

    WSL - KEX - Window Mode

    Hi guys,

    So, I was using Kali Linux with WSL2 on my W11 laptop but i had a problem with W11 and had to reinstall. After this I can't get kali to work again (at least not at the same way).

    Before reinstall W11 I was able to use Win Kex fully (SL Mode, Window Mode and ESM Mode) but after reinstall it doesn't work.

    The only mode that is running is SL mode, but very slowly. If i try to just run kex command it give me an error. If i try "kex --win -s" it give another error, and I don't know what to do anymore.

    All the posts I've fond on the internet say the same thing and I already use all the commands they post but nothing works.

    This message below appear when i ran "kex --win -s" for the first time:
    Code:
            A WSLg socket exists that prevent KeX from starting.
    
            Moving the socket now. This will not adversely affect WSL or KeX.
    Password:
    Password not changed
    
    
    Error connecting to the KeX server.
    Please try "kex start" to start the service.
    If the server fails to start, please try "kex kill" or restart your WSL2 session and try again.
    But when I try now appears an poup-up of Tiger VNC saying:

    Code:
    Failed To connect to "127.0.0.1:1": 
    Unable to connect to socket: No connection can be done because the destiny machine refused actively. (10061)
    And this is what appear when i run "kex --sl -s":
    Code:
            Checking /home/hacklab/.cache/sessions/xfce4-session-172.26.16.1:3
            Enabling SL mode
            Desktop started after 29 seconds, enabling transparency now
            Saving Win-KeX SL session
            Started Win-KeX SL
    If i run "kex --kil" or kex --stop looks like something happens, but no output shown.

    I'm using VcXsrv (the same I was using before reinstall W11).

  2. #2
    Join Date
    2021-May
    Location
    UK
    Posts
    782
    There are other places to get relevant info;

    https://unix.stackexchange.com/quest...n-refused10061

Similar Threads

  1. Error: no suitable video mode found. Booting in blind mode
    By ig4b10 in forum Installing Archive
    Replies: 0
    Last Post: 2023-06-05, 10:31
  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: 0
    Last Post: 2020-09-20, 19:31
  4. Replies: 1
    Last Post: 2020-05-19, 18:57
  5. Replies: 0
    Last Post: 2014-08-20, 07:38

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
  •