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 ArticleWSL 2 Won't Run Ubuntu - Error 0x80370102
Today, I decided to upgrade from WSL 1 to WSL 2. On WSL 1, I had no issues getting both Kali Linux or Ubuntu to function on WSL 1. When upgrading to WSL 2, both Kali and Ubuntu failed to upgrade to...
View ArticleIssues with version control for UBUNTU 20.04 and 22.04
I have a computer that had ubuntu 20.04 installed on a Windows OS, the ubuntu 20.04 app was uninstalled, but under the Linux folder in Windows "Documents" under the Linux section there is a folder...
View ArticleDeleted all users in WSL
I seem to have accidentally deleted all users on my WSL Ubuntu 20.04 LTS setup. Now, I've created a new user "tetemp" which I wish I hadn't done. Unfortunately, I cannot add a user "root" back.Here's...
View Articlewsl start ubuntu fail,error: 0x80370102
Installing, this may take a few minutes...WslRegisterDistribution failed with error: 0x80370102Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the...
View ArticleWsl2 ubuntu terminal unfocused on start
When I boot my computer and open WSL2 Ubuntu, its terminal opens just fine. However, it is not focused so I need to hit Alt + TAB to be able to use it. This is a bit annoying specially with windows...
View ArticleStarting WSL Ubuntu fails with error: 0x80370102
Installing, this may take a few minutes...WslRegisterDistribution failed with error: 0x80370102Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the...
View ArticleCan't see files/dirs within a USB drive, within WSL?
I have a redirected USB drive from a Windows 11 PC into an RDP Windows 10 guest (mounted as drive J:) running WSL; when I view drive J: in Windows Explorer in that guest I see all of it's files;...
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 ArticlePython 3.8 + Pip on WSL
I've being looking around on the internet and either nobody else has this problem, or nobody else can solve it. I used the deadsnake repository to use Python 3.8, which seems to work, but when I try to...
View ArticleUbuntu 22.04 Installation error from Microsoft Store
I installed Ubuntu 22.04.3 on my Windows from the Microsoft store. it was working fine. Then I uninstalled it a few days after installation. Even after uninstallation, I can see the folder in the left...
View ArticleSystem has not been booted with systemd as init system (PID 1). Can't operate
I use WSL2 on Windows 11. I want to run the systemctl command in Ubuntu 20.04, but it gives me the following error:System has not been booted with systemd as init system (PID 1). Can't operate. Failed...
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 ArticleMy sudo apt install command is weird after following some instruction
I'm using WSL and I want to download libpng. And so, initially I typed:sudo apt -y install libpng-devand it worked until it returned cannot access archive.ubuntu or something like that (I don't...
View Article\\wsl.localhost is not accessible. Open folder error
I want to access wsl folder in File Explorer however I got this error\wsl.localhost is not accessible. You might not have permission touse this network resource. Contact the administrator of this...
View ArticleHow do I fix issues resolving internet on ubuntu 20.04 for WSL 2
I am getting the following errors when trying to run apt-get update and install a needed package to my WSL 2 Ubuntu 20.04 instance:<redacted>:~$ sudo apt-get update && sudo apt-get...
View ArticleBroken/corrupted apt and dpkg after trying to do a release upgrade which...
So after running do-release-upgrade, the process failed prompting me to abort or resurrect this window (I don't remember what exactly was shown as an error and I can't replicate it because it's not...
View ArticleUbuntu desktop does not install [duplicate]
I have installed Ubuntu under wsl. I am now trying to install Ubuntu desktop. I have tried several times. I get many errors such as: Failed to preset unit. Transport endpoint is not connected.Now stuck...
View Articlesudo ./get_folder.sh no such file or directory
I'm following an instruction guide in order to install programs on ubuntu 20.04 LTS WSL.However, the error occurs when asked to write the line "sudo ./get_folder.sh"/usr/local/bin/test$ sudo...
View ArticleSending NGINX logs to a remote syslog server
How to write Nginx configuration on /etc/rsyslog.conf to forward Nginx logs to another server?I write this configuration for rsyslog but I think it's not completely right:
View Article