Questions tagged [windows-subsystem-for-linux]

Use this tag for questions relating to Windows Subsystem for Linux, the compatibility layer developed by Canonical and Microsoft to run Ubuntu programs natively in newer versions of Windows.

Filter by
Sorted by
Tagged with
-1
votes
0answers
18 views

WSL2 Ubuntu won't launch on Windows 11 Home

As mentioned in the GitHub issue I went to Windows Security but both vmvp.exe and vmcompute.exe didn't have any overrides, also there is no override called Code Flow Guard, but two overrides called ...
1
vote
0answers
26 views

SSH login takes 15 seconds

SSH login takes 15 seconds I got two devices: WSL for Windows running: OpenSSH_7.6p1 Ubuntu-4ubuntu0.5, OpenSSL 1.0.2n 7 Dec 2017 Raspbian running: OpenSSH_7.9p1 Raspbian-10+deb10u2, OpenSSL 1.1.1d ...
0
votes
1answer
40 views

How to install Ubuntu WSL on Windows 11 without a Microsoft account?

The Ubuntu WSL page page only links to the Microsoft store page. The installation of apps from the Microsoft Store requires a Microsoft account on Windows 11. Is it possible to install Ubuntu in WSL ...
3
votes
1answer
67 views

How do I install Ubuntu 21.10 in WSLg on Windows 11?

I do not see this option in the windows store? I would like to install Ubuntu 21.10 in WSLg on Windows 11 that includes the Graphical stuff. I have searched for Ubuntu in the Windows Store and I have ...
0
votes
0answers
47 views

Trouble installing Ubuntu terminal

I'm having trouble installing the Ubuntu terminal? Whenever I try to install it I get this error: Code: 0x80070005 I have Windows subsystem for Linux and Virtual machine platform switched on in ...
2
votes
1answer
43 views

Can't connect to server over HTTPS in WSL

I'm trying to use a command line tool for a scheduler we have installed at my company, and decided to install it in my WSL ubuntu installation. However, I can't seem to connect to the server... curl &...
0
votes
0answers
17 views

Yocto project using docker, error when trying to build an Image

This is the command which am working on : Desktop/yocto-docker-quickstart/workspace$ . ./sources/poky/oe-init-build-env And I am getting this error: mkdir: cannot create directory ‘/home/khangesh/...
0
votes
0answers
35 views

Restoring the default repositories in WSL and reinstalling R

I have made a similar question but it was closed here: Difficulties on trying to (re)install R As I work in WSL I believe my situation is a bit specific. After uninstalling R and going through some ...
2
votes
1answer
40 views

The status of the previously created Ubuntu folders in Windows Subsystem for Linux (WSL)

A couple of months ago, I had created a WSL1 and used the Ubuntu app under the username void Later on, I have decided to upgrade it to WSL2, but I have encountered an error while upgrading it. Later ...
4
votes
0answers
27 views

Difficulties on trying to (re)install R [duplicate]

I am trying to (re)install R in my ubuntu WSL. I already had done with sudo apt install r-base-core But, then, later I tried to change to R 4.0 with some compressed version. Eventually, the old R 3 ...
6
votes
1answer
2k views

Where does the double-clickable app live on Windows? [closed]

I'm running WSL2 with Ubuntu. I want to be able to open Ubuntu via a voice command. To do this I run Alexa Connect on my PC to write tasks that automate some PC functionality. All I need to do is link ...
0
votes
1answer
55 views

Ubuntu focal on WSL2 unable to download files

I am running Ubuntu focal as a WSL2 installation on Windows 10. It appears that my Ubuntu installation is unable to download any files. I have illustrated it with a simple wget command, but the ...
1
vote
1answer
56 views

What's the question boxes displayed in the terminal?

How do I remove the strange question marks with boxes?
0
votes
1answer
36 views

lsmod command not working in windows subsystem for linux

I have installed windows subsystem for linux with ubunut version 20.04 in windows 10 from microsoft store .I tried to install netextender software in that subsystem through terminal.But I get below ...
0
votes
0answers
27 views

WSL doesn't run, shows server error

I want to install ubuntu 20.04 app from Microsoft store, but it gives error Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80080005 Error: 0x80080005 Server ...
0
votes
0answers
69 views

WSL Seisan font issue

I'm using Ubuntu 20.04 WSL and I need to use Seisan for colleague, the problem comes when I need to display a window, It's says --fonts-- ERROR: Unable to get font. I've read the Seisan manual and It ...
1
vote
1answer
110 views

how to move ubuntu in WSL

When I started developing in WSL I don't know why, but I installed Ubuntu-20.04 app from Microsoft store instead of just Ubuntu. I know that only difference is that Ubuntu-20.04 will not get ...
1
vote
1answer
38 views

who command produces no output on WSL2

I am using Ubuntu 20.04 in the Windows subsystem for Linux on Windows 10. When I type the who command I get no output: renniej@ratitch:~$ whoami renniej renniej@ratitch:~$ who renniej@ratitch:~$ I ...
0
votes
1answer
54 views

Upgrade gcc version in Ubuntu 18,04

I'm running Ubuntu 18.04 in WSL, which I use to compile my c++ programs. I need to write a program that gets the name of all the files in a certain directory and adds them into a vector of strings. ...
0
votes
2answers
35 views

Trying to use sudo in WSL but my Microsoft account (which I'm logged into as Admin on Windows 10) password won't work. How can I fix it?

When I look into what my admin password is on Windows 10, everything seems to point to it being linked to the Microsoft account I have connected. I validated this, it seems to be the case that I am ...
0
votes
0answers
27 views

Understanding WSL 2 & Ubuntu in NTFS

I am trying to understand the File System for Windows with WSL 2 and Ubuntu distro. When looking at the root '/" of the file system, Ubuntu operating system is installed in the /mnt directory. ...
0
votes
1answer
280 views

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. (...
2
votes
0answers
84 views

'gnome-session' command does not start up GUI anymore after updating Ubuntu, returns GLXBadFBConfig error

I am using Ubuntu on Windows with WSL. After updating Ubuntu to the latest version (20.04.3 LTS I believe) I am not able to run the gnome-session command anymore, which would usually allow me to ...
0
votes
0answers
72 views

zsh plugin -- zsh-syntax-highlighting cannot be installed

I have installed zsh, git, and oh-my-zsh, but i got an error like this: enter image description here I'm running Ubuntu 20.04 LTS I have .zshrc and ./oh-my-zsh located in $HOME I've googled around for ...
0
votes
0answers
32 views

How to limit CPU utilization for a process in ubuntu vm

I am using ubuntu 20.04 VM for a course. For an assignment, I need to run a command that creates some thread and two processes happen simultaneously. However as soon I run the command ubuntu slows ...
1
vote
1answer
125 views

Understanding disk space using WSL2

Complete novice here, so please tell me if this should be posted in a different forum. If the answer is already available online, I haven't been able to find it in my searches. I set up Ubuntu 20.04 ...
0
votes
0answers
117 views

Temporary failure in name resolution in ssh command

I haven't used my Ubuntu WSL in about 4 months, today I opened it up to use ssh to connect to a server for one of my classes and I get the following error. I've tried the other solutions that I've ...
1
vote
0answers
172 views

Error on realpath() on '/var/lib/mysql-files' (Error 2 - No such file or directory) - "mysql-files" directory doesn't exist

I am using Ubuntu to configure Wordpress on WSL. Currently, I am trying to install MySQL as part of the LAMP Stack using the following as per this tutorial: sudo usermod -d /var/lib/mysql/ mysql sudo ...
1
vote
0answers
45 views

Windows Subsystem Linux cgroup issues with slurmd

I am trying to add my computer running Ubuntu WSL to a slurm cluster I have, made up of old laptops. And when I run sudo service slurmd start it comes back as failed. I checked the /var/log/slurmd....
0
votes
1answer
131 views

/var/log/auth.log in Ubuntu under WSL

Where do I find login information when running Ubuntu under Windows Subsystem for Linux (WSL)? I would normally expect it to be in /var/log/auth.log, but I don't see any login attempts there. Output ...
0
votes
2answers
39 views

How can I remove Windows Path from Ubuntu Path?

How can I remove Windows Path from Ubuntu Path ? ~/.bashrc or other file does not contain it. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss = "AppendNtPath"=dword:00000000 ...
0
votes
0answers
24 views

while checking the ufw status for using nginx server in ubuntu app in windows, getting error. Can't get solved this issue? [duplicate]

yabesh@LAPTOP-DLAQ7R33:~$ sudo ufw status ERROR: problem running iptables: iptables v1.8.4 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Perhaps ...
2
votes
1answer
110 views

How to recursively convert all JPGs into one PDF in each folder using img2pdf?

I have three levels of folders like main, sub-1 and sub-2. my main folder has lot of sub-1 folders and sub-1 has lot of sub-2 folder with JPG images inside. I copy JPG files from sub-2 to its parent ...
0
votes
0answers
163 views

Could not resolve host: wsl-translinux.arkane-systems.net

When I run sudo apt update I get this error: Then, if I run: $ curl --head https://wsl-translinux.arkane-systems.net/apt I get: curl: (6) Could not resolve host: wsl-translinux.arkane-systems.net
0
votes
1answer
397 views

Why can I not run android emulator on wsl2 on Ubuntu 20.04.2?

I am using a HP 470 G8 laptop with an 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz processor and I have recently installed Ubuntu 20.04.2 within WSL2 on my Windows 10 Professional. After installing ...
-1
votes
1answer
193 views

Creating a new top level Admin User for Ubuntu on WSL

Swapping standard Ubuntu for win-10 w/ "WSL Ubuntu" For 5 years I booted to Ubuntu Distros with a GUI desktop, however; this year, my professor has forced me to add Windows to my machine. In ...
0
votes
0answers
40 views

openssl-1.1.1f-ubuntu2.8, what does 2.8 stand for regarding ubuntu? [duplicate]

I have seen that openssl < 1.1.1l has a vulnerability so I wanted to upgrade it by running sudo apt-get install openssl # upgrade didn't worked And I get the following openssl is already the ...
0
votes
0answers
73 views

wsl2 jupyter lab URL to Chrome

Goal I want to connect Jupyter Lab with Windows 10 WSL 2 (Ubuntu 18.04) to my chrome Tried Environemtn activate ```jupyter lab`` ERROR: JupyterLab application directory is /root/anaconda3/envs/...
0
votes
0answers
42 views

Unable to upgrade to wsl 2 [duplicate]

A while back I installed WSL by following the instructions here. I was under the impression that I was running WSL 2. However, when I launched code-insiders from the terminal (Ubuntu 20.04) today, I ...
0
votes
1answer
22 views

How to move a matched id of mat files in different folder

I have Matlab (.mat) files in a particular folder. In a text document, I have some IDs list marked as 0 and 1. First I need to match the IDs and separate the mat files that are marked as '1'. For your ...
0
votes
1answer
54 views

DocumentRoot wont change -Ubuntu 20 Apache2 on windows wsl2

I'm at my wits end here. I've installed Ubuntu on windows with wsl2. I'm trying to setup apache2 to point to /mnt/my/windows/source/code No matter what I do. DocumentRoot is always /var/www/html I've ...
2
votes
1answer
70 views

Problem installing ImageMagick 7 using IMEI

I tried to install ImageMagick 7 by IMEI from github: https://github.com/SoftCreatR/imei/ but always had this answer: Signature verification failed! Please check /var/log/imei.log for details. ...
0
votes
1answer
200 views

How to recover a deleted Ubuntu installation in Windows Subsystem for Linux

I had both Ubuntu 18.04 and Ubuntu20.04 and wanted to delete Ubunto18.04. However, I deleted Ubuntu20.04 mistake. Is there a way for me to restore the files from Ubuntu 20.04?
0
votes
1answer
46 views

Cannot access windows fonts after installing them on Ubuntu WSL

I am trying to get Microsoft Windows' Copperplate Gothic font on my Ubuntu subsystem using WSL. I followed the instructions in this link and the installation seemed to go fine. However, when I run fc-...
0
votes
0answers
20 views

Nvidia Cuda installing error: dpkg locked

I was downloading Cuda using my Linux (Ubuntu) terminal, it returned me with such message: dpkg:error: dpkg fronted lock is locked by another process Does anybody know the solution to this?
0
votes
1answer
36 views

Format or leave my ubuntu terminal WSL without any packages?

It is obvious that when installing wsl, along with the Ubuntu distribution, it comes with pre-installed packages, such as git, curl, wget, etc., however I would like to have it like the classic ubuntu ...
1
vote
1answer
252 views

npm command not found in wsl

I had installed nodejs on windows10 & its path is also set to environment variable. It is working perfectly. As I switched to WSL I found npm commands were not working however I could run node.exe ...
2
votes
2answers
243 views

How to install ssh keychain on Ubuntu with WSL

Please help me understand how to install ssh keychain on my Ubuntu under WSL in order for me to be able to configure my .ssh/config file to use key chain. I've tried editing my config file that I ...
3
votes
1answer
74 views

My nano editor can't read tags?

I normally use nano edit, however, today when I open it, it didn't show "<>" and character next to it. I have reinstalled Ubuntu and the problem is still there. In the image below it ...
-1
votes
1answer
78 views

How to open a video file in Windows using the Ubuntu terminal?

So I am learning the Linux/Ubuntu command line. One of the things I want to be able to do is to use the Ubuntu terminal (Windows Subsystem for Linux) to open video files (mp4) on my computer (Windows ...

1
2 3 4 5
17