WSLHostPatcher icon indicating copy to clipboard operation
WSLHostPatcher copied to clipboard

No longer works with WSL2 2.0

Open kenvix opened this issue 1 year ago • 1 comments

Hello,

Recently I upgraded my WSL2 to latest stable version, and unfortunately I found that WSLHostPatcher no longer works with latest version.

WSL version: 2.0.9.0
Kernel version: 5.15.133.1-1
WSLg version: 1.0.59
MSRDC version: 1.2.4677
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.19044.3693

Although there is no error message, no port can be accessed from remote host.

# WSLHostPatcher.exe
Dll path: C:\Portable Softwares\EXE\WSLHostPatch.dll
Found 5 WSL host

Is there any idea to deal with this?

kenvix avatar Feb 09 '24 05:02 kenvix

It still works for me in WSL2. It doesn't have any error message even it fails to inject dll, so maybe add some error messages and build the project yourself.

WSL version: 2.1.5.0
Kernel version: 5.15.146.1-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3374

zeze-zeze avatar Apr 07 '24 04:04 zeze-zeze