Skip to content
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

wsldhost: no connection could be made #34

Open
rsenden opened this issue Jan 15, 2024 · 0 comments
Open

wsldhost: no connection could be made #34

rsenden opened this issue Jan 15, 2024 · 0 comments

Comments

@rsenden
Copy link

rsenden commented Jan 15, 2024

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: #21 (comment).

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant