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
0answers
51 views

WSL Ubuntu installation; How to move/uninstall the installation without Microsoft Store?

I am looking for any documentation on how to alter a current installation of ubuntu1804 WSL installed by the method detailed in the following link. https://superuser.com/a/1273698/953186 Microsoft ...
0
votes
1answer
14 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 ...
1
vote
0answers
14 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
26 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
45 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
35 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
20 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
25 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
93 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
37 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
87 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
39 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
31 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
68 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
38 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
34 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
10 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
44 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
118 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
34 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
63 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
39 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
29 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
51 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
17 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
73 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
16 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
18 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
63 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
60 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
53 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
221 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
64 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
141 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
551 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
25 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
126 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
42 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
50 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
56 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
45 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
254 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
95 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=...
3
votes
1answer
182 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
239 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 ...
0
votes
0answers
47 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
1answer
229 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 ...
0
votes
0answers
1k 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
624 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
184 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.