However, all X11 applications fail with Error: Can't open display: :0. Manually starting wsldhost.exe on the Windows side shows this error when wsld tries to connect: Error: No connection could be made because the target machine actively refused it. (os error 10061).
From what I understand, wslhost.exe by default tries to connect to 127.0.01:6000, but netstat doesn't show anything listening on that port. Do I need to use a different port for the WSLg built-in X Server?
Trying to make this work with the X Server provided by wslg; if possible I'd like to avoid a 3rd-party X Server.
To be able to successfully start wsld, I needed to apply the systemd unit file as described here: https://github.com/nbdd0121/wsld/issues/21#issuecomment-1345530909.
However, all X11 applications fail with
Error: Can't open display: :0
. Manually starting wsldhost.exe on the Windows side shows this error when wsld tries to connect:Error: No connection could be made because the target machine actively refused it. (os error 10061)
.From what I understand, wslhost.exe by default tries to connect to 127.0.01:6000, but netstat doesn't show anything listening on that port. Do I need to use a different port for the WSLg built-in X Server?