Code Monkey home page Code Monkey logo

Comments (12)

github-actions avatar github-actions commented on September 24, 2024 1

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:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

from wsl.

github-actions avatar github-actions commented on September 24, 2024 1

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:

Closed similar issues:

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.

withinboredom avatar withinboredom commented on September 24, 2024 1

No, but I'm also having massive issues with ubuntu 24. After about 10 minutes, systemd entirely locks up (took forever just to get that much information) and it seems the last windows update did it in. Super frustrating.

from wsl.

jsandr avatar jsandr commented on September 24, 2024

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
ubu

from wsl.

OneBlue avatar OneBlue commented on September 24, 2024

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.

jsandr avatar jsandr commented on September 24, 2024

Hi @OneBlue, yes wsl.exe does work.

from wsl.

OneBlue avatar OneBlue commented on September 24, 2024

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.

jsandr avatar jsandr commented on September 24, 2024

Hi,
Re-installing throws this:
install_ubu

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:
wsl_shut

from wsl.

jsandr avatar jsandr commented on September 24, 2024

Anyone else with a better idea than re-installing in loops until it starts working again ?

from wsl.

Blaksey avatar Blaksey commented on September 24, 2024

Hi @OneBlue, yes wsl.exe does work.

Ok then this is indeed an MSIX issue.

Does re-installing the latest package solve the issue ?

I'm having similar issues. Any wsl command is met with "Access is denied". If I run it from the Program Files it does seem fine but applying updates doesn't seem to resolve.
image

I've tried completely uninstalling and disabling the feature but no luck there either.

One strange thing I found is that if I go into the "Windows Subsystem for Linux" system component and then reset the component. The first command will run with WSL but after that it immediately goes back to "Access is denied" on subsequent commands. I'm using a relatively fresh Windows 11 install.

image

Example where I "reset" and then run two commands:
image

from wsl.

jsandr avatar jsandr commented on September 24, 2024

Hi, I installed windows updates KB5035942 and KB5037853 which enabled Ubuntu again.

> wsl -l
Distributions du Sous-système Windows pour Linux :
Ubuntu-24.04 (par défaut)
Ubuntu-20.04

Now I'm missing the GUI, apps like meld or gitg starts a process but remains hanging without launching a new window.

from wsl.

withinboredom avatar withinboredom commented on September 24, 2024

I wonder if this is related to a systemd bug that causes nearly the entire WSL instance to completely hang after running for about 10/15 minutes. IIRC, ubuntu 24 starts systemd by default (check in /etc/wsl.conf). I set it to false and things seem to be working much better.

from wsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.