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

WSL - Linux files don't update when Windows files are modified

I have installed Windows Subsystem for Linux and created a symbolic link to a folder with web development files in it.  Let's say I had a file C:\Users\Anthony\Desktop\foo\bar.css that said background:...
0
votes
1answer
698 views

Windows 10 Linux Subsystem Redis not auto-starting

I have installed Redis on Windows 10 Linux Subsystem. I followed the instructions available at https://redis.io/topics/quickstart and I have taken care that I followed all the steps mentioned in ...
2
votes
1answer
4k views

Use accelerated graphics on Windows 10 Linux subsystem with Xming?

I've got Ubuntu 16.04 running in Windows 10 16251.0 as a Linux subsystem, and I've got Xming-mesa 6.9.0.31 installed. I launch Xming using Xming :0 -multiwindow -clipboard Then in my Ubuntu bash ...
4
votes
2answers
1k views

Can't install linux-libc-dev in Ubuntu on Windows

I'm trying to install linux-libc-dev with apt-get in Windows Subsystem for Linux (ubuntu), but I get an error and I can't seem to resolve it: dpkg: error processing archive /var/cache/apt/archives/...
0
votes
0answers
350 views

Same local ports and remote ports with Xming

I run some X11 GUI apps (e.g. Xeyes, Xcalc, Xclock) in Windows Subsystem with Xming as Xserver. By analyzing the ports with TCPView, I find that local ports of X11 apps (Xclient) and remote ports of ...
1
vote
1answer
3k views

Windows 10 Linux subsystem ssh-agent not persisting added identities

I have started using my Windows 10 for Rails development and am using Linux subsystem for the same. Recently I faced an issue connecting to a remote machine via SSH from the terminal. The public key ...
2
votes
1answer
1k views

A workaround which lets you use `mk-build-deps` (and fakeroot) on the Windows Linux Subsystem on Windows 10

apt-get build-dep apt-get build-dep is a useful tool. It installs the "build dependencies" of the specified application. For example: sudo apt-get build-dep firefox will install all the tools you ...
-1
votes
1answer
226 views

no “Windows subsystem for Linux (Beta)” available

I'm trying to use Linux shell on my windows and this is my system info: I followed this instruction: Install Linux bash on windows but there is no "Windows subsystem for Linux (Beta)" available. can ...
0
votes
1answer
294 views

Yet again confused why ssh key auth does not work from WSL on W10 to my Centos 7 server

I have ssh keys generated, I have pubkey authentication uncommented and set to yes in my /etc/ssh/sshd_config file. Anyone see anything I am missing/don't understand in my config? Makes me sad to type ...
1
vote
2answers
324 views

Applying a WIM with duplicated file entries

I wanted to cleanup the partition table on my drive, so I grabbed another drive and made a Windows To Go workspace. In that WTG system, I backed up my exising Windows 10 with DISM. Then I cleaned the ...
1
vote
2answers
3k views

Launch GUI Application in WSL without XServer

I have installed windows 10 (b.1703) creators update recently and I am using ubuntu subsystem(WSL).There I have installed Visual Studio Code successfully.Problem is that any GUI elements required ...
0
votes
1answer
433 views

How to open `cmd.exe` maximized from the explorer context menu?

I am trying to set up the new Windows Subsystem for Linux (WSL) to open from the context menu: So far I followed the tutorial on http://winaero.com/blog/add-bash-to-the-folder-context-menu-in-windows-...
1
vote
3answers
2k views

How do I launch Windows Explorer from the WSL Bash command line?

Navigating between the WSL Bash shell and the Windows environment can be challenging because the path in windows is say: C:\Windows and in bash it is: /mnt/c/Windows Launching the Windows Explorer ...
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
680 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 ...
0
votes
0answers
1k views

How can I get changes to `/etc/resolv.conf` to persist on Linux Subsystem for Windows?

I have no network connectivity as per this issue. In trying to troubleshoot it, one of the first suggestions is editing /etc/resolv.conf. When you initially open the file, it looks something like this:...
1
vote
1answer
70 views

File access error when running webpack/angular-cli on Windows Ubuntu Bash in WebStorm

I just started using Windows Ubuntu Bash. Everything seems working fine except one very enjoying problem. When I run angular-cli and/or webpack server and I edit project file at the same time my IDE ...
0
votes
3answers
3k views

Opening Linux Subsystem (Bash on Ubuntu on Windows) at a certain directory

Are there any arguments available so the bash doesn't start in the home dir, but another one? Thank you
2
votes
0answers
1k views

Change storage Disk for Windows Subsystem for Linux [duplicate]

I had recently installed the Windows Subsystem for Linux in my Notebook, where I have two disk for storage: - C:/ an SSD of 128GB - D:/ an HDD of 1TB By default the Windows Subsystem for Linux its ...
2
votes
1answer
757 views

Optimize startup speed of zsh in WSL

I'm currently using zsh as my shell on my Windows machines running WSL. Everything seems to be working fine, but one thing that keeps bugging me is the loading time on each shell startup. On each ...
0
votes
1answer
187 views

How can I configure Windows 10 to prefer bash in my PATH over the WSL Bash Launcher

I've installed msys2 on my system, which provides a program named "bash" in C:\msys64\usr\bin\bash.exe. I've also installed WSL on my system, which provides a launcher named "bash" in C:\Windows\...
1
vote
1answer
588 views

Windows Subsystem for Linux - sudo does not ask for password everytime

I'm becoming increasingly concerned with the relaxed effort I'm getting from sudo. In a VM im testing WSL. The VM is just for the windows guest, so I can see what I can access with WSL, and what I can ...
1
vote
2answers
857 views

Run 64bit program from 32bit shell

I switched from Cygwin to WSL recently and have a problem with Sourcetree and commithooks. Sourcetree uses it's own version of Cygwin (32 bit) to run git. My development environment runs on WSL (...
5
votes
1answer
11k views

Can't find “Windows Subsystem for Linux” feature to install Bash for Windows

I'm trying to create a GitHub page with Jekyll on Windows, but to do that I am told I need to install Bash on Ubuntu on Windows. Ok, fine, so I go to Bash's installation guide. My computer is 64 bit, ...
0
votes
1answer
907 views

Cannot open VCXSrv

I am using Windows 10 Home on a Dell Inspiron 1545 laptop. I know the product is not tested for Windows 10 upgrade, but this question still applies. When I open VCXSrv, it shows: Cannot move old log ...
8
votes
3answers
5k views

How to use the windows installation of java from BashOnWindows10?

I'm not able to run the windows version of java.exe from BashOnWindows10. It is present in PATH, but the invocation fails silently. My goal is to avoid having to install the JDK/JRE again in WSL. As I'...
1
vote
1answer
666 views

Port not accessible outside local machine

I am trying to run a server with port 3002 inside the linux subsystem. However I am not able to access the server outside of my local machine of the same network. Problem How do I access a server ...
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?
2
votes
3answers
983 views

WSL / Bash on Windows 10: Creating UNIX user failed, returned error code 10

When trying to create user accounts in Bash on Ubuntu on Windows 10 I receive: Creating UNIX user failed, returned error code 10. When entering bash I get the message groups: cannot find name for ...
4
votes
2answers
1k views

What's the difference between WSL, SFU, SUA/Interix, the POSIX subsystem, and Cygwin

I did find a lot of information about how the Windows Subsystem for Linux (WSL) works on the msdn Blog. I know it's based upon translating the Linux syscalls to NT syscalls in real time and therefore ...
0
votes
1answer
3k views

sed: can't read /etc/dbus-1/session.conf: Input/output error

Following a guide on ZDNet here, I have been trying to get ubuntu desktop working on Windows 10. though one line of code has been giving me trouble. sudo sed -i 's/<listen>.*<\/listen>...
0
votes
0answers
552 views

Docker client on WSL cannot connect to Docker for Windows

I have docker set up on my Windows machine with WSL like this: (similar to what's described here https://www.reddit.com/r/docker/comments/5eggwo/running_docker_on_windows_subsystem_for_linux_wsl/) ...
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 ...
0
votes
1answer
80 views

running bash executables from Windows application

I have a rather complicated setup running on WSL (Windows Subsystem for Linux) which I can't really replicate properly on native Windows. I develop Ruby applications and would love to be able to call ...
0
votes
1answer
3k views

Upgrade of Linux Subsystem for Windows 10 (WSL) to Ubuntu 16.04 not working [duplicate]

I want to upgrade to the latest WSL and used the official upgrade procedure, i.e. lxrun /uninstall /full and then lxrun /install However, lsb_release -a tells me I still run the 14.04 release and ...
6
votes
3answers
458 views

WSL - Trailing whitespaces being added to Bash code pasted into CMD WSL TTY per window size

I have a few Bash scripts on Windows and I sometimes copy them from Notepad++ into the WSL (CMD based) terminal emulator (TTY) to execute them. The problem: Trailing whitespaces (Green boxes in nano)...
0
votes
1answer
105 views

Local reinstalling of Windows Subsystem for Linux (WSL) tens of times a month can damage SSD?

I have a Samsung SSD and I use Windows10home with Windows Subsystem for Linux (WSL). For certain tests, I sometimes uninstall and reinstall WSL time and again (the installation is quite fast). If I ...
0
votes
1answer
3k views

How to install virtualbox in ubuntu by command line?

I am using WSL on Windows 10 Home Version. The Ubuntu version is 16.04 LTS. I did these: $ sudo apt-get install virtualbox Then run: $ VBoxManage --version The error was: WARNING: The character ...
7
votes
1answer
5k views

What size does basic Bash/WSL subsystem on Windows occupy?

How much space does the Windows Subsystem for Linux (also called Ubuntu BASH on Windows) take up on my hard drive? I'm a bit low on space and want to know whether it would even fit.
2
votes
1answer
620 views

How can I get Unix like paths working in Bash on Windows?

For those unfamiliar with msys2, it is a port of *nix programs to Windows. There, I could do things like: $ some-prog ~/.profile $ some-prog /c/Windows/System32/drivers/etc/hosts some-prog could be ...
0
votes
1answer
188 views

WSL - Is it possible to access and manipulate a virtual Linux machine with WSL?

Is it possible to access and manipulate a virtual Linux machine with WSL? For example, if I installed a Linux virtual machine (LVM) with VirtualBox when Windows 10 is the host machine, could I access ...
4
votes
3answers
3k views

Error 0x80070091 on WSL (windows subsystem for linux) install on Win10

I first installed WSL on win10 then did an uninstall via the command: lxrun /uninstall / full I then try to reinstall with lxrun /install But I'm getting the Error 0x80070091 -- I'm not sure how ...
2
votes
1answer
509 views

How can I make a drive accessible to Linux / Bash subsystem on Windows? [duplicate]

I have a laptop which I've dual-booted with Ubuntu and Windows 10. My goal is to use a bash shell inside windows to access the linux partition. Inside Windows, I've installed the Linux subsystem and ...
4
votes
2answers
2k views

How do I set the size of the X mouse pointer in the Windows Subsystem for Linux

I am running Ubuntu 16.04 on the Windows Subsystem for Linux on Windows 10 (with the Creators update). I have an X server (VcXsrv) running in Windows and from bash I open an lxterminal on that X ...
0
votes
2answers
223 views

Windows Subsystem for Linux - How to download document-root and database backups to Win10?

How to make document-root and database backups to Win10 after I SSH tunnel into my VPS? For example, after tunneling, how could I download the file backup of both my document-root (/var/www/html) and ...
3
votes
1answer
1k views

Docker client on WSL creates volume path problems

Windows 10 build 15063.11, running Windows Subsystem for Linux (WSL) Xenial 16.04.2 LTS. There's a docker client running in WSL connecting to the Windows Hyper-V daemon. Fun. The one issue I can'...
0
votes
2answers
1k views

Open file with bash on Windows

I have neovim installed in the WSL. To access it, I open ConEmu, which is set up to use the WSL Bash by default as soon as it opens On Windows there are often times where I want to make some quick ...
2
votes
2answers
958 views

Make a shortcut to Ubuntu bash.exe on Windows 10 that doesn't auto-close

I would like to make a shortcut on Windows 10 that opens C:\Windows\System32\bash.exe (Ubuntu on Windows 10), runs a command and doesn't close the terminal. I made a shortcut with target to C:\...
8
votes
2answers
10k views

Windows 10: Developer Mode package failed to install. Error code 0x80004005

Attempting to activate developer mode so I can access the Linux Subsystem feature. Upon switching to developer mode, I receive the error in the title and am subsequently unable to locate the package ...
3
votes
2answers
4k views

Windows 10 Bash enabling Vim colorschemes?

I recently started using Windows 10's new "Windows Subsystem for Linux" feature ("Bash on Ubuntu on Windows") and I have been having difficulty getting colorschemes (specifically zenburn) to work in ...