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
0 votes
0 answers
33 views

wsl + ubuntu 20.04 access to the project loading page slow

The project environment is ubuntu 20.04 (PHP8.1 + nginx + mysql5.7 + laravel10)! The project is runs, and found that each page load time is more than 3 seconds, I've seen some people say that adding ...
Mr. wu's user avatar
  • 1
0 votes
0 answers
12 views

Homebrew installation timing out on ubuntu

i am a beginner web developer and am learning towards block chain development as well, for that i am trying to install home brew but for some reason after trying again and again on the ubuntu terminal,...
maaz-anwer's user avatar
0 votes
0 answers
21 views

eps file in ubuntu WSL not opening

eThe code is for generating generate p p > t t~ in Madgraph and the get feynman diagrams by display diagrams I have tried changing the mg5_configuration to No_Path_Configuration, and there is no ...
Shivam Rai's user avatar
0 votes
0 answers
27 views

Run matlab from WSL [duplicate]

So I have matlab installed on my windows. I like to use the linux terminal on windows (through WSL2). Is there a way I can launch matlab from WSL?
phdstudent's user avatar
0 votes
0 answers
52 views

gnome-terminal: Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Could not connect: No such file or directory

If I run sudo apt-get -y upgrade then I suddenly can't run gnome-terminal. I get the error Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Could not connect: No such ...
Eigil Krogh Sorensen's user avatar
0 votes
0 answers
88 views

cd color highlighting

I am using Ubuntu in WSL2 and there is some annoying highlighting of folders. I managed to solve the highlighting when using ls via this tutorial: https://blog.jongallant.com/2020/06/wsl-ls-folder-...
samokosik's user avatar
-1 votes
0 answers
37 views

How to run and debug C++ project in VScode on WSL Ubuntu [closed]

I am trying build and run project, but I don't know. Executing task: g++ -g /home/homa/SSAC/src/.cpp /home/homa/SSAC/bin/.cpp /home/homa/SSAC/include/*.h -mpclmul -msse4.1 -std=c++17 -Wall -...
homa khajeh's user avatar
0 votes
0 answers
23 views

Can't access root folder in File Explorer since installing Ubuntu 22.04

I'm using WSL and I recently installed Ubuntu 22.04 and I can no longer access the root folder under that directory. I can access the root folder in my OLD ubuntu directory, but when I click on root ...
LionizeWebworks's user avatar
0 votes
0 answers
32 views

Too many network interfaces in wsl ubuntu

When I entered the command ip addr, the output is as follows: 8: eth0: <> mtu 1500 group default qlen 1 link/ether 50:5b:c2:cc:e0:98 inet 169.254.33.236/16 brd 169.254.255.255 scope ...
yasee's user avatar
  • 1
0 votes
0 answers
30 views

Ubuntu & NGINX Web Server - Multiple Subdomains to Log In To phpMyAdmin

I'm trying to have 2 separate subdomains from 2 different websites have access to logging into the same phpMyAdmin. I'm not sure how to set up the phpmyadmin.conf file so that NGINX knows how to ...
Aaron Catolico's user avatar
1 vote
2 answers
84 views

Error installing cuda_12.2.2_535.104.05_linux.run in WSL2

This is my version of Ubuntu: PS C:\WINDOWS\system32> wsl --list --verbose NAME STATE VERSION * Ubuntu-22.04 Running 2 This is my gcc version: zhao@ZhaoYH:~$ gcc -...
Zhao Dazhuang's user avatar
0 votes
1 answer
104 views

Tilde not working on Ubuntu I installed on Windows 11

I installed Ubuntu on my Windows 11 and I've been trying to use Tilde on the terminal, but it keeps giving me an error. cd ../Pictures takes me to the Pictures directory, but cd ~/Pictures says: No ...
Ufedo Akoje's user avatar
3 votes
1 answer
41 views

Upgrade WSL Ubuntu (18.04) without removing snapd?

I tried to upgrade my Ubuntu WSL on Windows 10 to later Ubuntu as it had older 18.04 currently. But it failed with aborting error without additional information. I found online that others had removed ...
r4v3n6's user avatar
  • 33
0 votes
0 answers
35 views

Ubuntu on wsl always "fails to fetch" whenever I'm trying to download to it. How can i fix this?

I'm just starting out on Linux (working on WSL since it's probably the simplest option for me), as I'm trying to run the Community Multiscale Air Quality modeling system. This requires a compiler, but ...
Hector Viruega's user avatar
-1 votes
0 answers
28 views

How to solve "The repository does not have a Release file" error on Ubuntu 22.04 on WSL? [duplicate]

I'm having trouble with Ubuntu 22.04 LTS on WSL. I want to install ROS2, but I'm getting the errors below when I run sudo apt update and I have no idea how to proceed further:
GLOOMY's user avatar
  • 1
-1 votes
2 answers
59 views

Is it recommended to move all windows software and personal files over to the ubuntu folder when using WSL2?

I just started studying robotics and started looking into the Linux world since a lot of people were recommending it. But I was dependent on a lot of Windows software which had terrible support in ...
volticus's user avatar
0 votes
0 answers
65 views

Accidentally typed node . instead of code . to open VS Code via WSL and it's not opening VS Code now

I accidentally typed node . instead of code . to open VS Code via WSL and when I typed code . again it will not open VS Code no more. Does anyone know how I can fix this? After typing code . ...
Hamu1160's user avatar
0 votes
0 answers
43 views

Broken compiler: fatal error: _mingw.h: No such file or directory

I have broken my compilation and not sure if it is possible to fix it without reinstalling everything from scratch. I cannot compile the simplest program: #include "math.h" int main() { ...
Valeria's user avatar
  • 101
1 vote
1 answer
71 views

Window font size is small on WSL Ubuntu 22.04.3 windows 11

I installed gnuplot on WSL Ubuntu 22.04.3 and created a simple plot. The font for all text is pretty small, as shown in the screenshot below. Is there a global setting for the window font to be set ...
karanveer41's user avatar
1 vote
1 answer
138 views

Why can't both Windows and Ubuntu recognize a filename with special characters?

I was trying to append to a text file in bash in WSL (using the >> operator). Unfortunately since I'm a beginner instead of appending to a file, a new file was made with the >> 'text' as ...
KhodeNima's user avatar
1 vote
0 answers
47 views

Is there a way to use Ubuntu in WSL2 as a portable program that can be written to a flash drive and run on different computers?

I moved Ubuntu to drive D (flash drive) with these commands: wsl --shutdown wsl --export Ubuntu D:\WSL\UbuntuBackup.tar wsl --unregister Ubuntu wsl --import Ubuntu D:\WSL\ D:\WSL\UbuntuBackup.tar --...
user153742's user avatar
0 votes
0 answers
13 views

Issue when set a password without turn on numlock on Ubuntu app in the Windows OS [duplicate]

After install Ubuntu app in the Windows OS. I set a password as number "0" on the numpad. But i missed to turn on the "numlock" How can I update a new password. Thank you
Nguyễn Công Quý's user avatar
0 votes
1 answer
53 views

Not at home after login

I have installed Ubuntu 22.04 in WSL2. I expect that the bash shall be started in the home directory that I find in /etc/passwd as harper:x.1000:1000:,,,,:/home/harper:/bin/bash But after starting ...
harper's user avatar
  • 103
0 votes
1 answer
409 views

\\wsl.localhost is not accessible. Open folder error

I want to access wsl folder in File Explorer however I got this error \wsl.localhost is not accessible. You might not have permission to use this network resource. Contact the administrator of this ...
aintgelic's user avatar
0 votes
0 answers
24 views

Having issue during installing Xgrafix on ubuntu (WSL2)

I am trying to install Xgrafix on ubuntu using WSL2 on my system. i have successfully configured the Xgrafix using "sh run_conf.sh". Now proceeding to next step, when i enter the command ...
Mr_Anonymous's user avatar
0 votes
0 answers
53 views

unable to start container process: exec: "/opt/sentry/postgres-entrypoint.sh": permission denied: unknown

Following the sentry self-hosted/#getting-started documentation to install the sentry in WSL ubuntu 20.04 Got an error after executing the ./install.sh. ... Container sentry-self-hosted-kafka-1 ...
Lin Du's user avatar
  • 101
0 votes
0 answers
199 views

Can not connect Internet on WSL2 Ubuntu 20.04

$ ping google.com > ping: google.com: Temporary failure in name resolution I am working on Ubuntu 20.04 LTS/WSL2. I using dns proxy server of 192.168.91.4. on Windows. >ipconfig Ethernet ...
happygoose30's user avatar
0 votes
0 answers
192 views

How can i remove and unistall completely Cloudflared Packges in ubuntu?

hello I'm new in Linux Ubuntu. I installed cloudflared by this steps : sudo dpkg -i cloudflare_warp_2021_8_1_1_amd64_a8f66bae8a.deb sudo apt --fix-broken install sudo apt update sudo dpkg -i ...
Crashofs's user avatar
0 votes
0 answers
23 views

wsl2 randomly starts highlighting everything I type in pink

I am not sure what causes this, but whenever I open up the wsl2 terminal, things are normal. But randomly, wsl2 will just start highlighting everything that I type in pink. Is anyone familiar with ...
alpastor's user avatar
  • 101
0 votes
0 answers
47 views

bash: /home/linuxbrew/.linuxbrew/bin/node: cannot execute binary file: Exec format error

I am trying to install nodejs on wsl but I faced this issue Commands I tried: brew install node brew link node node -version -bash: /home/linuxbrew/.linuxbrew/bin/node: cannot execute binary file: ...
userfh's user avatar
  • 1
1 vote
1 answer
70 views

Does WSL2 use native Linux TCP/IP stack?

Let's say there's a bug in a Windows TCP/IP implementation. Would WSL2 be affected by it? Would WSL2 Ubuntu use native Linux kernel's TCP/IP stack?
R A's user avatar
  • 180
0 votes
1 answer
298 views

Unable to locate output folder on Ubuntu 22.04 MagiskOnWSA

I'm trying to install the google playstore on ubuntu with this guide. After having successfully downloaded all packages i should now be able to copy and install the modified build. Unfortunately, cd ...
Emanuel Schärer's user avatar
2 votes
0 answers
483 views

How to install a desktop GUI on WSL2?

A newbie here. I spent a couple weeks trying to use a desktop GUI on WSL using xfce4 and xrdp. I already tried a couple ways, following some tutorials to make it work, had no success though. So I don'...
kapichy97's user avatar
0 votes
0 answers
80 views

On Ubuntu, my WSL do add the changes which I made and also commits the changes but it do not push my changes to my Git repository

Earlier, when I used to add, commit and then push my changes to my Git repository, my WSL used to ask me about my username and password, after which it successfully pushed all of my new files to my ...
Mamoona's user avatar
0 votes
0 answers
4 views

Cannot install gfortran after release upgrade [duplicate]

I'm using Ubuntu on WSL2 and recently upgraded from 18.04 to 20.04 and then to 22.04 by doing do-release-upgrade twice, which seemed to work fine. But now I cannot install gfortran: >> sudo apt-...
Sebastian's user avatar
  • 101
1 vote
0 answers
66 views

ext4.vhdx corrupted after mounting with guestmount

I'm running windows 11 and Ubuntu 22.04.2 LTS (Jammy Jellyfish) dual boot,yesterday i tried to mount the WSL2 disk image ext4.vhdx from ubuntu using guestmount, this is the command i used: sudo ...
Nero's user avatar
  • 11
1 vote
0 answers
97 views

How to solve the error for Install the PHP on WSL2 Ubuntu?

I use WSL2 Ubuntu 22.04 LTS and tried to install the PHP 8.2. sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt upgrade sudo apt install php8.2 then the error is follow. libapache2-mod-...
Sel's user avatar
  • 11
2 votes
0 answers
2k views

WSL installation is failing with error code 0x80248014

My WSL installation on windows10 is failing with below error code . >wsl.exe --install -d Ubuntu Installing: Ubuntu An error occurred during installation. Distribution Name: 'Ubuntu' Error Code: ...
dnn's user avatar
  • 61
0 votes
0 answers
95 views

how to fix this wsl ubuntu into version 2 , in canary build windows 11 home?

PS C:\WINDOWS\system32> wsl --set-version Ubuntu 2 For information on key differences with WSL 2 please visit https://aka.ms/wsl2 Conversion in progress, this may take a few minutes. The parameter ...
Naveen Sethupathy's user avatar
0 votes
0 answers
20 views

Replace VMware with LXD running inside wsl?

Is it a good idea to replace VMware with LXD running in wsl (Ubuntu) or will it run way worse than a vm in vmware? I really want solid performance and I’m not sure if wsl can get me that.
Luxvoo's user avatar
  • 151
0 votes
0 answers
125 views

WSL2 - Network adapter configuration issues

I'll keep my question pretty general.Please bear in mind I am not a network person. Here is what I understand happens to network traffic from WSL2. Network traffic from WSL2 (for example me pinging a ...
IgetitWrong's user avatar
0 votes
0 answers
104 views

How should I open my html files from vs code ubuntu on google chrome?

How should I open my html files from vs code ubuntu on google chrome? I have watched a couple of videos and also have installed the related extensions I have checked on ubuntu whether there is any ...
Mamoona's user avatar
1 vote
0 answers
140 views

How to get GPU passthrough working on WSL2 with Windows 11 as hosts , Ubuntu 22.10 as guest os and FreeBSD virtualized with qemu-kvm

After a week of hard work,I've just configured my WSL2 subsystem as I want : I have enabled the ZFS support,I can start the graphical applications directly from the Ubuntu command line ; I've ...
Marietto's user avatar
  • 515
0 votes
0 answers
64 views

How to bypass grub user authorization in GNU GRUB

I have a linux machine and I updated the kernel which I shouldnt have done and now the machine won't boot up, I am trying to boot up with a previous kernel from GRUB but the system required me ...
Eyal's user avatar
  • 1
0 votes
1 answer
49 views

Configuring Julius : C compiler cannot create executables

I am sure this question has been asked many times on this forum, yet I am asking this because my context is different. I was trying to install Julius speech recognition on my Windows 10 PC. Of course ...
AWE JHA's user avatar
0 votes
1 answer
307 views

Can Ubuntu 22.04 LTS run on wsl [duplicate]

I was just wondering if Ubuntu 22.04 LTS can run on WSL rather than install a VM or native installation.
Udaya2609's user avatar
0 votes
0 answers
103 views

Unable to run Ubuntu Software app under WSL

I click 'show applications' on the dock, then 'Ubuntu Software'. It starts running (I can see it in the activities bar) - but then it disappears. I've had good success with running Gnome on Ubuntu 22....
user2912826's user avatar
0 votes
0 answers
26 views

After enabling mouse in tmux(3.0a), How to use it to switch Pane or windows. I am using Conemu

I have enabled mouse option setting in conemu(version 220807 64 alpha) as well as on tmux(3.0a on remote system with Ubuntu 20.04.6 LTS) but still not able to switch Panes or Windows with it. If I use ...
ypp174's user avatar
  • 11
0 votes
0 answers
13 views

`snap list` hangs (missing /run/snapd.socket): should I report? [duplicate]

I have Ubuntu running under WSL2. This works fine for the most part, but snap list is hanging with no error. I ran strace snap list and saw this: /run/snapd.socket"}, 20) = -1 ENOENT (No such ...
oligofren's user avatar
  • 630
0 votes
1 answer
27 views

How to change the owner in Linux directory

Can someone please assist with this case. I have a folder called media. I need to change the owner for that directory. drwxr-xr-x. 2 root root 6 Jun 21 2021 media sudo chown prod media ...
Varun K M's user avatar

1
2 3 4 5
26