Skip to content

wsldhost: no connection could be made #34

Description

@rsenden

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions