All Questions
Tagged with ubuntu windows-subsystem-for-linux
372
questions
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: ...
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 ...
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 ...
0
votes
0
answers
30
views
What's inside APPDATA and will it be reinstalled if WSL Ubuntu files accidentally deleted?
I was installing WSL and got some problem with the environment variables after doing nano adding 'export $PATH' to the ~/.bashrc. The WSL no longer able to do 'ls' commands nor doing anything else. ...
0
votes
0
answers
37
views
Resolving virtual host local domain
My goal
When I go to http://my-local.dev it should resolve http://localhost:3000
My configuration
I'm using Windows 11 with WSL (Ubuntu 22.04)
/etc/hosts
127.0.0.1 localhost
127.0.0.1 my-...
0
votes
0
answers
40
views
Unable to install any distros under WSL / Hyper-V
I have a newer machine that previously ran VMs without any issue, trying to install WSL and run Ubuntu and it fails, I think WSL might be hosed anyway and tried to reinstall. All updates installed. ...
1
vote
1
answer
44
views
My compiled version of Vim keeps getting replaced by a system standard version
This is a weird problem, looks impossible to me.
I'm running WSL2 (Ubuntu 22.04) on Windows 11. I want to use Vim and because of some plugins I need Vim compiled with Python support and it must be ...
0
votes
1
answer
64
views
Using Spyder IDE in WSL2, I'm Told Working Directory Does not Exist (It Does Exist)
I'm running a program in Spyder which is saved in \\wsl.localhost\Ubuntu\home\<user>\<directory. I'm able to run the program without issue - the correct output is printed to the console and I ...
0
votes
0
answers
53
views
bash sourced command silently fails under WSL2 vs direct execution from shell?
I have a Bash script which evaluates JSON file to set environment variables and creates a function
The script works fine under native Ubuntu (22.04LTS), but when you run the same script under WSL2 (...
-1
votes
1
answer
241
views
Set wsl2 to use host nameserver
I'm using wsl2 on Windows 11, and I recently encountered a problem where when I change networks, the wsl2 dns (nameserver at resolve.conf) address doesn't update, to match, and there for cannot lookup ...
2
votes
0
answers
74
views
WSL2: Graceful shutdown of MDADM and/or p9 subsystem
I am running MDADM under WSL2 (Ubuntu, kernel: Linux home 6.1.21.2-microsoft-standard-WSL2), and access files from windows applications via standard p9 interface.
Unfortunately, I cannot gracefully ...
0
votes
2
answers
566
views
Access \\wsl$\Ubuntu from a different Windows machine on network
I have a Windows 2022 Server, build 23H2 / 22631, and it runs an Ubuntu 22.04 distribution in WSL2.
If I'm on the server itself, I can access the files in this distribution using the \\wsl$\Ubuntu ...
0
votes
1
answer
166
views
In Windows 10, where is the default installation directory of the WSL2 Ubuntu distribution?
I have wsl --exported my previous version of Ubuntu and now want to import it with this command:
wsl --import <Distribution Name> <InstallLocation> <FileName>
I'd prefer to pick the ...
1
vote
2
answers
2k
views
How do I troubleshoot an unresponsive WSL2 on Windows 10?
Usually, WSL2 runs fine, but maybe once a month or two, it becomes completely unresponsive and I'm not sure why. Usually restarting the entire computer fixes it, but I'd like to know if there is any ...
0
votes
1
answer
626
views
Is it normal for Ubuntu (WSL) to take up 40GB of space?
I've tried running this to cleaning out docker images, etc… with this command:
compact vdisk
The filesystem allocation is 1007GB and only 4% is used.
How do I fix this?
All the forums and questions ...