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

Inquiry on Accessing TPM 2.0 from Ubuntu on WSL 2

I am currently working on a project that requires interaction with the Trusted Platform Module (TPM) 2.0, and I am running Ubuntu on Windows Subsystem for Linux version 2 (WSL 2).I have encountered...

View Article


Routing audio from any program through WSLg

I have the latest version of WSL2 with Ubuntu22.04 installed. I would like to use wsl to write some c programs which need to be able to produce audio. My library of choice for this is PortAudio.Sadly...

View Article


Run redis without interactive WSL shell

I'm moving my development environment to a new laptop and cannot get redis installed the same way as the old machine.To avoid XY, my goal is to have redis server run locally in WSL and I not need an...

View Article

apt-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

Image may be NSFW.
Clik here to view.

Multiple Gnome Terminal tabs are shown as separate windows in WSL

I'm using Gnome Terminal on Windows through WSL, and I've encountered an issue where each terminal tab is displayed as a separate window in the Windows Task View. I would prefer if all the tabs within...

View Article


Unable to locate package linux-tools-5.15.90.1-microsoft-standard-WSL2

After trying to install CUPS https://project-insanity.org/2022/11/01/use-cups-printing-server-on-windows-10/usbipd using which involved installing WSL Ubuntu 22.04.2 LTS then usbipd...

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

installing ubuntu with wsl

I uninstalled wsl and ubuntu from my system and deleted some of their files as well . Now I want to reinstall Ubuntu on Windows 11 with subsystem . But I deal with different errors . How can I...

View Article


WSL2 modprobe usbmon missing?

According to this page, I should be able to use usbmon and other USB utilities in WSL2. I did everything exactly as lined out, the Windows part worked flawlessly (installing the USB passtrough...

View Article


Linux Steam in WSL

I see this post, but I unfortunately can't comment to ask the response to it if there's an update to get this to work. Install Linux Steam on WSL2 through WindowsI installed the .deb from steam. When I...

View Article

Minimize and maximize button in wsl

I am currently using wsl2 with Ubuntu 22.04 on Windows 11. I am not able to see minimize/maximize button on the titlebar. I first discovered this problem with sublime text, but when I tried other apps,...

View Article

wsl: how to remove packages installed in $HOME/.local?

I have a lot of files/packages under $HOME/.local/bin. How do I remove some of the packages, without resorting to 'rm -rf'?

View Article

`http_proxy` not showing up with `printenv` on WSL

I am having trouble getting pip to work behind a corporate firewall. I added the http and https proxies to my /etc/environment file, and if I execute echo "$HTTP_PROXY" it prints the right thing....

View Article


'package alread installed' in a newly created conda environment in wsl

I created a new, empty conda environment:$ conda create --name openai_testI activate it:(base) $ conda activate openai_testThen try to install a package:(openai_test) $ pip install openaibut I...

View Article

How do I fix issues resolving internet on ubuntu 20.04 for WSL 2

I am getting the following errors when trying to run apt-get update and install a needed package to my WSL 2 Ubuntu 20.04 instance:<redacted>:~$ sudo apt-get update && sudo apt-get...

View Article


Command 'java' not found on WSL, even though 'java' command works in Powershell

This topic probably is a common one, but when looking online I didn't see much that related to my case, since I'm not running a normal ubuntu, but rather WSL (Windows Subsystem for Linux).So my problem...

View Article

How to Disable Daily Message in Ubuntu 22.04.3 LTS [Message of the Day (MOTD)]

When launching the Ubuntu terminal each day, I receive the following message:Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.133.1-microsoft-standard-WSL2 x86_64) * Documentation: https://help.ubuntu.com...

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

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

Enable MOTD message on WSL and WSL2 for Windows 10?

I installed update-motd package on my wsl2, but how do I activate it so it shows the message every time I open a new terminal session/tab? What do I do next?

View Article
Browsing all 2811 articles
Browse latest View live


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