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]

Use this tag for questions relating to Windows Subsystem for Linux, the compatibility layer developed by Canonical and Microsoft to run Ubuntu programs natively in newer versions of Windows.

0
votes
0answers
11 views

Command needed by dialogue box generated after clicking on “Ubuntu” Tile on Windows 10 Startup Menu

I desperately need to know what response is being sought by a DOS-type dialogue box that appears every time I click on the “Ubuntu” tile on my “Windows 10 Startup Menu”. I had previously asked if ...
0
votes
0answers
54 views

“Signing failed: agent refused operation” with gnome-keyring-daemon on WSL

I'm trying to ssh-agent on Windows Subsystem for Linux (Ubuntu 18.04) so that I don't have to type in the passphrase for the private key, not even once per session. I followed this answer and set up ...
0
votes
1answer
40 views

Error in Makefile, Cannot Set Shell to /bin/bash (WSL)

I'm running make version 4.1 Built for x86_64-pc-linux-gnu on WSL Ubuntu. I have the following makefile and I'm trying to run make with it. However it fails when I run it with the error message: make:...
0
votes
1answer
36 views

Name resolution works with host but fails otherwise

Ubuntu bash on Windows 10 I have an issue where the host and nslookup commands resolve all hosts just fine but all other commands fail domain resolution. See below: user@computer:/mnt/c/Users/user$ ...
1
vote
1answer
45 views

Where is the setting file(like .bashrc) for bash in win10?

I just setting WSL on win10 and modify the text/background color. How can i backup the setting file like ubuntu .bashrc file?
41
votes
4answers
4k views

How can I text my phone from Bash?

I've just lost my phone. I know it's here in my house cause I used it last night and my bluetooth speakers will connect to it this morning. How can I text my phone using bash? Then the phone ...
0
votes
2answers
76 views

Ubuntu Desktop on Windows

One of my friends is a real Linux fan, so I decided to try Ubuntu on a VM. I mostly enjoyed the experience, but it was very slow, which I assume is the fault VirtualBox, as my laptop has 16 gigs of ...
0
votes
1answer
106 views

Running apt-get update gives all “Ign” on WSL

I tried to run sudo apt-get update this morning on Ubuntu 16.04 running on WSL, and it just keeps trying every server over and over, racking up Ign responses. What the heck is going on here? ...
1
vote
0answers
22 views

undo delete of gpg key

I am using wsl on Windows 10 of Ubuntu: I wanted to delete a GPG key (the GPG key of Microsoft), so I used the command "sudo apt-key list" image of gpg keys Final of GPG Keys I write " sudo apt-key ...
0
votes
2answers
123 views

use sed to replace each white space with a backslash

just want to escape spaces in windows filepath. I'm trying this echo "111 1111 "| sed -e "s/[[:space:]]/\\ /g" that only match spaces but do not replace.
3
votes
1answer
181 views

Protecting WSL-Ubuntu and WSL-OpenSSH (unfiltering port 443 correctly, to use just these)

I use WSL-Ubuntu on Windows 10 home (build 17134.472) basically just for OpenSSH and Ansible and AFAIK both require only port 443 to be unfiltered to work properly. I have both Windows Firewall and ...
0
votes
1answer
73 views

I can't use ufw on WSL-Ubuntu

I use Windows 10 home (build 17134.471) with WSL-Ubuntu 16.04 (xenial). I executed apt update -y && ufw --force enable and got the following trace (I don't know what it means - maybe some ...
0
votes
0answers
18 views

Copy files from Windows 10 folder to Ubuntu app [duplicate]

I am using my Windows Ubuntu app to run some files. How do I access the files in my Windows folder or copy the files from the Windows to the Linux home folder?
0
votes
0answers
99 views

npm on WSL: Unable to correct problems, you have held broken packages [duplicate]

I'm using Ubuntu on Windows 10, and was working with Node.js earlier today. It was my first time using node, so I had just installed it (it's installed on the subsystem). All npm commands worked fine ...
-1
votes
0answers
26 views

E: Unable to locate package nodejs [duplicate]

Could anyone help me in installing NodeJS on Ubuntu (installed on Windows OS)? While installing I'm getting this error: xyz@21211-TAD-HSE:/mnt/d/api1st-lmc$ sudo apt install nodejs Reading package ...
0
votes
1answer
68 views

hash doesn't show me a list of Bash commands

I read in the O'reilly Bash book (third edition, 2005) what I understood as that if I'll execute hash I'll see a "hash table" with a list of all possible Bash commands plus all commands common to most ...
0
votes
0answers
28 views

Azure function: Avoid typing 'sudo' for 'func'

I'm new on WSL Ubuntu 18.04 and just successfully installed Azure Function. How to run 'func' in my terminal without doing sudo? Right now, without sudo I will run into this error: ❯ func ...
1
vote
1answer
69 views

How can I access my google drive or external hard from windows bash?

I want to download on my google drive or an external hard but when I run ls /mnt/ the bash does not show me the external hard. Also when I go to my g drive which is my google drive I can not yee the ...
1
vote
1answer
80 views

I paste a code in WSL but I get only part of it

I use Ubuntu 16.04 (xenial) via WSL. I copy this code #!/bin/bash read -p "Have you created db credentials already?" yn case $yn in [Yy]* ) break;; [Nn]* ) exit;; esac When I paste it in ...
5
votes
3answers
815 views

How do I fix apt-get and apt-update/upgrade after my computer shut down during an installation?

I was running sudo apt update ; sudo apt upgrade -y and midway through the installation my computer ran out of battery and shut down abruptly. Side note - I'm using the Windows Subsystem for Linux on ...
-1
votes
1answer
193 views

Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service

when i try to upgrade its come an i dont know how to resolve this shashank@shashank-H110M-S2:~$ sudo apt install apt [sudo] password for shashank: Reading package lists... Done Building dependency ...
0
votes
0answers
52 views

I've been trying to install freeradius 3. I keep getting dependency errors of not installable dependencies

I've been trying to install freeradius 3. I keep getting dependency errors. I get the error as: The following packages have unmet dependencies: freeradius : Depends: libpython2.7 (>= 2.7) ...
-1
votes
2answers
73 views

Why does Ubuntu split up my file path? [duplicate]

I had a small question concerning something in Ubuntu. I noticed that whenever I cd to a two-word place, Ubuntu seems to go there. However, when I mention the file path to this place, Ubuntu splits up ...
0
votes
0answers
40 views

Where is my ubuntu folder? [duplicate]

I have been trying to install Linux for a small project, however, I use Windows as my primary software on my computer. So, naturally, I searched up some tutorials, and have downloaded Linux/Ubuntu 16....
0
votes
1answer
76 views

Synchronize packages between multiple wsl installations

I have Ubuntu WSL installed on two different Windows 10 accounts. I want to have the same packages installed in Acct-2 as I have in Acct-1. Is there an easy way? I have a complex way.
0
votes
0answers
21 views

freeradius-postgresql post installation script keeps failing

I've been trying to install freeradius-postgresql on my windows subsystem for linux (with ubuntu distro) I keep getting this error installed freeradius-postgresql package post-installation script ...
0
votes
0answers
235 views

Want to enable 'expose docker daemon on tcp//localhost:2375 without tls' on docker toolbox on wls

I have Windows 10 home so I am not able to install docker for windows version. Upon downloading and installing docker toolbox on windows and installing docker on wls bash by running the following ...
0
votes
1answer
111 views

Bash closes on launch. Might be due to switching development modes [closed]

When trying to launch 'Ubuntu' or 'bash' the window opens and immediately closes. The reason might have been that I switched to different Insider Edition of Windows 10 or developer mode, and forgot ...
0
votes
0answers
26 views

Data From repository cant´be authenticated, failed to fetch

I am having problems using apt-get update it always said to me connection failed, failed to fetch... I am using bash Ubuntu on Windows /etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu/ ...
2
votes
1answer
44 views

Change /home using Ubuntu on windows

I started using ubuntu on windows 10 and I've noticed that the default path (/home/ ) is located in C:\Users\User\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\...
0
votes
0answers
38 views

I have the latest version of libc6 but apparently python requires a higher version

error message when I try to run python on the bash oh the windows subsystem for linux python: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by python) my ubuntu version: ...
1
vote
1answer
49 views

./zshrc is corrupted; crashing when opens my WSL bash

I'm on WSL. I went to zsh from bash and based on this advises here I added source ~/.bashrc at the beginning of my ~/.zshrc file in order to be able to use nvm, node, npm commands in zsh. But now when ...
0
votes
1answer
186 views

Where is the Trash folder in Ubuntu/Windows (WSL)?

I am using Ubuntu in Win10, but I can not find the trash folder, even when I use the command mv ~/.Trash/foo ~/ mv: cannot stat '/home/man/.Trash/foo': No such file or directory My question is that ...
1
vote
0answers
119 views

Error when launching Ubuntu for the first time on Windows10

When I launched Ubuntu for the first time, I got an error that said 0x8000000d an illegal state change was requested I have already enabled the Windows Subsystem for Linux. How do I resolve this ...
0
votes
1answer
79 views

Turn off WSL Ubuntu echo when typing commands

With Windows Subsystem for Linux Ubuntu 18.04, when I type a command like echo hi, I see the following in my window: user@DESKTOP-WHATEVER:~$ echo hi echo hi hi When I would like it to look like ...
0
votes
1answer
282 views

Ctrl+Alt+T not working to open Terminal in WSL [closed]

I downloaded Ubuntu 18.04 a few days ago from the Microsoft App Store. I'm trying to carry out an exercise which requires me opening the Terminal. I was instructed to use Ctrl+Alt+T, but this doesn'...
0
votes
0answers
228 views

WSL Ubuntu : apt-get error “unable to make backup link”

I have recently installed the Ubuntu Bash WSL in Win10 (version 1703). When running an apt-get upgrade I get the following error during the installation of Perl (sorry for the formatting): Preparing ...
1
vote
0answers
144 views

Running gnome-software on Windows

I have Ubuntu installed in Windows 10 (using WSL) and I have installed an X-server VcXsrv. I'm trying to run the Gnome software center. I run gnome-software from the terminal. The window appears but ...
0
votes
0answers
81 views

How do I reset the sudo user password in an Ubuntu 18.04 within WIndows 10 (WSL)? [duplicate]

I downloaded and installed Ubuntu 18.04 within Windows 10 from the Microsoft store. It does not appear to separately boot, and primarily provides Bash, which appears to work fairly well. During the ...
0
votes
0answers
73 views

How to remove Ubuntu for Windows 10 to reinstall my Ubuntu Oracle VM in VirtualBox

Ubuntu was installed via the Windows Store app and subsequent Python and Git were also installed. I want to remove Ubuntu and all of the associated files as well as Python and Git and the project ...
1
vote
0answers
32 views

Looking for a tabbed SSH solution for Linux(Ubuntu) combining PuTTY/KiTTY, WinSCP and VcXsrv

When i used WinSSHTerminal , it a very good tool for Window machine to connect multipal server in session. Please check https://www.youtube.com/watch?v=7zX7Uv--2Js Could you suggestion me same ...
0
votes
0answers
89 views

Different Ubuntu versions in Microsoft store

Is there any difference between Ubuntu and Ubuntu LTS available in Microsoft Store to Windows Subsystem for Linux (WSL) developers in developer mode of windows 10 ?
0
votes
1answer
69 views

Why the space usage of Ubuntu Windows Subsystem of Linux is lower than the Microsoft Store Download package?

On my PC the disk usage of C:\Users\DD\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs is only 93MB, but the download package is more than 240MB when I ...
2
votes
1answer
49 views

Is it possible to avoid setting path manually for python package executables?

I installed python 3 and pip3 into in Windows System for Linux shell that uses Ubuntu, but it appears I have to find and specify site-packages or $HOME/.local/bin directory manually if I want to run ...
1
vote
0answers
105 views

Can't Configure Bash-Shell to Run OpenFOAM (working enviroment)

I've Been trying to download and install OpenFOAM-v1806 for windows 10 using Ubuntu. I am currently using this guide to help me https://www.openfoam.com/download/install-windows-10.php and am stuck at ...
1
vote
1answer
116 views

Accessing Python interpreter in Windows Subsytem for Linux, error in sshd_config?

I'm running into an issue with following a tutorial on How to configure a remote interpreter through WSL for PyCharm. My specific issue comes during the prerequisite part of this tutorial. I get up ...
1
vote
0answers
176 views

How can I see Chinese characters in the Windows Subsystem for Linux terminal?

I installed Ubuntu 18.04 via Windows Subsystem for Linux using these official instructions. I'm trying to get the Ubuntu terminal to show Chinese characters, like this: ronald@LAPTOP-FLRIMKMQ:~$ 你你 ...
1
vote
0answers
110 views

Using Snap on Ubuntu for Windows 10 Error

Whenever I try to do almost anything involving snap on the windows 10 session of Ubuntu, I get this: sudo snap install htop error: cannot communicate with server: Post http://localhost/v2/snaps: ...
2
votes
1answer
135 views

Pulseaudio using WSL E: [(null)] pulsecore/pid.c: Daemon already running

I'm fairly new on Linux, I've been playing with WSL on Windows 10 using Ubuntu, and I've managed to learn how to open GUI programs and I could take it one step further by using this tutorial which ...
0
votes
1answer
75 views

How do I go to a specific folder/drive in the shell on Ubuntu on Windows? [duplicate]

I am trying to contribute in open projects . But the procedure given for installing the projects in local machine is for Ubuntu and I am using Windows. Also I tried Ubuntu shell But in that I could ...