Questions tagged [windows-subsystem-for-linux]

Windows Subsystem for Linux is a compatibility layer that allows Linux binaries to run natively on Windows 10.

Filter by
Sorted by
Tagged with
0
votes
1answer
52 views

How to get Ubuntu in WSL 2 to talk to an HTTP server on same Windows host?

I am running a console app in Windows 10 which has a self-hosted HTTPS server listening on port 44340. It's an ASP.NET Core website (Kestrel) and its perfectly browsable on the Windows side. I cannot ...
0
votes
0answers
9 views

How to enable nat table Ubuntu runing on Windows Subsytem for Linux

I just installed Ubuntu 18.04 LTS on my Windows Subsystem for Linux. In order to run kafta on docker i need to enable nat table on the system. For some reason, that table is not present.
0
votes
1answer
76 views

Getting CUPS and printing working on Ubuntu with Windows Subsystem for Linux [closed]

I'm building a cross platform printing app and need to test it on various Linux. I could use VMs but I've got WSL just sitting here working and it will be a lot more convenient, at least initially ...
0
votes
0answers
75 views

Enabling service (sshd) on WSL windows subsystem for linux

I can start a service manually with service ssh start but how do I make sshd service start automatically on WSL? systemctl is not working on WSL.
2
votes
1answer
1k views

PyCharm on Windows 10, how to use WSL ubuntu bash to run shell scripts?

I have installed PyCharm Community Edition on Windows 10, my Windows also has WSL Ubuntu installed. We know that PyCharm on Linux can create and run shell scripts because PyCharm use the /bin/bash on ...
-1
votes
1answer
191 views

Real Linux instance vs WSL?

Windows 10 now has the subsystem for Linux available, I want to know what could be the difference between running a real Linux OS on a physical of Virtual machine VS running a WSL Linux instance? Can ...
1
vote
0answers
587 views

WSL issue: cannot execute C:\Windows\System32\Bash.exe from elevated PowerShell - “access is denied” - works in normal CMD/PS prompt (no admin rights)

I have an issue with WSL (Windows Subsystem for Linux) in PowerShell. If I run the Ubuntu 18.04 LTS app (the UWP app) it works as expected. However, if I run and run Bash.exe from an elevated ...
0
votes
2answers
687 views

How to run in background a Linux command in Windows WSL (Ubuntu1804)

In the effort to bring some of the Linux advantages to my customers running Windows 10, I've developed a few bash scripts in order to automate some of their everyday tasks. I use to let them run the ...
1
vote
1answer
487 views

any way to integrate authentication with subsystem for linux?

Looking at windows docs and trying to script this: Invoke-WebRequest -Uri https://aka.ms/wsl-debian-gnulinux -OutFile distro.zip -UseBasicParsing Expand-Archive distro.zip debian cd distro .\debian....
0
votes
1answer
290 views

Windows and WSL docker-machine conflict

I have a windows 10 and I installed the WSL ubuntu 18.04 inside. Since the WSL can't use the docker due to virtualization, i ends up use my DigitalOcean droplet as my docker machine target. I follow ...
-1
votes
1answer
98 views

How to have WSL think it is in the past? [closed]

I am developing PHP/Apache/MySQL based code on my Windows 10 laptop via Windows Subsytem For Linux. I am working on some code that is time related. It has a mix of PHP date commands, and MySQL "NOW()"...
2
votes
1answer
217 views

How do I deal with paths when creating a PowerShell alias for a Windows Subsystem for Linux command?

I am updating my PowerShell aliases to include utilities from the Windows Subsystem for Linux. For example, I want to launch vim from PowerShell. Set-Alias -name 'vim' -Value 'Start-Vim' function ...
1
vote
0answers
241 views

Does Bash through Linux as a Subsystem for Win10 replace Git Bash for Windows?

I'm in the process of learning how to create Wordpress templates, and as a part of that was told to install Git, npm, node and gulp. However, the online course leaves out details about where stuff ...
1
vote
2answers
5k views

rsync server using Windows Subsystem for Linux

Is it possible using the Windows 10 Windows Subsystem for Linux (WSL) to have a rsync server running on a Windows box? We have a linux rsync system that polls Windows boxes currently running ...