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

How to set up DISPLAY variable for WSL2 of ubuntu 20?

I have a WSL2 with ubuntu 20. In most posts, setting up DISPLAY environmental variable to access windows X11 server is made through WSL localhost address in ~/.bashrc$ export DISPLAY=$(awk '/nameserver...

View Article


WSL2 is broken after minikube was installed

After I finished the completed guide of minikube installation on my WSL2. I'm getting the following error message when I try to open a new terminal /usr/sbin/enter-systemd-namespace: line 10:...

View Article


Opening multiple files at once using Explorer in Ubuntu/WSL

When I run explorer.exe filename.pdf in Ubuntu under WSL, the PDF opens.However, when I run explorer.exe *.pdf, either in a for loop or on its own, it just opens File Explorer with no PDF. Why is this...

View Article

WSL2 (Ubuntu) sudo snap install --classic code not working

I already had vscode installed 2 years ago, but I opened my wsl2 today after like 10 days and code . is giving following error (It was working fine till 10 days ago)Command 'code' not found, did you...

View Article

Remove Docker's PPA repository

I'm using WSL so using the PPA Gui isn't a possibility. I added the Docker PPA with this command:sudo add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs)...

View Article


When installing Ubuntu via WSL2 on Windows 11, do I need to partition my hard...

Referencing this thread: Where is WSL located on my computer?I am brand new to Ubuntu, and Linux, and plan to teach myself rudimentary web development. I have a laptop running Windows 11 and I am...

View Article

How to change default user in WSL Ubuntu bash on Windows 10

I installed the WSL Bash on Windows 10 and set my user to e.g. 'abc' but now I want to change it to something else.How can I change the user name of the user I'm logged in as?When I open bash it...

View Article

Temporary Failure in name resolution on WSL

Running Ubuntu on WSL and trying to push to github and download new python modules using pip and I get this error.Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after...

View Article


Can't restart/shutdown Ubuntu under WSL

I just got Ubuntu from Microsoft Store and tried some things with it. However when i try to restart or shut down the system using sudo reboot or sudo shutdown -h I got a prompt saying"System has not...

View Article


Unknown filesystem type 'exfat' on Ubuntu 22.04

I am trying to mount an external disk on Ubuntu 22.04, and get the following error:mount: /media/destdrive: unknown filesystem type 'exfat'.This was working yesterday, but has stopped working since a...

View Article

DNS not working on WSL

I'm currently using an Insider build of Windows 11. (22458)However, I had this problem a few times on other builds. (and wsl worked before)When I start wsl, I'm not able to do a DNS request. (Pinging...

View Article

I cannot run ipython package on ubuntu/win11. "Package ipython is not...

I'm trying to install ns-3 on my win11 by ubuntu (wsl), but when trying run " sudo apt-get install python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev ipython", but it shows:Reading...

View Article

Ubuntu apps on Windows with WSL uninstalled

I installed WSL with the Ubuntu distro on my Windows 11 laptop. I wanted to show some Ubuntu GUI applications, so I installed tasksel. Then, from tasksel, I installed Ubuntu Desktop and few more...

View Article


How does WSL2 ubuntu 20.04 get its IP address?

I can't see what system is getting/assigning the IP. There are files from both NetworkManager and netplan in /etc but they both seem incomplete and systemd is not running. There are very few processes...

View Article

MySQL Installation problem in wsl2 ubuntu 22.04

I'm using wsl2 in windows 10 pro. I try a lot to install mysql but I've gotten this error evry time.I try to uninstall and install again with these command: sudo service mysql stop sudo apt purge...

View Article


Opening Ubuntu 20.04 Desktop on WSL2

I installed Ubuntu 20.04 (server/terminal) from the Windows 10 Apps store. After launching the Ubuntu Terminal via WSL2 (Windows Subsystem for Linux), I installed Ubuntu Desktop and did several steps...

View Article

I cannot install ipython package on WSL with Ubuntu 20.04 on Windows 11:...

I'm trying to install ns-3 on my Windows 11 using Ubuntu 20.04 (WSL), but when running:sudo apt-get install python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev ipythonI get:Reading...

View Article


How can I use VcXSRV without Disable Access Control?

I have WSL Ubuntu. Yesterday I installed VcXsrv and added one line to ~/.profile: export DISPLAY=$(route.exe print | grep 0.0.0.0 | head -1 | awk '{print $4}'):0.0. After that if I press Disable Acces...

View Article

Ubuntu on WSL Windows 10 comes up to a blinking cursor

Folks,Ubuntu on WSL Windows 10 was working fine.Today it just comes up with a blinking cursor.Uninstalled Ubuntu and reinstalled it againCurrent Ubuntu Version : 2002.4.4.0Windows version : Windows 10...

View Article

Can't get Chain "MASQUERADE" to work on WSL2 Kernel

I'm trying to build custom Kernel for my specific requirement where I need the chain MASQUERADE to be available. I'm using https://github.com/microsoft/WSL2-Linux-Kernel to build my kernel.I've set all...

View Article
Browsing all 2795 articles
Browse latest View live


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