Store WSL isn't accessible from Session 0
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
### Version
Multiple versions are affected
### WSL Version
- [x] WSL 2
- [x] WSL 1
### Kernel Version
_No response_
### Distro Version
_No response_
### Other Software
_No response_
### Repro Steps
Store WSL currently isn't accessible from session 0 contexts.
This means that it's not possible to interact with WSL from remote sessions such as ssh or psremote.
If wsl.exe is called from session 0, it will exit and display:
```
Access is denied.
```
on stdout.
Contributor guide
Research direction
Start by reproducing the `wsl.exe` access-denied behavior from a Session 0 context, such as an SSH or PowerShell remoting session. Trace the Store WSL launch path to identify where Session 0 access is rejected; done means WSL can be invoked successfully from those remote contexts for both WSL 1 and WSL 2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100