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

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
1answer
30 views

How to mount windows 10 drive on WSL home directory?

I would like to mount drive D on /home directory in WSL while letting C drive to be mounted on /mnt or not mounting it at all. How can I do that?
0
votes
2answers
51 views

Opening a wsl shell from another windows application

I'm trying to configure Tower (git client) to launch a wsl bash shell. I've tried a whole bunch of things, but it seems this isn't intended. What I tried: command: c:\windows\system32\wsl.exe ...
0
votes
1answer
16 views

Error launching Ubuntu shell on Windows

When trying to launch Ubuntu 18.04 on Windows 10 via WSL, I get the error: WslRegisterDistribution failed with error: 0x800703fa Press any key to continue...
0
votes
2answers
46 views

How to set up SSH key for git on Windows 10 Ubuntu subsystem

I'm using the ubuntu bash (subsystem) on windows 10 as my shell. I have a gitlab git repository that I cloned. When I use the git from this shell it is separate from my windows git and I'm unable to ...
-1
votes
2answers
70 views

Would upgrading to Windows 10 Pro and enabling WSL affect my laptop's performance?

I just got a new laptop, which I chose mainly for its long battery life. It has an i5 8th gen processor and 8GB of RAM. It came with Windows 10 Home. Now I am intrigued by the idea of having a Linux ...
1
vote
1answer
63 views

Use Linux Mint to access files from "Windows Subsystem for Linux” written by Ubuntu

I have Windows installed on my C: drive, and I have Ubuntu/Bash in Windows.  I have a second partition with Linux Mint.  On Windows bash I tried to use fdisk -l to see what partitions there are, ...
0
votes
1answer
65 views

Do I launch the app XLaunch for every login to use GUI in Ubuntu WSL in windows 10 pro?

I have Ubuntu 18.04 LTS WSL in y Windows 10 pro. To set graphic user interface in Linux bash shell I installed XLaunch. But to use GUI in my WSL for every login in my pc I need to launch XLaunch. Is ...
0
votes
1answer
42 views

How do I configure which Linux distribution WSL uses?

I have two Linux subsystems install Ubuntu 18.04 and Kali Linux. Presently when I run wsl ls ~ it executes on Kali Linux how do I instruct wsl.exe to execute commands on Ubuntu 18.04? From command ...
0
votes
1answer
41 views

Case-sensitive file names in Windows' Linux subsystem

I'm running Windows 10 and I frequently use the Linux subsystem on Windows. If I use the Linux system to create a folder, the file names in that folder will be case sensitive. This will sometimes ...
0
votes
1answer
29 views

Tmux on Windows WSL: unable to start a new pane at current directory

Trouble: With identical settings, and a safety check command, firing shortcuts to create new panes in Tmux on WSL only get me new panes started at home dir. Settings as well demonstrations go as ...
1
vote
1answer
151 views

Blurry fonts on using Windows default scaling with WSL GUI applications (HiDPI)

Is there a way to fix blurry fonts in linux GUI applications when being run from WSL (Ubuntu 18.04) using the default Windows scaling? Things I have tried so far: With Xming: Tried disabling ...
0
votes
1answer
60 views

Missing Vim registry `*` on Windows 10 WSL? Not really :)

For the bare version of Vim that comes with WSL on Windows 10, attempts to "yank to registry *" will fail with the following error message: One way to reproduce the symptom is to assign the following ...
0
votes
0answers
15 views

Edit Php files using netbeans installed on windows and run using windows subsystem linux

WSL with LAMP and got my copied project(PHP-symfony) running, and have installed netbeans on windows,now in need to edit the files through this. The Project is at mnt/c/myprojects/project. changed the ...
0
votes
0answers
33 views

What does the Byobu / tmux copy mode do and how can I customize it?

I've recently taken the plunge into using WSL heavily for my shell environment; and since it turns out the Windows console is the only not bad terminal for WSL, I'm trying to figure out tmux and byobu ...
0
votes
0answers
11 views

How to use screen in the Windows Subsystem for Linux? [duplicate]

I want to automatically start screen when I start the Ubuntu 18.04 subsystem on Windows 10. On (a native or differently virtualized) Ubuntu I add screen to ~/.profile or ~/.bash_profile. ...
0
votes
0answers
25 views

How to finish an aborted Ubuntu subsystem initialization? [duplicate]

I installed the Ubuntu subsystem with 18.04 on Windows 10. The installation was apparently stuck at ~"Installing...", but when I pressed Enter the output ~"Please enter a new UNIX username:" was shown ...
0
votes
1answer
37 views

Pass command to WSL Ubuntu 16.04 upon opening/booting WSL ubuntu

After setting up a cron job, I am trying to: automatically enable cron service when I open the Windows Subsystem for Linux Ubuntu 16.04 app from the Windows App Store. Currently I am trying to reach ...
2
votes
0answers
33 views

How to change the dark blue in wsl to something brighter?

How to change the dark blue in wsl (Windows Subsystem for Linux) to something brighter? Here is a picture of a config file opened with vim. I basically see a black screen. I cannot read it. And the ...
0
votes
1answer
52 views

Connecting to Windows Subsystem for Linux from an Ubuntu server using SSH but it says: Permission denied, please try again

I have installed Windows Subsystem for Linux (Ubuntu 18.04) on my system from the Windows store. After installation by default it asked to make a user. I made a user of "sark"; it is a root user. I'm ...
1
vote
0answers
67 views

Change Title of Bash on Ubuntu on Windows

Is it possible to change the title that Bash on Ubuntu on Windows displays in its title bar? By default it's set to <username>@<computername>:<CWD>. I'd like to, say, add Bash on ...
0
votes
1answer
138 views

WSL is enabled on windows 10 but Linux.exe errors that it is not enabled

When I run ubuntu1804.exe for having "Linux distros for WSL", I receive this: The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again. See https://aka.ms/...
0
votes
0answers
47 views

How to use PHP installed in Windows 10 Linux subsystem on Visual Studio Code

I am facing a troublesome issue where I would like to use PHP in Visual Studio Code. PHP is installed to Linux Subsystem, because I liked the idea of having all my website stuff in one place. Now I ...
0
votes
0answers
86 views

Windows Subsystem for Linux Ubuntu: ssh-agent running but ssh-add complains “Could not open a connection to your authentication agent”

I use WSL with Ubuntu on my laptop to develop on Linux while I'm away from my desktop (with native Linux, where I don't experience any problems like this). I have private git repo setup, and I use ssh ...
0
votes
1answer
135 views

WSL process causing DPC_WATCHDOG_VIOLATION

I'm using Bash on Ubuntu for Windows on Windows 10. Disclaimer: I'm relatively new to Windows. Have almost exclusively used unix systems I'm downloading ~1 mil images, in groups of up to 100k, by ...
3
votes
1answer
273 views

What is the difference between Windows Subsystem for Linux (WSL), Cooperative Linux (coLinux), and Cygwin?

Did anybody still remember coLinux? I remember it is used for SpeedLinux and Portable Ubuntu some years ago. It's pretty clear what is coLinux doing, running Linux on top of Windows somehow, but can ...
0
votes
1answer
120 views

Why am I seeing separate “wslbridge” processes when running ConEmu with default settings?

Running a WSL shell using default ConEmu settings leads to 4 identical wslbridge-backend processes. Is this WAD? What's going on? Also, trying to track down where ConEmu is setting the SHELL=/bin/...
0
votes
1answer
112 views

Cannot access external drive in Windows 10 Linux Subsystem bash

I'm using Ubuntu 16.04 over the Windows 10 Linux subsystem. When I plug in an NTFS external hard drive (D:) I cannot access it over the bash, when I run ls -la /mnt I get the following output: rwxr-...
1
vote
0answers
111 views

Set WSL sudo password to my Windows password

My Windows password changes every 90 days (corporate security requirements). I have Windows Subsystem for Linux (WSL) enabled and use it regularly - my sudo password is statically set and different ...
0
votes
2answers
353 views

apt-get install is not working in WSL

Windows 10 Ubuntu bash failing to install packages. Whenever I try install new package with below command, getting same error. root@VASI-HOME-PC:/mnt/c/Users/vadap# apt-get install atom Reading ...
0
votes
1answer
81 views

Ubuntu Windows Subsystem /mnt/c not working [closed]

I have added my folder to /mnt/c but still nothing showing.. this is so frustrating, the number of hours I have wasted. Any ideas please superuser community?
0
votes
0answers
35 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
21 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
60 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
267 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
0answers
48 views

Strange characters (ΓûÇ …) in WSL when running commands

When I run commands in my WSL, often but not always, the shell is full of such characters: ΓûÇ ΓòóΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûêΓûê Sometimes it is ...
0
votes
1answer
112 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
0answers
43 views

Any way to have 10 bluethooth devices on windows 10?

I'm writing a game that needs many bluetooth devices, that I may sell. I've seemed to only been able to get one bluetooth radio to work, each bluetooth radio supports up to seven devices, furthermore, ...
0
votes
1answer
47 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
181 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
31 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
99 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
24 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
26 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
166 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
194 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
121 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 ...
1
vote
1answer
882 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
82 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 ...
1
vote
1answer
383 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.
4
votes
1answer
1k 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:///...