wslg didn't install usefully in Windows 11
Open
Nobody has claimed this yet.
bug
- Dominant language
- C++
- Stars
- 11.9k
- Forks
- 429
- PR merge metrics
- No merged PRs in 30d
Description
Environment
Windows build number: [Version 10.0.22000.132]
Your Distribution version: Ubuntu 20.04.2 LTS
Your WSLg version: Windows subsystem for linux WSLg Preview 1.0.26
Steps to reproduce
WSL logs:
- here is the feedback hub entry
- Attach WSLg logs from
/mnt/wslg: sadly the mount point in question does not exist. If it does, I would have a working installation.
Expected behavior
- start on the dev preview channel
- upgrade the computer
- run all windows updates and reboot a lot
- do wsl --update and wsl --shutdown from powershell
- do sudo apt update and sudo apt upgrade from Ubuntu
- Add the following to my [wsl2] section in .wslconfig: guiApplications = true
- be able to run an X app or see the
/mnt/wslgdirectory
Actual behavior
- do steps 1-6 above
- the
/mnt/wslgdirectory doesn't exist - running any X apps returns
Error: Can't open display: :0
PS C:\Users\deborah> wsl --list -v
NAME STATE VERSION
* Ubuntu Running 2
docker-desktop-data Running 2
docker-desktop Running 2
504$ ls -al /mnt
total 16
drwxr-xr-x 4 root root 4096 Mar 9 20:14 .
drwxr-xr-x 23 root root 4096 Aug 17 13:22 ..
drwxrwxrwx 2 root root 4096 Mar 9 20:14 c
drwxr-xr-x 2 root root 4096 Mar 9 20:14 wsl
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the detailed-log instructions in CONTRIBUTING.md and the linked Feedback Hub entry, then reproduce the listed Windows 11, WSL, Ubuntu, and .wslconfig steps. Done means the installation creates /mnt/wslg and X applications no longer return "Can't open display: :0".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, ubuntu
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100