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

Will wsl work with new native ubuntu kernel?

Currently I am under wsl2 in a 21.10 distro, the kernel is 5.10.60.1-microsoft-standard-WSL2.What will happen if I will go on and install one of the mainline ubuntu kernels there?

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


unable to install netcat on wsl running ubuntu 18.04

I am a beginner, I am trying to setup a wsl with basic tools. I am trying to install unzip, tree, netcat, nmap etc and everytime i run the command there is no error but this message is shown.Reading...

View Article

Migrate a physical Ubuntu 20.04 Desktop to WSLg in Windows 11 by mounting the...

I have a existing physical Ubuntu 20.04 Desktop system running on a SSD with ext4 as the file system.I mounted the SSD into the WSLg Ubuntu in Windows 11.To keep the same experience as much as...

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


Ubuntu 20.04: Can't install pip for python3.10

I am using Ubuntu 20.04 TLS in Windows Terminal from on Windows 10 Pro.Ubuntu has default version of python that is 3.8, but I need 3.10, andI can easily install it with sudo apt install python3.10...

View Article

How do I change the default user that signs in?

I'm running Ubuntu terminal on windows with WSL, Every time I launch the terminal it signs me in as the root user. I've created a new user and given them root privileges so that I can code easier. How...

View Article

Image may be NSFW.
Clik here to view.

How do I change the default user that signs in on WSL?

I'm running Ubuntu terminal on windows with WSL, Every time I launch the terminal it signs me in as the root user. I've created a new user and given them root privileges so that I can code easier. How...

View Article


Ubuntu 20.04 on WSL2: Folder owner & group are being reset after each start

Well, I have a WSL2 with Ubuntu 20.04.3 LTS on it. It is intended for web-development purposes, so nginx, php and other related apps are installed there. No GUI.So when I start it with wsl from Windows...

View Article


WSL2 Windows 11 After upgrade - Ubuntu 18.04 on WSL2 has no internet "No...

After upgrading the windows 11, my WSL2 Ubuntu 18.04 has no internet access. I get the error "No Route to Host". I double checked my resolv.conf as displayed below:root@~$ cat /etc/resolv.conf...

View Article

how to Add "Video Device" (GUI) on WSL2 - Ruby2D Issue

I'm using WSL2 on Ubuntu 18.04 to run Ruby code in Windows 10.For example, running Ruby on Rails is easily done with no special setup required.In case of Ruby2D:The installation went fine but, I get an...

View Article

WSL on win11 - Permission denied running python script

I am trying to run a python script that creates a file.when running I get :File "/home/ashi/.pyenv/versions/3.8.5/lib/python3.8/os.py", line 223, in makedirs mkdir(name, mode)PermissionError: [Errno...

View Article

Can I Overclock my Ubuntu trough Windows 11 VM?

I need msi afterburner's Curve and Power limit settings desperately. is it Possible to overclock my RTX 2060 and RTX 3060 like that in ubuntu I couldn't find. That is why I am asking this. Please help!

View Article


Is there an easy way to have WSL Ubuntu services start automatically on...

I have a question about the WSL version of Ubuntu. Is there an easy way to have bash start automatically when Windows starts and pass a command to it to start the SSH server? So that the SSH server...

View Article

WLS ROCm install problems: possibly no GPU devices

I've been trying to instal ROCm but when running command rocminfo I get this outcome:libkmod: ERROR ../libkmod/libkmod-module.c:1657 kmod_module_new_from_loaded: could not open /proc/modules: No such...

View Article


How do I install the alarm-clock-applet in WSL Ubuntu 18.04?

I need to install and setup the WSL Ubuntu 18.04 alarm-clock-applet. I'm new to Linux and haven't ever done this.

View Article

WSL2 Remote Desktop Can't connect to the remote computer for one of these...

I am trying to use a GUI with WSL2. I followed the instructions here and it initially worked fine. After rebooting my laptop I opened Ubuntu terminal and typed:sudo /etc/init.d/xrdp startto start xrdp...

View Article


How to start a specific service when Ubuntu is started on WSL2

I need to run sudo service postgresql start every time when I start Ubuntu on WSL2.How can I make the service start automatically when I start Ubuntu?WSL doesn't use systemd, so sudo systemctl enable...

View Article

Migrating from VirtualBox to WSL

I've been using Ubuntu on VirtualBox for about a year now, but I recently learned about WSL, and it seems a lot more useful for my purposes. I've been trying to migrate all my data out of the...

View Article

How to use opencv-python on WSL2 Ubuntu20.04

I have just installed a Ubuntu-20.04 on WSL2. And I installed a miniconda env with python 3.7, and then I installed opencv-python by "conda install opencv". But when I try the simplest cv2.imshow, it...

View Article
Browsing all 2815 articles
Browse latest View live


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