Win-Kex Not Working
I Know It's Only For Kali-Linux But Win-Kex Is not Working
Version Using
WSL 2.5.7
Expected Behavior
Start Win-Kex
Actual Behavior
┌──(tadeo㉿TADEOLAPTOP2)-[~]
└─$ kex
Starting Win-KeX server (Win)
Win-KeX server (Win) is stopped
Error connecting to the Win-KeX server (Win)
Please try "/usr/bin/kex start" to start the service
If the server fails to start, please try "/usr/bin/kex kill" or restart your WSL 2 session and try again
Starting Win-KeX client (Win)
┌──(tadeo㉿TADEOLAPTOP2)-[~]
└─$
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
The script will output the path of the log file once done.
If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here
Once completed please upload the output files to this Github issue.
Click here for more info on logging If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
Aslo I'm Your Biggest Fan Microsoft So Please Fix this Microsoft 🥹
(And Also Kali Linux Devs Please Fix this!)
@Coolis1362: Can you share more technical details ? What exactly is causing that service to fail to start ?
Trying to understand if this is caused by WSL, or if it should be tracked from the kali side
Here:
┌──(tadeo㉿TADEOLAPTOP2)-[~]
└─$ kex
Starting Win-KeX server (Win)
Win-KeX server (Win) is stopped
Error connecting to the Win-KeX server (Win)
Please try "/usr/bin/kex start" to start the service
If the server fails to start, please try "/usr/bin/kex kill" or restart your WSL 2 session and try again
Starting Win-KeX client (Win)
┌──(tadeo㉿TADEOLAPTOP2)-[~]
└─$
@Coolis1362: Can you share more details about why exactly the service is failing to start ? We'd need logs explaining what caused this, or an strace if there aren't.
i don't Know @OneBlue ! When I Was Stsrtting It But It Crashed I Tryed Microsft 365 Copliot To Help Me But Did Not!
Unfortunately we need a clear failure signal to diagnose this. if you don't have access to those I'd recommend raising this issue with Win-Kex directly, and reopening this one if additional help is needed from the WSL side.
Closing since there's not enough information to root cause the issue.