How to disable IPv6 on Windows Subsystem for Linux?
I tried to disable IPv6 by adding in /etc/sysctl.conf:net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1net.ipv6.conf.lo.disable_ipv6 = 1and then running sudo sysctl -p to reload...
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 ArticleBack screen with Remote Desktop when setting up KUbuntu 24.04 on WSL 2.3.26.0...
I'm trying to install KUbuntu 24.04 on WSL on my Windows 11 machineThe idea would be to connect to KUbuntu using the "usual" Remote Desktop clientMy configuration is almost done; when I connect, I get...
View Articlewsl false positive? [closed]
Installed wsl2 on windows and downloaded official distro of Ubuntu 24.04.1 LTS from microsoft store. Virustotal shows 2 postives on ubuntu2404.exe. Ubuntu updating correctly, also hybrid-analysis shows...
View ArticleHow to install git on Windows Subsystem for Linux (WSL and WSL2)?
As explained here, on Windows Subsystem for Linux I can do many many things using the command line. I am wondering if it is possible to install Git. I have tried using sudo apt-get install gitbut 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 ArticleUnable to Update Ubuntu 16.04 on WSL and Install GCC (404/403 Errors) [closed]
I am using Ubuntu 16.04 on WSL (Windows Subsystem for Linux). However, I am facing the following issues:I am unable to update or install packages due to 404 Not Found and 403 Forbidden errors.The gcc...
View ArticleGoogle Drive's virtual disk sometimes has weird permissions that make it...
I'm running Ubuntu 22.04 through WSL 2, and I have Google Drive through Windows 11 which creates a virtual disk on G:. I have the drive mounted in WSL at /mnt/g. Sometimes, I think because of the...
View Articleapt-get update not working in Ubuntu 20.04 WSL1
So I recently installed Ubuntu WSL1 in my company PC and ran this command to update my installation, It seems ping is successful but "apt-get" fails to connect and download. I need some help here to...
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 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 ArticleError while running make install: cannot change permissions of [directory]:...
trying to install a package for Coq proof assistant, I have already had to jump through a couple hoops with it not playing nicely with Windows and am trying to install it on WSL. I get the following...
View ArticleCapturing webcam video with OpenCV in WSL2
I am trying to access my webcam through OpenCV in WSL2 (Ubuntu). I found this blog post where it explains how to connect USB devices to WSL2. Running usbipd wsl list in windows command prompt lists the...
View ArticleDoes WSL2 Support lsusb?
I am trying to run lsusb commands on wsl2 with Ubuntu 20.04, no output is showingWhilelsusb -V command gives output- lsusb (usbutils) 012lsusb -t command gives output- /sys/bus/usb/devices: No such...
View ArticleWSL: when I try to use GUI package get error "Can't open display"
I'm running through the tutorial on: https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-11-with-gui-support#5-install-and-use-a-gui-packageAfter installing X11 applications I try to follow...
View ArticleNot at home after login
I have installed Ubuntu 22.04 in WSL2. I expect that the bash shall be started in the home directory that I find in /etc/passwd asharper:x.1000:1000:,,,,:/home/harper:/bin/bashBut after starting wsl -d...
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 ArticleWSL problem with Ubuntu Linux
I encountered this error today (I opened the same folder yesterday and it worked just fine). Can't open either of the folders. I am the only user and in Windows settings I am administrator. Restarting...
View ArticleHow to use fcitx in wslg on win11?
WSLg on Windows 11 can run Linux GUI.The writing method in Linux GUI (e.g. gedit) is different from the Windows input methodsI installed fcitx, but there are several problems:the icon doesn't show on...
View Articleusbip not finding usb devices on WSL
This command/usr/lib/linux-tools/5.4.0-204-generic/usbip list --localis returning no listed devices (and no errors), even though I have a Ledger Nano S plugged in and running the wallet app. I should...
View Article