-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wsld freeses after connecting(?) to wsldhost #28
Comments
If |
maybe i should use -vmid {00000000-0000-0000-0000-000000000000} -vsockport 6000 in vcxsrv launcher? |
No that works with Hyper-V VM but not WSL. Did you launch wsldhost with admin privilege? |
Could you please build something like "debugging" wsldhost.exe , with prints in right places |
also it doesn't connect until second terminal is opened. maybe it's some sort of glitch or bug in wsld or automating .profile script |
Can you try [x11]
display = 0
force = true in your config? WSL doesn't clean |
I will try. In wsld.toml, right? |
Aaaaaaand it just works!!!! Thank you so much |
One approach would be to mount |
Will try and write back with all steps. Thank you |
Hello, were you able to make a list of steps? I think I am facing the same problem you did |
@Ruborcalor , I was running into the same issue though I think mine might be related to my corporate env. So, I switched away from WSLD and am now using socat combined with vcxsrv, just got it working socat 1.7.4.1
|
@isaac84 does the |
That approach will cause all your X connections to drop when you resume from sleep, or when network status changes (the reason that I created wsld in the first place). |
I see... Then I guess I haven't been able to resolve this issue. |
@Ruborcalor No force=true didn't work for me, and as @nbdd0121 said specifying the hostname or IP is no good because that uses TCP. I could see it was trying to work VcXsrv was saying there was '1 client' when I moused over the Taskbar icon while trying to launch an X app. But the window wouldn't actually render. xterm, xset etc command would just 'hang' in the terminal. I figured it must be related to my corporate env, firewall, AV or elevated privileges it seemed like something was blocking the traffic. So discovered the other solution above as my workaround to the sleep TCP issue. |
I also don't think I'm on the very latest wsl as |
The privilege in wsl (and thus wsld) is pretty complicated. Vsock connection must be made from the user who starts wsl, and |
Steps to reproduce:
have
this version of Windows,
Ubuntu 22.04.1 LTS (GNU/Linux 5.10.102.1-microsoft-standard-WSL2 x86_64)
First i downloaded wsldhost.exe and launched it with "C:\vsock\wsldhost.exe --daemon --display localhost:6000" in powershell
launch vcxsrv with "-port 6000"
then added ".wsld.toml" with x11 option only
then added automatization code to ".profile"
"wsl --shutdown" in ps
when "debugging" echo in while cicle ended ,
call "xset q",
output:
output of standard display is below:
ofcourse wsl apps don't launch
What am i doing wrong?
The text was updated successfully, but these errors were encountered: