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

5
votes
0answers
3k views

WSL Bash doesn't start

I have been using Windows 10's Windows Subsystem for Linux bash (Ubuntu via Microsoft Store) in the last few weeks, no problem, awesome feature, couldn't be happier. But today it suddenly stopped ...
5
votes
0answers
645 views

How can I preserve the WSL linux environment while doing a Windows 10 system “reset?”

This post mentions simply restoring the WSL directory partially restored WSL, but with some functionality issues. This post gives generic information for how to back up and recover a linux ...
5
votes
0answers
2k views

What's this error in SSH on Windows Subsystem for Linux? setsockopt IPV6_TCLASS 16: Operation not permitted

I am using Windows Subsystem for Linux. When I login to my home server using SSH, I first get the following error setsockopt IPV6_TCLASS 16: Operation not permitted: and then everything works as ...
5
votes
0answers
4k views

Edge “security certificate is not secure” since bash installation

Description I am running Windows 10 Insider - Build 14316. I managed to reproduce the issue by reverting the update and try it again to see exactly when the problem occurs. So, I activated Ubuntu On ...
4
votes
0answers
301 views

-keyhook parameter is not working with VcXsrv on Windows 10

I am running Xfce in Full-Screen mode using Windows Subsystem for Linux and VcXsrv. I'd like to use Alt + Tab to alternate between open Xfce programs. However when I press Alt + Tab it triggers ...
4
votes
0answers
2k views

How do I get mDNS (avahi) to work on Windows Subsystem for Linux?

I've followed the last example in this thread: https://github.com/Microsoft/WSL/issues/384 In other words: ~$ sudo service dbus start * Starting system message bus dbus ...
3
votes
0answers
218 views

Migrating WSL configuration to another machine

I have WSL set up on two machines, my laptop and my desktop. I spend most of my time on my laptop so that version is configured exactly how I want it. To save me reconfiguring WSL on my desktop (and/...
3
votes
0answers
181 views

Fix console character set in Windows Linux Subsystem's byobu

I have been working with Windows Linux Subsystem for a while but having some minor issues in byobu: I can see the same problem when running bash+byobu from PowerShell, as well as running through ...
2
votes
0answers
773 views

How to use Windows WSL to configure routing? Is this possible?

I noticed that IP forwarding appears to be enabled in WSL (Windows 10pro 1709), according to sysctl. I'm hoping I can use this to make a software router on WSL -- to play with Hyper-V VM traffic on ...
2
votes
0answers
235 views

Can't install linux-libc-dev on WSL/Bash on Ubuntu on Windows

I'm trying to install linux-libc-dev on Bash on Ubuntu on Windows (the Windows Subsystem for Linux). This is to fix an earlier bash error: The following packages have unmet dependencies: libc6-dev : ...
2
votes
0answers
3k views

Using Gnome Desktop on Windows WSL version of ubuntu

For Windows 10 Pro 64 Bit, is there a way to install the Gnome Desktop in the Windows (WSL downloaded from the MS Store) version of Ubuntu? Or do I need to use a different distro?
2
votes
0answers
373 views

How to paste in windows wsl without using mouse?

Recently I installed Ubuntu WSL in windows, but I can't paste text to the terminal using keyboard(like ctrl+v before). I can use right click to paste, but it's just inconvenient. Is there a way that I ...
2
votes
0answers
481 views

Permission Denied For Folders in Mounted VHDX/VHD in WSL (Windows 10)

I have created a VHDX (GUID type) file in Windows 10. It is mounted as an NTFS formatted drive with drive letter X:. When I open the bash (Ubuntu on Windows 10/WSL), I am able to cd /mnt/x However, ...
2
votes
0answers
1k views

Windows 10 Linux Subsystem. initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

I install MongoDB (in Linux Subsystem) with sudo apt-get install mongodb and when I try to start it with sudo service mongodb start I have the following error User@DESKTOP-TPQIRNP:/mnt/c/Users/User$...
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
18 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 ...
1
vote
0answers
102 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 ...
1
vote
0answers
174 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 ...
1
vote
0answers
110 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)...
1
vote
0answers
369 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
0answers
164 views

How can reverse-SSH be established with Windows Subsystem for Linux (WSL)?

I need reverse-SSH access to Windows Subsystem for Linux (WSL) Ubuntu. Normally this isn't a problem with Linux machines but with WSL it isn't working. First I establish the reverse SSH connection ...
1
vote
0answers
2k views

Why do I keep getting “Authentication Failed” on Github when running through the Win10 Linux subsystem?

I'm on a machine running Windows 10, with Developer Mode enabled and the Linux Subsystem installed. When I switch into bash, I am trying to run a simple clone command from git: git clone https://...
1
vote
0answers
743 views

SSH from a Ubuntu VM on Win 10 Hyper-V to Ubuntu on WSL

I just setup a small lab with an Ubuntu 17.10.1 VM on Hyper-V on a Win 10 host, and was trying to SSH from this VM into the WSL (Windows Subsystem for Linux) Ubuntu Instance in Win 10. I am constantly ...
1
vote
0answers
132 views

WSL ffmpeg BSoD KERNEL_SECURITY_CHECK_FAILURE when killing from Python

My computer is bluescreening (KERNEL_SECURITY_CHECK_FAILURE) when running ffmpeg from bash (from python) and trying to kill the process (This is on WINDOWS with Windows Subsystem for Linux). The ...
1
vote
0answers
488 views

How to enable colors with Win32-OpenSSH and Putty?

Summary There seems to be a bug in Win32-OpenSSH that prevents colors to be shown in certain terminal emulators such as PuTTY and mintty. Win32-OpenSSH seems to replace the color escape sequence "\...
1
vote
0answers
366 views

Using Ubuntu Monospace with terminator on WSL

I am attempting to configure terminator to use Ubuntu Monospace under WSL. What's the proper font = setting the .config/terminator/config to accomplish this? I am running Xming as my X Server. Does ...
1
vote
0answers
94 views

WLS, backup process and Windows Update - disk space lost

I was running Restic within WLS when my PC restarted due to an update. The backup process was writing to my external HDD on /mnt/j. After the update, the computer restarted and I noticed that I was ...
1
vote
0answers
620 views

24 bit color themes in vim/neovim in linux subsystem for windows

Right now colors in vim are all wrong. As you can see I've tried wsl-terminal con-emu and settings colors in default terminal application to match solarized theme. All terminals (except conemu) use ...
1
vote
0answers
183 views

Unable to use dashes in referential filenames, Why?

I recently setup Windows Subsystem Linux and created a symbolic link to a Windows folder in the Apache2 default server folder like so... ln -s /mnt/c/Users/user/Desktop/folder /var/www/html ...so ...
1
vote
0answers
380 views

When I run “sudo compiz” on Windows Subsystem for Linux

unity.debug.interface DebugDBusInterface.cpp:216 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: cannot open shared object file: No such file or directory WARN 2017-07-04 09:07:...
1
vote
0answers
682 views

Change Username Color in Bash on Ubuntu on Windows Terminal

On my laptop, I recently set up Bash on Ubuntu on Windows, and I noticed that the username was green like so. Now on my other computer, I installed Bash on Ubuntu on Windows almost immediately when ...
1
vote
0answers
571 views

How WSL sets path variable in ubuntu?

Recently WSL started to include NT path in ubuntu PATH variable. But I can't find how it does that? Where should I look?
1
vote
0answers
84 views

How to know when features from Windows Insider builds are publicly released?

I'm using the Windows Subsystem for Linux (WSL.) New WSL features being released in Windows Insider builds. I'm not signed up for Insider builds - I want to limit myself to features that I can ...
1
vote
0answers
423 views

Simulate reboot to clear tmp on the Windows Linux subsystem

I've been using the Windows Linux Subsystem quite intensively for LAMP development. I notice how my SSD was filling up and after running WinDirStat I found that /tmp was over 30GB in size! Is there a ...
1
vote
0answers
260 views

Issues SSHing from Windows host to Linux guest

I’m trying to SSH from Windows host to Linux guest. Rather than using PuTTY and the like I’m trying to use Bash on Ubuntu on Windows (Windows Subsystem for Linux). In VirtualBox I have the network ...
1
vote
0answers
688 views

Java path isn't getting set in bash on Windows

I am using Linux on Windows subsystem and when I try to run a code, i get the Unsupported major.minor version 52.0. I realize this is due to java version incompatibility. So I set the JAVA_HOME and ...
1
vote
0answers
225 views

Local Django Server Runs from Windows Command Prompt but not Windows Subsystem for Linux

I can start my local Django server from Windows cmd prompt and Windows Subsystem for Linux (WSL) from the same directory using python manage.py runserver. The website works fine when I start the ...
1
vote
0answers
826 views

How to access BitLocker encrypted drive with Windows Subsystem for Linux

I can see the mounted container in /mnt/w/ but cannot access any contents there.
1
vote
0answers
272 views

How to disable Alt-A keyboard shortcut in Windows' Bash (WSL)?

I SSH with WSL Bash to another machine where I use an app that needs to receive the "Alt-A" keyboard sequence. However it doenst work, I get a chime sound when I press Alt-A. However, pressing Alt-X ...
0
votes
0answers
18 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
11 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
5 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
0answers
20 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
72 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' ...
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....
0
votes
0answers
24 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 ...
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
56 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
122 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
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 ...