microsoft / microsoft/wslg

No GUI apps start with any user (root included)

Open
#178 3 comments 0 reactions 0 assignees View on GitHub

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: Microsoft Windows [Version 10.0.21376.1]
Your Distribution version: Release:        20.04
Your WSLg version: 1.0.19

Steps to reproduce

Run any GUI application from the wsl terminal.

WSL logs:

  • Attach WSLg logs from /mnt/wslg

You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)

pulseaudio.txt
weston.txt

  • versions.txt
WSLg ( x86_64 ): 1.0.19+Branch.main.Sha.2a47bf20c239b523d7413f315cbc9ee60dfde831
Mariner: VERSION="1.0.20210224"
FreeRDP: 5f083fa0b97d433d6204985f6047886e29c1c61e
weston: 16de531f00aa3dfd17e0de74c8f49e9fd7cec617
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5
mesa:

Expected behavior

A graphical application (like xclock, gedit etc) should start when called from the wsl terminal.

Actual behavior

None of the applications run. The wsl terminal gets blocked but nothing else happens.

Contributor guide

Open the contributing guide

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

Start by reproducing the issue from a WSL terminal with a GUI application such as xclock or gedit, then inspect the attached pulseaudio.txt and weston.txt logs under /mnt/wslg along with versions.txt. Done means GUI applications start for users, including root, without blocking the terminal.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.