How can I fix internet connection issues on wsl2
Just got on wsl2 and when I run sudo apt-get update I get the following error archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable. What am I missing here?Note: I am on the...
View ArticleDNS 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 ArticleDoes Ubuntu 22.04 on WSL allow setting of ECN bit to 0x01 using iptables...
root_user@mypc:~$ iptables -t mangle -A OUTPUT -p tcp -j TOS --set-tos 0x01iptables v1.8.7 (nf_tables): unknown option "--set-tos"Try `iptables -h' or 'iptables --help' for more...
View ArticleUnable to login or change password on WSL (during 'install')
I'm trying to use and install WSL in my Windows environment, but I"m getting errors in changing passwords or logging into the WSL environment.How can I get past this?
View ArticleUbuntu 20.04.6 LTS Error - vanilla install from Windows Store
I have a vanilla installatiion of Ubuntu 20.04.6 LTS from the Microsoft Store.When I run update I receive this. Can I ask for some guidance? I don't understand what the check is. Is there a way to turn...
View ArticleYour system is unable to reach the snap store
I tried to upgrade my windows ubuntu subystem to 18.10 using this instruction:https://linuxconfig.org/how-to-upgrade-ubuntu-to-18-10-cosmic-cuttlefish#h9-how-to-upgrade-ubuntu-the-debian-wayBut within...
View ArticleBlank Ubuntu when uninstalled doesn't want to get reinstalled
I first installed Ubuntu with wsl command. I thought it worked but then:Uninstalled it and tried reinstalling but then it's not working again, fan is stuck at 0:
View ArticleBash error and WSL not working
I got these error while trying to get WSL to work.<3>WSL (9) ERROR: CreateProcessEntryCommon:574: execvpe /bin/bash failed 2<3>WSL (9) ERROR: CreateProcessEntryCommon:583: Create process...
View ArticleHow to use opencv-python on WSL2 Ubuntu20.04
I have just installed a Ubuntu-20.04 on WSL2. And I installed a miniconda env with python 3.7, and then I installed opencv-python by "conda install opencv". But when I try the simplest cv2.imshow, it...
View ArticleI can't run dwm in WSL2 on Windows 11
I started learning Linux a few days ago, so please forgive my possible illiteracy.I'm trying to run dwm in WSL2 - I installed Xserver, launched VcXsrv and all the necessary packages inside WSL, namely...
View ArticleHow to recover lost 20.04.1.0 administrative password on WSL (Windows...
How do I either recover or reset my admin password in a situation where I installed Ubuntu using the Windows Subsystem for Linux? I am running Ubuntu 20.04.1.0.
View ArticleReset the password in Ubuntu / Linux Bash in Windows
I have installed Linux Bash on Windows 10 (available from Microsoft), but I've forgotten my password.I've searched for a solution but I only find suggestions that involve doing something before the...
View ArticleError moving Zone.Identifier files resulted in unknown and unmoveable file
(using WSL)I seem to have made a foolish error when finding and moving .Zone.Identifier files.I ran the command:find . -name *:Zone.Identifier -exec mv...
View ArticleWhy are the --sync and --no-sync options giving me same output in df
Why do the --sync and --no-sync options in the df command in Linux give me same output?When I first ran the --no-sync flag along with df like this:df --no-syncand then I ran the:df --sync... flag, but...
View ArticleUnable to sudo apt-get update for Ubuntu (Windows subsystem for Linux)
Err:1 http://archive.ubuntu.com/ubuntu focal InRelease Temporary failure resolving 'archive.ubuntu.com'Err:2 http://security.ubuntu.com/ubuntu focal-security InRelease Temporary failure resolving...
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 Articlelightdm can't start
I tried to use lightdm in WSL2 ubuntu, however it doesn't work. I tried reinstall lightdm and polkit. It seems like something about dbus is wrong.ubuntu:22.04.1 GUI:GNOMEding@LAPTOP-V70877ES:~$ sudo...
View ArticleCan't change directory in WSL
I recently installed the Ubuntu app in Windows. When I first installed it, it was working fine, but it won't let me change directories.When I type in cd Desktop or another cd command, it keeps sayin no...
View ArticleCan't access Desktop via Ubuntu
I am brand new to using the command line so bear with me. I am not able to access my Desktop from my root directory. The furthest I can get is /home/sam and then there isn't anything from here. I have...
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 ArticleI need help connecting serial ports to Ubuntu in WSL
I have attempted many ways of trying to connect the serial ports, but I'm not sure how as they all show input output error. The system does recognize something is connected as shown on the...
View ArticleError: Could not connect to any X display [Unable to run wireshark on Ubuntu...
I installed Wireshark in my Ubuntu for Windows WSL following these steps. It's installed correctly as wireshark --help and wireshark --version work fine.But upon running wireshark with command...
View ArticleHow do i mount a raw .VHDX file into WSL2?
I want to mount a raw made with New-VHD -Path "H:\comfyui\ComfyUI.vhdx" -SizeBytes 1000GB -Dynamic vhdx disk into WSL2 (ubuntu-22.04), i tried:how to mount .vhdx image in lubuntu(example 2 raised that...
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 Article