Questions tagged [windows-subsystem-for-linux]
Windows Subsystem for Linux (WSL) is a Windows feature that allows multiple Linux distributions and tools to run natively on Windows 10 and later.
1,693
questions
0
votes
0
answers
15
views
Run Cmd/Terminal commands on os system [closed]
Does anyone have an idea on how I can create a simple OS system on a USB flash drive that executes custom cmd or terminal commands and then reboots the device?
Note: I do not want any graphical ...
0
votes
1
answer
19
views
Windows 10 WSL Colors
Posted this question on stackoverflow and got trashed. Maybe this is a better site for it?
I have a win10 pc whose WSL terminal has text colors that are too bright.
Have tried WSL on other win10 ...
-1
votes
0
answers
16
views
Kali Win-KeX breaks when .wslconfig is changed
Usually, I run WSL2 with Kali Linux installed. Then, I launch the GUI with kex --esm --ip -s which provides a GUI to use Kali with. However, when I edit my .wslconfig file, and add the following two ...
0
votes
0
answers
18
views
WSL container terminates immediately once the last console is closed
I'm running WSL2 on Windows 10 22H2 (10.0.19045.4412).
After a recent WSL update I noticed a change in its behaviour: whenever the last console session (i.e. a running wsl.exe process) is closed, the ...
0
votes
1
answer
24
views
Windows 10 WSL icon replaced by a weird one
I don't know how to describe it, it is a weird one.
I think it had some errors while updating WSL so I modified the registry a little bit but I have some difficulty find that post now. It didn't ...
0
votes
0
answers
37
views
Unable to Access Jupyter Server on WSL Ubuntu from Mac on the Same Network
I have installed a Jupyter server on WSL Ubuntu on my Windows PC. My goal is to access this Jupyter server from my Mac so that I can use the GPU on my PC for TensorFlow.
Here’s my setup:
Server: ...
2
votes
1
answer
96
views
Running command with pipe and spaces on PowerShell using `wsl`
On a PowerShell (7), one can run a Linux command using: wsl grep 'test'.
How can I run a more complicated command that involves piping (on Linux/WSL) and spaces?
For example:
wsl find . -name '*.txt' |...
0
votes
0
answers
62
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 ...
2
votes
1
answer
168
views
How to fix WSL X11 Forwarding after Windows Update to 23H2
Summary
I can no longer open GUI applications from WSL. The only thing that changed recently was a new Windows update.
System Info
I am on Windows 11 Home version 23H2, build 22631.3737 Windows ...
-1
votes
1
answer
127
views
Output of hostname -I not making sense to me
I'm trying to understand networking, and I've noticed my router's local IP address is 10.0.0.1, but my computer's local ip address (found from hostname -I in a WSL shell) is 172,17.xx.xx. When I run ...
1
vote
0
answers
26
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
1
answer
21
views
Windows WSL1: How to disable all sounds?
WSL1 @ Windows 10:
How to disable all sounds / mute a WSL instance ? (for one or all distributions)
I could not find any reasonable guide to setup WSL desktop.
So stock gnome-control-center cannot ...
0
votes
1
answer
39
views
How to emulate Powershell keyboard text selection with WSL in Windows Terminal?
I'm new to using WSL and Windows Terminal. I'm running the default Ubuntu install in Windows 11 and I'm looking for a way to have keyboard text selection behave the same way it does when running ...
0
votes
1
answer
149
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 ...
1
vote
0
answers
62
views
How do I get my disk space back after uninstalling Ubuntu-24.04 from WSL2?
I'm using Ubuntu 24.04 on WSL2 on Windows 10 and I noticed that even after uninstalling the distro, I didn't get back my disk space. There was 15 GB free before installation and it's been 9.5 GB free ...