DNS not working on WSL
I'm currently using an Insider build of Windows 11. (22458)However, I had this problem a few times on other builds. (and wsl worked before)When I start wsl, I'm not able to do a DNS request. (Pinging...
View ArticleUbuntu WSL on Windows 10 and Zathura
I am trying to set up Zathura on Windows 10 by using Ubuntu as available from the Microsoft Store. I would like to use Zathura as my PDF viewer when writing with vim/vimtex, and am currently facing the...
View Articlesome controllers are not enabled down from /sys/fs/cgroup/user.slice
Lately, I found why rootlesspodman was not able to run container when --cpuset-cpus flag was used:$ podman run --tty=true --rm --cpuset-cpus=0-3 ubuntu:latest pwdError: runc: runc create failed: unable...
View ArticleBroken python installation for WSL2 on Windows 11
In an attempt to clear the file system on WSL2, I uninstalled python3 via sudo rm -rf /usr/bin/python3 sudo rm -rf /usr/lib/python3 sudo rm -rf /usr/local/lib/python3 In turn, I am struggling to...
View ArticleCan you run apache2 on Windows's WSL feature?
Can you run apache2 on Windows's WSL feature (Ubuntu 20.04 LTS)?Note: I tried to do it, but I get this error:lokz@JACK-PC2:~$ sudo service apache2 start * Starting Apache httpd web server...
View ArticleVS Code in WSL Fails to Find Standard C++ Headers (#include errors) Despite...
I am developing C++ code using Visual Studio Code connected to Ubuntu running under WSL 2 on Windows 11.wsl --versionWSL: 2.4.13.0Although I have installed the necessary build tools in WSL.sudo get...
View ArticleError with Ubuntu 0x8000000d An illegal state change was requested
So the problem is when I open 'Ubuntu' and 'Windows Subsystem for Linux'there is errors:'Ubuntu'WslRegisterDistribution failed with error: 0x8000000dError: 0x8000000d An illegal state change was...
View ArticleOutput from tty is different comparing to output from 'who' when on a single...
I am on WSL 2 running Ubuntu.When I open terminal, it directly logs me in without asking credentials.This is the only single terminal that is open, why do I see different output:output from...
View ArticleWSL2 MESA: error: ZINK: failed to choose pdev after glxinfo -B
Premise: I am a novice in this topicI am trying to set up my WSL to test numerical calculations (based on OpenGL) on GPUs.I have already installed CUDA, nvcc --version, nvidia-smi and glxgears all seem...
View ArticleCannot change user $PATH in WSL Ubuntu 24.04
(Please excuse my English)I installed WSL Ubuntu 24.04 on my Windows machine, and edited /etc/environment like below to change the system-wide...
View ArticleI'm unable to launch qemu after installation
so i type this command in wsl <qemu-system-x86_64> and it should open the qemu window as usual but it doesn't instead it gives this error Unable to init server: Could not connect: Connection...
View ArticleSigning mongodb key throws errors anyways
When I first installed mongodb on wsl2 it went all right except for the service. Then, when I completely uninstalled mongodb to install that again, I found some troubles in installing it.In fact, after...
View ArticleCopy-paste directory paths from Windows to Ubuntu on WSL and back? Quickest...
How to easily access a long Windows directory path from Ubuntu environment running on Windows Subsystem for Linux (WSL). For example, I want to work on files in this Windows directory (path) using...
View ArticleHow to change the default directory that WSL Ubuntu terminal (on Windows 10)...
I installed the WSL Bash on Windows 10 so it can act as my terminal in VScode, but the default directory is ~/home/USERNAMEI would like it to be /mnt/c/Users/USERNAME (so on my windows domain side)I've...
View Articlei am getting error on windows subsystem
when I switch to typing with bash on my windows laptop, it returns me an error like the one below, I searched a bit but couldn't find it and I'm very newbie, can you help me?this error :<3>WSL...
View ArticleWindows 10 WSL2 - Ubuntu - apt update with Temporary failure resolving
I'm running windows 10 with WSL2.I installed a distribution of Ubuntu 20.04.When I do sudo apt update, it's workingHit:1 http://archive.ubuntu.com/ubuntu focal InReleaseGet:2...
View ArticleI cannot open Visual Studio Code using terminal on WSL Ubuntu
I am pretty sure, I have VS code on my WSL Ubuntu. But when I run the command code to open VS code it does not seem to work. I have also tried running the following command:sudo apt installBut I get an...
View Articleapt update in WSL fails: Failed to fetch ... no such file or directory
I already updated WSL itself (as Administrator)> wsl --set-version ubuntu-20.04 2> wsl --updateWhich worked but still did not solve my problem inside the WSL Ubuntu 20.04.$ sudo apt updateReading...
View ArticleRoute POSTMAN traffic from Windows to WSL2
I'm running Ubuntu 20.04 under Windows Subsystem for Linux. I have a VPN running inside Ubuntu to access an API on a remote system.This VPN only works with a Linux client app. I want to try the API...
View ArticleInstall USB/IP on Ubuntu 22.04 on Windows Subsystem for Linux
Attempting to install USB/IP on Ubuntu 22.04 per the Microsoft docs:On Ubuntu, run this command:sudo apt install linux-tools-5.4.0-77-generic hwdatasudo update-alternatives --install...
View ArticleGetting the error 0x80370102 when trying to run WSL on Windows 11 on Mac
I installed Windows 11 on my Mac (M1) using Parallels, and on the windows machine I tried installing the Ubuntu subsystem to run Docker, so I downloaded Ubuntu (Ubuntu2004-220404) and installed it....
View ArticleWhy is the mysql-server package from mysql.com missing server files?
I'm usually not using Ubuntu, but decided to give it a try today because it's the preferred distro for Windows Subsystem for Linux, that I wanted to try today to see if/how it could replace my VMWare...
View ArticleLogging inputs and outputs in terminal without weird characters
I'm looking for a way to log all the input and output on terminal during a session, but I can't properly find an answer to do it. This this post suggested using script screen.log to do so and it seems...
View ArticleWSL doesn't seem to connect to network at all
System details:Windows 11 ProOfficial ISO image from Microsoft's website + Christitus WinUtil to create a custom image (used to remove bloatware)Problem details, to summarize the problem here are...
View ArticleMysql error "'Can't connect to local MySQL server through socket...
I'm getting the following error for a couple of commands I'm trying to run AND I don't know the password whenever I'm prompted for that. (note: I just updated my ubuntu distribution to 22.04, but I...
View ArticleAccess Windows network shares from Ubuntu shell in WSL
I'm trying to migrate from Cygwin to WSL. In bash on Cygwin, I could do things like:$ ls //servername/sharenameto access a Windows shared folder. I didn't need to mount it or anything first, it just...
View ArticleHistory navigation, autocomplete does not work in bash on Ubuntu24 WSL2...
I created a new WSL2 container of Ubuntu-24.04. Also, I made a new default user there that has a different name than my Windows user, and moved the container file to another location. In general, the...
View ArticleUbuntu not getting Installed with WSL enabled
I was trying to install Ubuntu after enabling WSL in my Laptop with Windows 11. It shows as installed but on opening it shows the following errorWslRegisterDistribution failed with error:...
View Article(WSL) Kernel module ch341 not loaded/loading automatically
I want to work with a CH340 USB-to-serial adapter from within WSL.I'm using usbipd-win to attach the USB device directly to WSL.After plugging in the device, I expect a /dev/ttyUSB0 serial port/device...
View ArticleUbuntu 18.04 fails to load in WSL2 terminal [closed]
This has just started today, when I try to load this up in my WSL2 terminal I get a blank screen that stays like that for 2 minutes or so before the following error output.Server execution failedError...
View Article