I 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 ArticleUpgrade from plucky to questing failing on WSL [closed]
I get the error response below. Tried a few different methods to clear this but still no good.Get:1 Upgrade tool signature [833 B]Get:2 Upgrade tool [957 kB] Fetched 958 kB in 0s (0 B/s)...
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 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 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 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 ArticleHow to access Windows files from Linux in WSL?
I'm starting to learn how to use the terminal with Ubuntu on WSL (Windows).Just from the very beginning of the course it says that if you use the ls command it should show you your "home" directories,...
View Articlemulti-core CPU usage
I am using the Windows Subsystem for Linux (WSL), and I am unexperimented in the capabilites of linux.Recently, I've been wanting to get better insight in the CPU usage of processes, but I am getting...
View ArticleHow to install dirbuster in WSL?
I'm new user to WSL on Windows 11. I try to install dirbuster with the following command, but the package not available. Where can I download the package? And, where shall I save the package?How can I...
View Article