Questions tagged [wsl2]
WSL2 is the second release of the Windows Subsystem for Linux, a feature of Windows which enables multiple Linux distributions and tools to run natively in Windows.
646
questions
0
votes
0
answers
17
views
WSL does not have an access to the WiFi hotspot network
I have a running UDP server in the WSL Ubuntu instance.
I need to make it public for the network of the WiFi hotspot on Windows side.
But when I activated the hotspot there is no access to its local ...
0
votes
0
answers
30
views
Kali Linux Postgresql Metasploit DB Fails to Start
I currently have 3 versions of postgres installed, 14, 15, 16. All 3 are actively running and can be accessed from user postgres on ports 5432, 5433, and 5434.
When running sudo msfdb status it ...
0
votes
2
answers
39
views
Release files in WSL2 are invalid
I am trying to install some things I need in WSL2 on Windows 11 (new computer). This has not been a problem in the past and WSL2 generally work pretty well.
I run into this problem:
johan@computer:~$ ...
1
vote
0
answers
18
views
How to automatically mount a removable USB device in a Docker Desktop Linux container
Problem: I want to run a Linux container via Docker Desktop, and have a removable device (e.g. USB stick) automatically mount within the container, when it's inserted.
Up until now, I've been using ...
0
votes
0
answers
48
views
No available connections in WSL2 + Ubuntu + KDE
I use:
Windows 10 Pro (ver. 22H2 19045.4529)
WSL2 (wsl --set-default-version 2)
Ubuntu 22.04
KDE Plasma 5.24.7 (sudo apt install kde-plasma-desktop)
Kernel 5.15.153.1-microsoft-standard-WSL2 (64-bit)
...
0
votes
1
answer
21
views
Building and openning Win app on WSL : Not always running the last one [closed]
I have a build environment on WSL2 (linux debian) for compiling C++ code for Windows (with mingw) and running them.
After the build succeed I run the windows executable from the wsl bash console (./a....
0
votes
1
answer
93
views
WSL No Internet Connection (Ubuntu, Windows 11)
Clear Network/Internet Connection Problem:
ping google.com returns ping: google.com: Temporary failure in name resolution
pip install streamlit or other packages return network error message; same ...
0
votes
2
answers
96
views
Add Epson network printer to CUPS
Could somebody kindly tell me ho to add an Epson network printer, for which I installed the drivers, by CUPS (under WSL2)?
The printer URI, given by the printer backend itself, is https://192.168.1.6:...
1
vote
0
answers
90
views
How could I have VScode on Windows 10 with the default terminal changed to WSL2 Ubuntu-24.04 like a native linux distro?
I'm trying to have inside VScode for Windows 10 (Microsoft Windows [versão 10.0.19045.4474]) options to change the terminal from default to another one such WSL2 Ubuntu 24.04.
I have installed ...
0
votes
0
answers
38
views
Can't run Windows WSL [duplicate]
Suddenly something must have changed on my machine so that WSL has stopped working. I even installed a new distro, it booted the first time and now it doesn't either. The moment I try to run any wsl ...
0
votes
1
answer
123
views
Ubuntu 24.04 WSL2 distribution failed to install on Windows 10
Had a working copy of default Ubuntu distribution on my Windows 10 Enterprise work laptop. I seemed to have messed up when trying to build custom kernel to enable nested-virtualization support, which ...
0
votes
0
answers
44
views
Can't save CSV file from Excel (Windows 11, MS Office Home and Business 2019) to WSL 2 folder
I have an Excel file (MS Office Home and Business 2019, running under Windows 11) that I want to save as CSV file in a WSL folder underneath my WSL home folder. WSL is running as version 2 with Ubuntu ...
0
votes
1
answer
228
views
Disable side channel mitigations for all virtual machines
After enabling WSL-2 under Windows 10 VMWare Workstation (Version 17.0.2 build-21581411) runs all virtual machines with side channel mitigations enabled.
Even after disabling the features Hyper-V and ...
-1
votes
1
answer
32
views
Execute windows exe files on wsl after metadata,umask=022, fmask=111
WSL can't run any exe files after I added options = "metadata,umask=022,fmask=111" to wsl config. The reason I did this is so I can share ssh keys from a parent windows machine. So I would ...
0
votes
0
answers
34
views
Launching Windows apps from WSL2 with foreground process control
I'm using WSL2 on Windows 11 and I'm trying to achieve the following: I want to launch Windows applications from within WSL2 and have the Bash terminal maintain a handle to the new process. ...