View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008183||Kali Linux||[All Projects] General Bug||public||2023-02-17 20:30||2023-02-17 21:57|
|Target Version||Fixed in Version|
|Summary||0008183: Win-KeX can't start in Window Mode with latest version WSL from Store|
|Description||Win-KeX can't start in Window Mode probably because of latest WSL updates.|
|Steps To Reproduce||kex --win --sound|
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.
|Additional Information||The bug is close to https://bugs.kali.org/view.php?id=8110, only difference is Window versus Seamless Mode.|
Here are the similar issues that I found:
I think (thanks to links above) the problem is that `/tmp/.X11-unix` is being mounted in read-only mod (from recent WSL update).
There are two temporary solution:
1.`sudo mount -o remount,rw /tmp/.X11-unix` before `kex --win --sound` helped with Window Mode, but [Seamless Mode] (https://bugs.kali.org/view.php?id=8110) didn't work.
2. So I have just rolled back to the previous version WSL2 (from Windows Optional Features) and all modes work fine
||[This](https://github.com/microsoft/WSL/issues/9126) is possible explanation of WSL changes|