Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [windows-subsystem-for-linux]

Windows Subsystem for Linux (WSL) is a compatibility layer that allows Linux ELF64 binaries to run natively on Windows 10

0
votes
0answers
38 views

Is there a way to have windows subsystem for linux only run when i open it

Currently what I have done is installed lamp on ubuntu using the windows subsystem for Linux. However when I close ubuntu or restarted the computer, the web server is still active. Is there any way to ...
0
votes
0answers
25 views

In Windows, can I install a python library on Linux subsystem, and run it from Windows?

I work on Windows, and have Windows Subsystem for Linux that I use for installing Python with some Python libraries. I can run these Python libraries from within the Linux subsystem. But, I also want ...
0
votes
1answer
83 views

Can hide Terminator but can't show it again?

I've written a short script to start vcxsrv then run bash -c -l "DISPLAY=:0 terminator" and after a moment the terminal launches, however when I toggle the hide_window hotkey in terminator (I've ...
0
votes
1answer
425 views

windows 10 WSL ubuntu unable to ping anything

I cannot ping any website when I am using WSL for windows 10. I'm running Ubuntu 18.04 in WSL. --- google.com ping statistics --- 14 packets transmitted, 0 received, 100% packet loss, time 38567ms ...
0
votes
1answer
186 views

Deleting WSL after installing Ubuntu from Windows store

I installed WSL back when it was still in beta, in 2016. A few days ago, I also installed Ubuntu from the Windows store, which has a more recent version (18.04), and spiffy text colours (and I presume ...
0
votes
1answer
69 views

VcXrv to connect to X server on vm

System: archlinux as a vm on vmware workstation on windows10 host VcXsrv installed on windows10 host as X-client. The question is: if I start X server on archlinux, how to use VcXsrv as X-client and ...
0
votes
1answer
262 views

friendly-recovery is broken, keeps returning exit status 1

I have Windows Subsystem for Linux running Ubuntu 16.04 (but with Linux Mint 19 packages). At one point, I made the mistake of installing a different kernel, which also installed grub-pc and friendly-...
0
votes
0answers
45 views

Why doesn't vim mouse in WSL work in any terminal emulator other than Windows console?

I can open the vanilla Windows console, type "bash," and use vim with mouse mode (placing cursor, scrolling, etc.). However, it DOES NOT work with the terminals in: Atom VS Code Cloud9 MobaXTerm ...
1
vote
0answers
112 views

Why is `du` on WSL acting giving a directory size greater than machine memory?

I ran into my question while trying to find out which files on my computer are taking up the most space. Here's the information on the total machine memory, found from Windows Subsystem for Linux (WSL)...
0
votes
1answer
33 views

How to make a Tape Drive available in Windows Subsystem for Linux (WSL)?

I have Ubuntu WSL installed on a windows 10 machine. I also have a tape backup device connected to this machine. The tape drive shows up in device manager and works as intended under Windows, but we'...
0
votes
0answers
29 views

'reset' Doesn't Clear The Terminal In Windows Subsystem For Linux

I've installed Debian (stretch) in the Windows Subsystem For Linux. In bonified Linux installations, this will clear the backlog of the terminal window, but does not work in this environment. Is there ...
0
votes
1answer
250 views

How to do updates to TeX Live under WSL?

I want to use latex inside WSL (Ubuntu 18.04 is what shows in my Apps and Features) because I want a linux-based install (to use bash scripts, etc.). I managed to install TeX Live following ...
0
votes
1answer
413 views

How to connect to MySQL running on XAMPP through WSL terminal

MySQL is running on XAMPP and working fine. I am trying to connect to it through the Windows Subsystem for Linux running a Flask app using flask-msqldb. But when I run the Flask app and try to make a ...
0
votes
0answers
178 views

Composer is slow on my windows machine, but fast on a VM (ubuntu) on the same machine

So, I have windows on my machine, when I run composer commands; for this we will install a cached version of laravel, it is much much slower than a vm on the same machine with ubuntu (1/6 of the specs ...
2
votes
1answer
1k views

Getting `sshfs` working on WSL or finding an alternative

My university's CS department has its own server used for development (from here on out, dev.univ.edu). I have SSH and SFTP access to this server, and I was hoping to do some heavy work on my Windows ...
0
votes
0answers
100 views

Super+L not passed through and getting stuck with VcXsrv

Started using VcXsrv on Win10 in order to run fully fledged linux environment with a window manager. Server is launched with -keyhook option so modifier keys get passed to the clients as well. But ...
2
votes
1answer
572 views

bash.exe/ubuntu wsl in full screen mode windows10

How can we achieve this? I need to hide taskbar and also put bash.exe in full screen mode to have better view and focus.
6
votes
1answer
2k views

Does the WSL from Windows 10 Spring update (2018) allows me to run docker on it? and why?

I heard that "Windows 10 Spring Update Bringing WSL Unix Sockets Support". Before, I was unable to run docker service into a WSL due a socket error. Cannot connect to the Docker daemon at unix:///...
0
votes
0answers
71 views

WSL, when logging in to bash, I have to type it twice for it to register my bashrc profile

I am using Windows Subsystem for Linux, with ubuntu 16, when I go to my cmd line and type bash it logs in to bash: typed bash under my mnt/c/Users/natec/bashrc$ I have in the file ~/.bashrc But my ...
1
vote
1answer
650 views

Windows WSL Ubuntu sees wrong permissions on files in mounted disk

I recently installed WSL on my Win 10 (Version 10.0.17134.228) and I'm trying to access my files on a disk mounted on windows from linux. In my PC I have 2 HD: First Disk: A single partition where ...
0
votes
0answers
72 views

Permissions error for id_rsa in Linux Subsystem for Windows (custom home from mnt/c/Users)

I'm sharing my home directory in Windows 10 with my user's account for WSL - I even set my Windows home to my Linux home with usermod - and have been getting along great until my most recent update. ...
0
votes
1answer
64 views

How to configure terminal like this?

I found a terminal theme in this video @ ~7min. I love it but I don't know how to configure terminal like this. Would you please help me? It seems this Ubuntu is running in Windows Linux Subsystem ...
0
votes
0answers
75 views

How can I recursively change permissions for files and directories on Windows Subsystem for Linux?

Every time I use sudo chmod -R +755 * or sudo chmod -R +755 ., it resets all of the file permissions to 000 in the directories and subdirectories. If I run sudo chmod +755 *, it will properly add ...
1
vote
1answer
154 views

How to make nginx pages running on wsl visible on the local area network(lan)?

ah my last piece of the puzzle in creating a great dev environment... Nginx runs fine on wsl ubuntu 16.04. On the windows machine I can see pages with url localhost or url of any ip address in ...
2
votes
1answer
992 views

Arch on WSL: libQt5Core.so.5 not found, despite being installed

I was hit by some hardcore power-tripping forum mods on the Arch Linux forum, so here I am. I'm trying to run GUI apps on WSL, such as dolphin or kate. However, none of them can find libQt5Core.so.5, ...
0
votes
0answers
181 views

spawn php ENOENT when using XDebug in VSCode

VSCode 1.25 version, XDebug 2.6, php-fpm 72, Windows 10 (1803). I have installed xdebug itself and vscode xdebug extension using this info: https://marketplace.visualstudio.com/items?itemName=...
4
votes
1answer
534 views

Linux Subsystem for Windows: Atom and Visual Studio Code close immediately

There is a couple of guides out there on how to get GUI applications running in Linux Subsystem for Windows (WSL). I tried to follow a handful of them, but each of them had something in common: Both ...
0
votes
1answer
793 views

Get a Linux Distro for WSL on Windows 1703

I am using Windows 10 on my company Laptop. I do have the privileges to install the Windows Subsystem for Linux on my System and I successfully did so. However, the currently available Linux Distros ...
1
vote
1answer
121 views

while on WSL bash, can you invoke window's gitk on current directory?

Suppose you're working on WSL cli bash, then you want to use gitk of the Windows on that current working dir, can you do this? Regards,
1
vote
3answers
486 views

Docker on WSL won't bind mount $HOME

I originally asked this on Stack Overflow, but I thought Super User might be more appropriate. I have the strangest situation using Docker on WSL (Windows Subsystem for Linux, Ubuntu 16.04). I'm ...
2
votes
1answer
3k views

Is WSL now available on LTSB?

As documented here and elsewhere, the windows subsystem for Linux is currently in beta and therefore not available on Windows 10 Long-term Service Branch. My experience on LTSB is that you could ...
2
votes
2answers
2k views

How to make WSL run services at startup

After searching this site and various Q, it is clear that services and systemd is not available for WSL. I need to run a program in WSL every time I start my PC so I read this page on how to use ...
0
votes
2answers
388 views

Anyway I could change my OS Build?

My windows 10 computer has os build 10240, and I need higher for Windows Subsystem for Linux but I have used it before but I performed a factory reset. Please help.
-1
votes
1answer
290 views

Windows Linux Subsystem - Accessing restricted Files outside of WSL

I want to run rsync from within WSL and backup my windows copy. (Because the windows tool does not work. If you use it, check your backups! Anyway, so...) I am mounting my backup drive with sudo mount ...
1
vote
1answer
453 views

Alias file not working in Bash on WSL (Opensuse Leap 42.3)

I have my alias file set up like so in Bash in WSL: alias gvim='/mnt/d/Vim/vim81/gvim.exe' alias vim='/mnt/d/Vim/vim81/vim.exe' alias pngcrush='/mnt/c/Users/nathan/Downloads/pngcrush_1_8_11_w64.exe -...
1
vote
1answer
134 views

Weird file not found in WSL

I can open files with Vim, but i can't compile them with cc every time it says: cc: error trying to exec 'cc1plus': execvp: No such file or directory files are also listed in ll
3
votes
3answers
2k views

How to open windows explorer from current working directory of WSL shell?

When I type "bash" to the windows explorer address bar and hit Enter, it opens the shell in that directory. Often I find myself wanting to work on files with windows programs in the working directory ...
0
votes
0answers
188 views

Cannot activate/turn on Windows Subsystem for Linux feature on Windows 10

I'm having a really strange issue with turning on the Linux subsystem on Windows 10 and I've scoured the internet to see if anyone has had this issue -- to no avail. Basically, I click the checkmark ...
0
votes
0answers
437 views

Letting Windows Subsystem for Linux through the Windows Firewall

I'm using Windows Subsystem for Linux with Debian on Windows 10. I'm using the Windows Firewall. I am using the setting "Outbound connections that do not match a rule are blocked" because I value ...
1
vote
0answers
374 views

Font not in Windows 10 console properties list

I've been trying to customize my WSL lately (Windows 10 Pro N version 1709). However, the font I'm trying to use (the Windows compatible nerd-fonts version of FiraCode Regular) does not show up in the ...
1
vote
1answer
459 views

Change home of WSL to /mnt/c/Users/YourWindowsUser

What I'm trying to do I tried to edit the home dir of the windows subsystem (in my case Ubuntu) to my default User in Windows. Why? Because I want to replace Cygwin or at least check if it's viable ...
0
votes
1answer
157 views

How can I force quit bash?

I'm running the Windows Subsystem for Linux, and for some reason the bash window is not closing. I started Task Manager in order to force quit it, but it's not showing up as a process. How can I ...
3
votes
1answer
5k views

Setting up X11 forwarding over SSH on Windows 10 Subsystem for Linux?

I have a Raspberry Pi 3 Model B+ connected to my local network and I can SSH into it with no problems. This does cause some problems though as everything is done on the command line. What I would ...
1
vote
1answer
270 views

How do I recover my legacy WSL without data loss?

I have had the Windows Subsystem for Linux installed for a long time. Today, after a clean boot of my Windows 10, it fails to start, with the regular error message: Windows Subsystem for Linux has ...
0
votes
0answers
856 views

sftp from Windows-10-v-1803 into WSL Ubuntu-18.04 ssh-server… won't connect

Though there are interesting suggestions in: How can I SSH into "Bash on Ubuntu on Windows 10"? They may be obsolete in Windows-10-v-1803 with the new implementation of WSL. I Installed WSL ...
2
votes
2answers
556 views

How do I stop the Linux terminal in Windows from making the error sound?

If I'm in an empty Linux terminal in Windows (using the Windows Subsystem for Linux), and I hit backspace, I hear this annoying error-like sound. My Windows computer used to do this, but then I turned ...
2
votes
1answer
271 views

ssh-agent rendered unusable after single use

I'm using Ubuntu 18.04 on WSL (Windows 10 1803, Build 17134.112), and lately I've noticed an issue with ssh-agent. When I start up a shell, before connecting to anything over SSH, I first call ssh-...
0
votes
3answers
3k views

How to reset kali linux password in windows subsystem for linux

I have installed Kali Linux subsystem on windows. And now I have forgotten the root password in Kali, there is just the terminal of Kali Linux and nothing else. How can I reset my password safely? ...
0
votes
1answer
209 views

Can I run cool-retro-term (or other visual shell programs) on WSL using Xming without requiring the original terminal to continue?

I open up the WSL Ubuntu Bash, export DISPLAY=:0, and then fire up ./cool-retro-term; this works perfectly, but it by necessity crashes the CRT if I close the bash. Any tips on avoiding this?
0
votes
1answer
100 views

Can't change owner or group of copied files. Strange permissions listing

I copied a bunch of files from a Mac onto a USB SSD drive. Now I'm trying to look at them in Windows, or in Windows Subsystem for Linux Ubuntu. I'm getting permission errors for everything. What is ...