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
16 views

Has Windows 1809 broken Powershell's (and WSL's) line wrapping over ssh?

After updating to 1809 last night, I can't use the arrow keys to move around in the Powershell or WSL console windows without it awkwardly wrapping the lines while SSHed into a Linux server. I ...
1
vote
1answer
25 views

Starting GUI programs from WSL using AutoHotKey: how to tell cmd which $DISPLAY variable to use?

I have lately found the correct configuration for using Xming to get gvim.exe started from my WSL (Windows Subon Windows, and I wonder if I can automate the procedure. At the end of the day, I would ...
-1
votes
0answers
28 views

How to install x32 ᴀʙɪ basic runtime libraries support on fedora for x86_64?

Linking C executable cmTC_65714 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_65714.dir/link.txt --verbose=1 /usr/bin/gcc -Ofast -mx32 -malign-data=cacheline -mtune-ctrl=reassoc_int_to_parallel,...
0
votes
0answers
21 views

Where does gdb get installed to when using WSL in VS Code?

I'm using Visual Studio Code to write C and I'm using the WSL terminal. I installed gdb from the VS Code terminal to debug my code, but I have to change miDebuggerPath to gdb installation path. But I ...
0
votes
0answers
21 views

All access right cleared when editing WSL files from Windows

I use Win 10 feature: WSL (Windows Subsystem for Linux). WSL files can be accessed from Windows at the following path C:\Users\%USERNAME%\AppData\Local\Packages\CanonicalGroupLimited....
0
votes
0answers
7 views

Visual studio Code - Debian Installed on Windows Subsystem with Python and virtualenv

So I have Visual Studio Code installed on Windows 10 and I also have Linux Debian installed in the Windows Sub System. I wondering how I can create the code in Windows 10, using VSC, but have it "run" ...
0
votes
1answer
28 views

' Windows Subsystem for Linux' option not showing up in Windows Server 2016

I am using Windows Edition 1607 on Windows Server 2016. I need to enable the ' Windows Subsystem for Linux'. I am unable to find this option in the Add Features option. You can view the screenshot for ...
1
vote
0answers
10 views

aws command works in WSL, but not as one-liner from PowerShell

I'm using WSL (Windows Subsystem for Linux) on windows 10, and installed the Amazon AWS cli on it. When I start WSL (C:\\WINDOWS\\System32\\wsl.exe in PowerShell) and then aws it works fine. If I try ...
1
vote
0answers
20 views

Sane symlinks to parallelize Windows and Ubuntu homes on WSL?

I'd like to link up, insomuch as is possible, my Windows home folder with my WSL Ubuntu Linux home folder. Up to now I've pretty much just gone into Ubuntu bash on WSL and just created a symlink to ...
0
votes
1answer
41 views

Setting up Heroku CLI in WSL

Trying to setup Heroku CLI to work with WSL. Starting by following the directions here for Ubuntu 16+: https://devcenter.heroku.com/articles/heroku-cli sudo snap install --classic heroku Produces ...
-1
votes
0answers
47 views

Visual Studio Code Issue on Windows Subsystem for Linux

I am using xming gui to run vscode(Visual Studio Code) But when I run vscode. I can not move the screen. The tabs are movable. However, vscode itself does not move. Window size conversion is also ...
0
votes
0answers
22 views

Failed to start Hadoop services: localhost: nice: cannot set niceness: Permission denied

I'm trying to install Hadoop on Ubuntu as Windows subsystem, the installation is finished, but I'm getting error while starting Hadoop services. $ start-dfs.sh Starting namenodes on [localhost] ...
0
votes
0answers
88 views

Could not install packages due to an EnvironmentError: [Errno 1] Operation not permitted in the virtual envinronment

I tried to make a python virtualenvironment using virtualenv in I type virtuelenv env --python=python3 I get an error PermissionError: [Errno 1] Operation not permitted: '/mnt/d/venv/bin/python3' ...
-1
votes
0answers
27 views

How to enter WSL automatically whenever cmd.exe is lauched?

Is it possible to let cmd.exe run wsl whenever it is lauched? I am asking this because I use a program (Stata) that can run shell script by opening cmd.exe. But, all the shell scripts are written for ...
2
votes
1answer
195 views

Docker “waiting for an IP” when starting or creating new machine

Been struggling to get this resolved for several days now. Trying to implement a WSL and VirtualBox setup on Windows 10 Pro. The reasons aren't relevant to the issue, but using Hyper-V isn't an ...
0
votes
0answers
33 views

Docker container in Windows Bash ignores non-ASCII characters, work's in PowerShell

I'm running a Python Docker container on my Windows 10 computer. If I add Norwegian specific characters in my Python code, such as print("båt"), and run the container in Windows Bash, the output is bt....
2
votes
1answer
260 views

Wrong string concatenation using Bash Windows Subsystem

I'm having headaches to know why my script doesn't work as expected under windows subsystem linux. My version from the store : Debian GNU/Linux 9.6 (stretch) (I tried ubuntu too, with the same ...
0
votes
0answers
25 views

Is mounting C drive owned by the default user and not root is possible under WSL without updating to windows insider?

I know it is possible to config the mounting points and options on /etc/wsl.conf and /etc/fstab after windows insider build 17093. However, I am using the university machine and it is advised to not ...
3
votes
1answer
160 views

Uniting Putty with WSL-Ansible under the same private key and passphrase

In my PC I use Windows 10 home with WSL-Ubuntu (16.04 - xenial) and Ansible. I often rent IaaS machines and SSH into them via Putty from Win 10 and all of my IaaS machines are usually orchestrated, ...
5
votes
2answers
122 views

Does Microsoft WSL have full support for network and devices?

I have been testing Microsoft's Windows Subsystem for Linux (WSL) which is available on the Windows Store. Does WSL have full support for networking and devices? For instance, can I expect commands ...
1
vote
1answer
85 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
87 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
22 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
137 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
92 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
95 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
145 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
50 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
54 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
67 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 ...
3
votes
1answer
351 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
83 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 ...
-1
votes
0answers
21 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
39 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
14 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
74 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
1answer
88 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
62 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
106 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
268 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
57 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
124 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
148 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 ...
4
votes
1answer
756 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
165 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
259 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
180 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
645 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
114 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?