Comments (8)
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
The scipt will output the path of the log file once done.
Once completed please upload the output files to this Github issue.
Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
View similar issues
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Open similar issues:
- Receive "Access is Denied" error message when attempting to run WSL (#10475), similarity score: 0.73
Closed similar issues:
- Access is denied after doing wsl --update (#8055), similarity score: 0.75
- After installing latest WSL, get Wsl/E_ACCESSDENIED when trying to start/use WSL (#9834), similarity score: 0.75
- E_ACCESSDENIED when trying to install new distro (#9326), similarity score: 0.74
- WSL Access is denied (#7426), similarity score: 0.73
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from wsl.
View similar issues
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Open similar issues:
- Receive "Access is Denied" error message when attempting to run WSL (#10475), similarity score: 0.73
- wsl.exe fails with "Access is denied" (#4920), similarity score: 0.73
Closed similar issues:
- After installing latest WSL, get Wsl/E_ACCESSDENIED when trying to start/use WSL (#9834), similarity score: 0.78
- Access is denied after doing wsl --update (#8055), similarity score: 0.76
- E_ACCESSDENIED when trying to install new distro (#9326), similarity score: 0.75
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Diagnostic information
Issue was edited and new log file was found: https://github.com/microsoft/WSL/files/15218242/WslLogs-2024-05-06_10-09-13.zip
Detected appx version: 2.2.4.0
from wsl.
Similar issues seems to all have been closed without author answers.
Launching Ubuntu from the store does not work either.
I just found out that I can run the wsl program but not the 'ubuntu' one.
Inside wsl I could check my version:
jsandr@SST-JSA:~$ uname -a
Linux SST-JSA 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
As shown in this screenshot I was able to run wsl but not ubuntu
from wsl.
Thank you @jsandr.
Looking at the logs, this looks like the MSIX installation might be broken, but I wonder if you can call wsl.exe directly.
Does calling: C:\Program Files\WSL\wsl.exe work ?
from wsl.
Hi @OneBlue, yes wsl.exe does work.
from wsl.
Hi @OneBlue, yes wsl.exe does work.
Ok then this is indeed an MSIX issue.
Does re-installing the latest package solve the issue ?
from wsl.
Hi,
Re-installing throws this:
As any wsl commands are refused I could not un-register Ubuntu 24, so I went to 'add or remove apps' and uninstalled both Ubuntu 20 and 24. Removed all startup calls to wsl or terminal. Rebooted then tried install via the .msi
After it failed I went to the store, installed Ubuntu 24 again (it worked ?!). Now I'm back with an Ubuntu 24 app but still unable to launch it directly.
Only noticeable difference is that now when trying to launch a wsl command via powershell this is the answer I have:
from wsl.
Anyone else with a better idea than re-installing in loops until it starts working again ?
from wsl.
Related Issues (20)
- cloud-init aborted by WSL 'watchdog' HOT 12
- Failed to connect to bus: No such file or directory HOT 4
- Files created with WSL distro to Windows drive are corrupted HOT 13
- Unable to correctly set the locale on Fedora-based distributions. HOT 3
- Can ping $(localhost).local but cannot curl HOT 4
- Can't remove windows susbystem for linux HOT 2
- WSL2 is outdated on Windows 11's Release Preview Channel HOT 4
- MPV playback fails on WSL with various audio and video errors HOT 3
- wsl2的ipv6无法访问 HOT 4
- WSL spawns an extra shell process HOT 7
- page allocation failure, Wsl/Service/0x8007274c HOT 1
- segmentation fault when launching python in conda HOT 4
- Unable to use macvlan on Ubuntu created with WSL2 HOT 2
- Enables mac address spoofing for WSL HOT 2
- Can't install any distribution on WSL2 on Windows 11 Pro HOT 7
- WSL2 corrupts the git index on a mounted file system HOT 16
- Docker service running in wsl accessible on LAN but not host HOT 4
- apt dist-upgrade is too slow - kali linux - WSL 2 HOT 3
- When connecting via SSH on Windows, I am unable to run WSL. HOT 2
- "WSL Service" service changes to disabled within 60 seconds of a reboot HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.