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

Image may be NSFW.
Clik here to view.

WSL Ubuntu: Sometimes postgresql won't start but the next day it would start...

This is my wsl -l -v NAME STATE VERSION* Ubuntu Stopped 2lsb_release -a output:No LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 22.04.1 LTSRelease: 22.04Codename: jammypg_config...

View Article


Python 3.8 + Pip on WSL

I've being looking around on the internet and either nobody else has this problem, or nobody else can solve it. I used the deadsnake repository to use Python 3.8, which seems to work, but when I try to...

View Article


Image may be NSFW.
Clik here to view.

Commands work in Powershell but not Ubuntu in Windows terminal

Commands like npx and npm are working when I run them in Powershell. When I type the same commands into the same terminal on the same computer but on Ubuntu, they do not work. Why is this? How do I get...

View Article

WSL2 || sed: can't read /etc/update-manager/release-upgrades: No such file or...

Out of NowhereI was opening VSCode via WSL, it was loading. I figured out I wouldn't use it, so I closed it, but the terminal closed with it, didn't gave it much atttention. When I try opening the...

View Article

Apt wildcard issue

Why does apt take file names in current directory as package names?When i try to apt install boinc* i see "E: Unable to locate package boinc_ubuntu_7.16.6_x86_64-pc-linux-gnu.sh"

View Article


Unable to install pip into WSL (Ubuntu)?

I have successfully setup WSL on my Windows 10. I have also successfully downloaded and installed Python3. However, I am unable to get pip. How do I get pip?gyu@LAPTOP-PR3:/mnt/c/Windows/system32$...

View Article

Unable to ping device with MTU 9000 (jumbo frame), but default ping error...

I need to set a local connection with Jumbo Frames enabled.I set up my network adapter to have a MTU of 9000.~$ ifconfigeth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 inet 10.0.0.3...

View Article

I'm unable to launch qemu after installation

so i type this command in wsl <qemu-system-x86_64> and it should open the qemu window as usual but it doesn't instead it gives this error Unable to init server: Could not connect: Connection...

View Article


Image may be NSFW.
Clik here to view.

sed: can't read /etc/update-manager/release-upgrades: No such file or directory

Version (systeminfo)Microsoft Windows Version 22H2 (compilation SO 19045.2673)WSL Version (wsl -l -v)NAMESTATEVERSION* UbuntuRunning2Ubuntu VersionUbuntu-22.04Other SoftwareAll normal windows...

View Article


How do I give a .cpp file to my new user

I'm trying to run a .cpp file on Ubuntu. I'm on a Windows computer and downloaded Ubuntu from the microsoft store. Problem is, I couldn't safely run my program on my root (reasons dont matter) and had...

View Article

WSL2 on Windows 11 (Ubuntu 20.04): cannot run Qt apps, "could not connect to...

Qt apps work from Terminal-hosted WSL, but not from window WSL.I am trying to run a Qt app, such as xeyes, on WSL2 with Ubuntu 20.04, on Windows 11. When I launch it (xeyes, or Wireshark, or Qt-made...

View Article

Setting up the $DISPLAY environment variable on WSL2 to use Qt software

I am working on WSL2 (Ubuntu 20.04) and I have trouble setting up the $DISPLAY environment variable. More specificallly, I have a network configuration that allows me to ping devices connected to eth0,...

View Article

Ubuntu bash windows forgot password

I forgot the password for the Ubuntu bash on windows. I tried to reset it by following the instructions https://www.top-password.com/blog/forgot-linux-bash-password-in-windows-10/ but the windows cmd...

View Article


Why do I not have permission to run this mpic command?

I'm very bad with the command line and have just downloaded Ubuntu (in the microsoft store) yesterday. I'm trying to compile and run a cpp file with a specific command. I'm logged in as a non-root user...

View Article

Windows 10 WSL2 - Ubuntu - apt update with Temporary failure resolving

I'm running windows 10 with WSL2.I installed a distribution of Ubuntu 20.04.When I do sudo apt update, it's workingHit:1 http://archive.ubuntu.com/ubuntu focal InReleaseGet:2...

View Article


how to fix the garbled code on the bar of vim?

as following picture shows, the information-displaying-bar in the below has garbled code, i have tried so many ways but still not resolved, because many related webs are about garbled code of content...

View Article

Mount folder from WSL to Ubuntu over SSH with SSHFS

I am trying to mount a folder located inside WSL to my Ubuntu 20.4 machine using SSHFS but I always get the message that there is "No such file or directory." How can I do it?The obvious way I tried to...

View Article


Image may be NSFW.
Clik here to view.

Error installing Ubuntu 22.04 on WSL

When attempting to install Ubuntu on WSL, I get a "Something went wrong" error:How should I troubleshoot/resolve this?

View Article

sed: couldn't open temporary file /etc/update-manager/sed2l1b5x: Permission...

When I launch a Ubuntu terminal I have this error : sed: couldn't open temporary file /etc/update-manager/sed2l1b5x: Permission denied.The file sed2l1b5x is random each time I launch the terminal.All...

View Article

Enabling ufw failed from Ubuntu of WSL2

Some community members have suggested a similar question that may solve your problem.Does this answer your question?Can I use WSL's ufw as a firewall for Windows 10? (2 answers)YesNo(Private feedback...

View Article
Browsing all 2795 articles
Browse latest View live


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