Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Browsing all 2795 articles
Browse latest View live

Installing Screaming Frog (.deb package) on WSL

I am running a Windows 10 computer with Ubuntu 18.04 running via the Windows Subsystem for Linux. I am trying to install an SEO spider, Screaming Frog, so that I can run it in headless mode and run...

View Article


Broken compiler: fatal error: _mingw.h: No such file or directory

I have broken my compilation and not sure if it is possible to fix it without reinstalling everything from scratch.I cannot compile the simplest program:#include "math.h"int main(){ return 0;}It...

View Article


Image may be NSFW.
Clik here to view.

Capturing 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 Article

Accidentally typed node . instead of code . to open VS Code via WSL and it's...

I accidentally typed node . instead of code . to open VS Code via WSL and when I typed code . again it will not open VS Code no more. Does anyone know how I can fix this? After typing code . normally...

View Article

Error: Can't open display: localhost:0

I am unable to run any of xorg's GUI applications such as xcalc, xclock etc on my local WSL Ubuntu 20.04.2 LTS. On running I am getting the following error message: Error: Can't open display:...

View Article


Image may be NSFW.
Clik here to view.

How to solve "The repository does not have a Release file" error on Ubuntu...

I'm having trouble with Ubuntu 22.04 LTS on WSL. I want to install ROS2, but I'm getting the errors below when I run sudo apt update and I have no idea how to proceed further:

View Article

Is it recommended to move all windows software and personal files over to the...

I just started studying robotics and started looking into the Linux world since a lot of people were recommending it. But I was dependent on a lot of Windows software which had terrible support in...

View Article

Image may be NSFW.
Clik here to view.

Ubuntu on wsl always "fails to fetch" whenever I'm trying to download to it....

I'm just starting out on Linux (working on WSL since it's probably the simplest option for me), as I'm trying to run the Community Multiscale Air Quality modeling system. This requires a compiler, but...

View Article


Upgrade WSL Ubuntu (18.04) without removing snapd?

I tried to upgrade my Ubuntu WSL on Windows 10 to later Ubuntu as it had older 18.04 currently. But it failed with aborting error without additional information. I found online that others had removed...

View Article


WSL ubuntu won't reinstall

More WSL than Ubuntu issue.Following a post on https://github.com/microsoft/WSL/issues/8260#issuecomment-1095332420, but in summary, deleted a wsl1 ubuntu repo then next day my wsl2 ubuntu 20.04...

View Article

Tilde not working on Ubuntu I installed on Windows 11

I installed Ubuntu on my Windows 11 and I've been trying to use Tilde on the terminal, but it keeps giving me an error. cd ../Pictures takes me to the Pictures directory, but cd ~/Pictures says:No such...

View Article

Upgrade Ubuntu in WSL2 from 20.04 to 22.04

I'm new to WSL2-Ubuntu. My computer already had preisntalled the 20.04 version, but I saw there's already the 22.04 version, so I was wondering if it was worthy to have the new one. If so, how can I...

View Article

WSL+Ubuntu 18.04: `ssh` or `apt update` gets “Temporary failure resolving...

I have seen and searched through tons of threads on similar issues, but still couldn't find how to solve mine.Win10 1709 build 16299.61 (cannot update to newest as updates are controlled by IT) After I...

View Article


WSL installation is failing with error code 0x80248014

My WSL installation on windows10 is failing with below error code .>wsl.exe --install -d UbuntuInstalling: UbuntuAn error occurred during installation. Distribution Name: 'Ubuntu' Error Code:...

View Article

Image may be NSFW.
Clik here to view.

Error installing cuda_12.2.2_535.104.05_linux.run in WSL2

This is my version of Ubuntu:PS C:\WINDOWS\system32> wsl --list --verbose NAME STATE VERSION* Ubuntu-22.04 Running 2This is my gcc version:zhao@ZhaoYH:~$ gcc --versiongcc (Ubuntu...

View Article


Error 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 Article

Ubuntu & NGINX Web Server - Multiple Subdomains to Log In To phpMyAdmin

I'm trying to have 2 separate subdomains from 2 different websites have access to logging into the same phpMyAdmin.I'm not sure how to set up the phpmyadmin.conf file so that NGINX knows how to forward...

View Article


Too many network interfaces in wsl ubuntu

When I entered the command ip addr, the output is as follows:8: eth0: <> mtu 1500 group default qlen 1 link/ether 50:5b:c2:cc:e0:98 inet 169.254.33.236/16 brd 169.254.255.255 scope global dynamic...

View Article

Can't access root folder in File Explorer since installing Ubuntu 22.04

I'm using WSL and I recently installed Ubuntu 22.04 and I can no longer access the root folder under that directory. I can access the root folder in my OLD ubuntu directory, but when I click on root...

View Article

how to run and debug project c++ in vscode on wsl ubuntu

I am trying build and run project, but I don't know. who do help me?Executing task: g++ -g /home/homa/SSAC/src/.cpp /home/homa/SSAC/bin/.cpp /home/homa/SSAC/include/*.h -mpclmul -msse4.1 -std=c++17...

View Article
Browsing all 2795 articles
Browse latest View live