nbdd0121 / nbdd0121/wsld

Is it possible to run 2 instances of wsld?

Open
#15 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
305
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Hello! I've been using WSLD on Ubuntu 20.04 and it's been working wonderfully! I'm wondering though if it is at all possible to run 2 instances of VcXsrv Server corresponding to 2 different distros?

I'm asking because I'm just recently trying Arch on WSL 2 and as I'm playing around with both instances of WSL, I was wondering if I could make wsld work for both instances simultaneously?

So far, I tried setting the DISPLAY of the first instance (Ubuntu) to =:0 and the 2nd instance (Arch) to =:1, but I could not make it work for the Arch instance.

One thing I checked though is that /tmp/.X0-lock for the Arch instance is not corresponding to the PID of wsld. So I'm assuming I'm doing something wrong with the setup. Or perhaps it's not possible?

Thank you and you have a great day!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. Start by reproducing the setup with Ubuntu 20.04 and Arch on WSL2, using DISPLAY values :0 and :1 and checking the /tmp/.X0-lock behavior. Done means determining whether two WSL distributions can use separate VcXsrv instances simultaneously, and documenting the supported setup or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, linux, rust, ubuntu
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.