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

How do I fix "$'\r': command not found" errors running Bash scripts in WSL?

I'm getting an error in WSL while trying to use junyanz/pytorch-CycleGAN-and-pix2pix.I followed all the install steps successfully on Windows 10 x64 using the steps at PyTORCH on Windows 10: An...

View Article


-f $file_name doesn't work when using ~/file_name but works when using...

This has been driving me nuts. I have a pretty simple script#!/bin/bashread -p "Enter changeList.txt file name: " file_nameif [ -f $file_name ]; then echo "Reading File..." cat $file_name | grep...

View Article


"usbipd not found for kernel" when using USB/IP with WSL

I am trying to attach a USB device to my Ubuntu 20.04 distribution running under WSL2.The problem is that when I run the usbip command, it gives the following message:WARNING: usbipd not found for...

View Article

How do I change the background color of a dialog in debconf?

I would like to change the color of the dialog in ubuntu, that color is normally pink and I don't like that color, I prefer it to be blue like debian. how do i make it blue?dialog color in ubuntu

View Article

bad variable name error on WSL

A similar question has been asked with no satisfying answer. I installed kaldi on WSL and when running a script I get this error, that apparantely has to do with "Program Files".sh: 1: export:...

View Article


Repair WSL Ubuntu Python Installation

I'm using WSL Ubuntu, recently upgraded from 18.04 to 20.04. I was trying to install python 3.8, and apparently had to remove the old bionic python 3.8. After doing so, I keep running into the...

View Article

Problem installing Perl module Sys::Info::Driver::Linux

I am running Linux on Windows (Ubuntu) to install a bioinformatics software (MEME Suite - Installation Guide). Please bear in mind I do not have much experience using Linux.I am following the...

View Article

Cannot run Spyder on Ubuntu (windows bash)

I am very new to Linux andI am using Windows 11installed ubuntu bash from MS store and installed Spyder using this commandsudo apt-get install spyderBut when I call SpyderI get this...

View Article


Fail to connect to WSL2 via ssh

I have managed to connect to WSL2(win11) once on my MacBook.Then I restart windows machine to test ssh connection.But in this time, it fails, reportingkex_exchange_identification: read: Connection...

View Article


Ubuntu subsystem 20.04 is getting automatically uninstalled from Windows 10

Can someone help me here with how to fix this issue - Ubuntu subsystem 20.04 is getting automatically uninstalled from Windows 10.While reinstalling sometimes it will get installed from scratch, but...

View Article

Image may be NSFW.
Clik here to view.

Black window with "less", "nano", or "screen" - WSL - Ubuntu 20.04.3 LTS

I'm using Windows Subsystem Linux with Ubuntu 20.04.3 LTS on my laptop (OS: Windows 10 Enterprise LTSC).It worked flawlessly until a few days ago when I suddenly could not use less, nano, screen etc....

View Article

Could not connect to localhost:9000

I am running Ubuntu 18.04 in Windows Subsystem for Linux. When I try to "sudo apt-get update" , I have the following error:myuser@GA014291L:/mnt/c/Users/myuser$ sudo apt-get updateErr:1...

View Article

Can't use OpenGL 3.3+ in WSL (Windows 11)

Both of my GPU and CPU support up to OpenGL 4.6 and my drivers are up-to-date. However, my Ubuntu 20.04 on WSL only supports 3.3 . Here's what glxinfo says:glxinfo | grep "OpenGL"OpenGL vendor string:...

View Article


VcXsrv full screen

I have installed Ubuntu on my windows via wsl. I have followed this guide:...

View Article

How to uninstall Nautilus and its Dependencies on WSL?

I was taking a terminal course, when the teacher used Nautilus (he uses Ubuntu on his laptop), so I did too. However I use WSL and it seems I can use different commands to manage files. However,...

View Article


What's the easiest way to run GUI apps on Windows Subsystem for Linux?

I searched around, and currently there are two methods suggested; installing an enhancement for Windows Subsystem for Linux and installing an XServer.I want to know which method is the most hassle-free...

View Article

Image may be NSFW.
Clik here to view.

Running IntelliJ in WSL2 Ubuntu 20.04 - how to make keyboard shortcut...

My environment:Windows 11 22000.493 -> Host OSWSL 5.10.60.1Ubuntu: 20.04.3 LTS -> Guest OSIntelliJ: Build #IC-213.6777.52, built on January 28, 2022 -> Running inside WSLI am running IntelliJ...

View Article


How to set MTU PERMANENTLY in CLI

I'm using Ubuntu 20.04 in WSL2, and cannot for the life of me permanently set the MTU. No matter what I do, after rebooting, it's 1500 again. I had the same problem running Ubuntu natively, and...

View Article

"Findfilters.cmake" in CMAKE_MODULE_PATH this

I getting this error while building my project dir ,and also not able find the path for Findilters.cmake plz help me resolve this issueCMake Error at CMakeLists.txt:7 (find_package):By not providing...

View Article

After reinstalling ubuntu on windows wsl I'm not able to run apt commands -...

Hit:1 http://archive.ubuntu.com/ubuntu focal InReleaseErr:2 http://security.ubuntu.com/ubuntu focal-security InReleaseConnection failed [IP: ]Err:3 http://archive.ubuntu.com/ubuntu focal-updates...

View Article
Browsing all 2810 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>