Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

Folder Copied/Moved/Extracted externally without using Ubuntu Terminal, is not detected/accessed later in ubuntu terminal

With help of Windows Subsystem for Linux (WSL) I installed Ubuntu Terminal on Windows 10. Current Work directory in windows: E:\projects. Work directory in where the WSL Ubuntu system is installed: ...
0
votes
1answer
26 views

Runuser missing w option

I am trying to get genie up and running on WSL 2 (Ubuntu 18.04.3 LTS) and am running into an issue where runuser was given the w option by genie but runuser sees that as an invalid option. This man ...
0
votes
0answers
20 views

Can I install emscripten with python3

I just installed Ubuntu 18.04 LTS in Windows Subsystem for Linux on my Windows 10 laptop. Feels very very linuxy so far. But the main thing I wanted to use it for at first is Emscripten to learn ...
-1
votes
0answers
47 views

“apt-get update”: failed to fetch (Ubuntu 18.04 TLS via Windows 10) [duplicate]

There are many different solutions on the Internet, but they didn't not help me, or I do not know how to correctly execute them. After reading many of them, I think maybe I should configure internet ...
1
vote
1answer
35 views

gzip - no such file or directory found

I am trying to install a piece of software from the University of Strathclyde using WSL with Ubuntu 18.04.3. The software comes in a pre-compiled installer, a .gz file. When I run this command: gzip ...
0
votes
0answers
44 views

Fonts missing in oh-my-zsh on WSL

Im trying to setup Oh-my-zsh on WSL Ubuntu 18.04 with agnoster theme I already follow this guide : https://blog.joaograssi.com/windows-subsystem-for-linux-with-oh-my-zsh-conemu/ I've installed all ...
0
votes
2answers
77 views

Remove Docker's PPA repository

I'm using WSL so using the PPA Gui isn't a possibility. I added the Docker PPA with this command: sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(...
0
votes
0answers
23 views

CLion won't track compiler via WSL

downloaded compiler and everything. Tho for some reason it downloads only cmake 3.10 and I need 3.15. I updated it following this guide How do I install the latest version of cmake from the command ...
0
votes
1answer
59 views

wsl2 Ubuntu error with my alias 's: invalid option — '

This is my wsl2 Ubuntu 18.04 installation. What is wrong with my .bash_aliases file? kevin@PROBOOK:~$ la 's: invalid option -- ' Try 'ls --help' for more information. kevin@PROBOOK:~$ type la 'a is ...
0
votes
0answers
24 views

X Server error on a console app when I don't have any X Server

I have Ubuntu 19.04 Disco Dingo on the Windows Subsystem for Linux. I have a command line app called screenfetch (I use the dev version of it because the original displayed an awk error). When I ...
1
vote
1answer
89 views

WSL: Am I running version 1 or version 2?

I have Windows Subsystem for Linux, but I don't know which version I have, and many things won't work in version 1. How do I check my version?
0
votes
0answers
32 views

Internet is working but “apt update” giving this error in windows subsystem for linux

Just installed ubuntu 18.04 in wsl. But when I try to install or update system i'm getting this error enter Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Could not resolve '...
0
votes
1answer
89 views

WSL Ubuntu, is there an easy way to have bash start automatically on Windows startup?

I have a question about the WSL version of Ubuntu. Is there an easy way to have bash start automatically when Windows starts and pass a command to it to start the SSH server? So that the SSH server ...
0
votes
0answers
71 views

Ubuntu 18.04 will not open in Windows 10 WSL 1

I have been using Ubuntu under Win 10 WSL1 for a few weeks. It was working fine, but today I was not able to open a terminal window. I uninstalled Ubuntu and reinstalled from the Microsoft Store. I ...
0
votes
1answer
60 views

WSL 2 Access DVD-ROM

I have been playing around with Windows Subsystem for Linux v2 (WSL 2). I have Ubuntu with WSL 2 correctly configured. I have a large collection of DVDs that I am in the middle of backing up to my ...
2
votes
1answer
66 views

Why can I use my RSA keys with the Git Bash app but not with Ubuntu WSL on my Windows machine?

I needed to clone a repo from Gitea and I normally do it on my Mac but I don't have my Mac with me. I was able to clone the repo on Windows after placing the RSA key in the .ssh folder that's in C\...
0
votes
1answer
51 views

Accessing graphics in Ubuntu which is installed as an app in Windows 10 HP

I have a windows 10 HP tower workstation with NVIDIA GeForce GTX 1070 graphics card, in which I installed UBUNTU 18.04 as an app (natively), by following the link: https://www.howtogeek.com/fyi/...
0
votes
0answers
78 views

Ubuntu 18.04 app in Windows 10 screen is just showing a blank screen with a blinking cursor

Ubuntu 18.04 app in Windows 10 screen is just showing a blank screen with a blinking cursor. I asked this question a few minutes ago, then closed the app. Upon starting it again, I'm just getting a ...
0
votes
0answers
42 views

Error: connection failed in Ubuntu 18.04 app (Windows 10) [duplicate]

So I installed Ubuntu 18.04 app using this website, and this variant. All seems cool. But after installation and assigning username and password, I try to use this code as described: sudo apt update &...
0
votes
0answers
191 views

Ubuntu 18.04 (WSL) problems with Python 3.7.4

I have a fresh install of Ubuntu 18.04 in WSL. Thus far, I have set up the system by installing Python 3.7.4 as follows: $ mkdir -p $HOME/bin $HOME/.local/bin $ sudo add-apt-repository ppa:deadsnakes/...
0
votes
1answer
71 views

Uninstalled snapd from Windows 10 WSL. Now can't install anything

I had installed snapd so that I could install sublime-text. Then WSL said that it can't do that yet. So I uninstalled snapd. Now I can't install anything at all because of this Could not read response ...
1
vote
1answer
93 views

Postgres on wsl

I have installed and run postgresql 9.6 on windows 10 . When I am trying to run a bash script containing psql from Ubuntu terminal, I get: Error: You must install at least one postgresql-client-<...
1
vote
1answer
65 views

Applications run through bash on WSL aren't sharp

new user so please bear with me :) I've recently started using WSL and Ubuntu for some school projects. Today I installed an X server to run graphical applications such as Atom trough the Bash ...
3
votes
1answer
817 views

Can I create a symlink to a Windows executable in the Windows Subsystem for Linux (WSL) PATH?

I have Android Studio and JDK 8 installed on Windows, but the JDK cli isn't available on my WSL. When I type java or javac, the command isn't found. I followed the suggestion here and now I can reach ...
1
vote
0answers
24 views

Installing Ubuntu - received error message “does not have app associated”

I downloaded Ubuntu, but when I tried to install it, I got this error message: This file does not have an app associated with it for performing this action. Please install an app or, if one is ...
0
votes
1answer
128 views

permission denied for all cd /mnt

I'm using Ubuntu on Windows 10. I use /mnt/ to access my file system and it worked normally before. But after I changed the permissions of one of my folders to 700, I started to get permission ...
1
vote
0answers
35 views

Can't reinstall SSH on WSL Ubuntu [duplicate]

I was having issues getting SSH to work under my WSL Ubuntu 18.04.3 LTS, I was getting connection refused all the time, so I found this suggestion in a GitHub issue, which is to just: sudo apt-get ...
0
votes
1answer
123 views

How can I 'open in terminal' when using Ubuntu subsystem on Windows 10?

As the question states, I'm using Ubuntu on Windows 10. Every time I have to work on a homework problem and have to open Ubuntu, I have to navigate to the file path which is tedious. Is there any way ...
0
votes
1answer
141 views

Wireshark GUI not runnig on Windows subsystem for Linux

I have installed Xming on my windows and I have set environment variable export DISPLAY=:0 on Ubuntu. Other GUI programs, like eog is running. But when I try running Wireshark it shows error messages: ...
1
vote
1answer
309 views

Ubuntu 18.04 on WSL cron daemon not running after reboot

I have Ubuntu 18.04.1 LTS running under Windows 10 Pro. After every reboot, the cron daemon is not started. I can start it manually with sudo service cron start. What can I configure or what system ...
2
votes
1answer
191 views

Copy and Paste to/from Ubuntu shell in Windows 10

I just got a new laptop with Windows 10 and installed Ubuntu. In the past, I used Cygwin and/or VMware with RHEL 7.6 for Linux. Using Ubuntu shell, I know how to enable Cntl-Shift C/V to do copy/...
1
vote
0answers
131 views

Make python script executable in WSL Ubuntu 18.04

maybe you can help me with my problem... I'm trying to make a python script executable on Ubuntu 18.04 in WSL. I created a folder where my python scripts are saved /home/<user>/Python_scripts. ...
1
vote
1answer
111 views

Whenever I try to call the following command: “notepad /etc/bash.bashrc” from Windows WSL I get an error

Notepad can open any file since that file is in a common Windows directory. I dislike editors like Vi and Vim, so I'd like to open files with notepad or even notepad++, but it seems that notepad or ...
2
votes
1answer
155 views

Error when trying to install g++ in Ubuntu shell in Windows 10 [duplicate]

After downloading the Ubuntu app from the Windows store, I tried to run gcc --version and it showed command gcc not found same was the case for g++. I tried to install using sudo apt install gcc and ...
3
votes
0answers
304 views

/mnt/c/ is empty on WSL [closed]

I am using Ubuntu 18.04 inside the WSL. When I cd /mnt/c/ and then ls, the C drive is empty. I am not sure if it coincided with a sudo apt-get upgrade I used inside the WSL. Could this have caused ...
0
votes
0answers
40 views

Failed To Create A File Sytem Ubuntu 18.04

I Want To Switch Windows To Linux ( Ubuntu 18.04 ) When I Trying To Install Ubuntu Its Failed To Create File System , " The Ext4 File System Creation In Partition #1 Of SCSI (0,0,0) ( SDA ) Failed " ...
14
votes
1answer
2k views

Does WSL2 run Linux in a virtual machine or alongside the Windows kernel?

I've always wanted a Linux terminal in Windows and was fulfilled by WSL 1. But it was painfully slow as it was (I guess) a Hyper-V-managed virtual machine. With WSL 2, it's way faster relatively but I ...
0
votes
2answers
539 views

Run ubuntu-desktop on WSL (Ubuntu 18.04 LTS)

I am running 18.04 LTS on Windows subsystem for Linux (WSL). I have installed the Ubuntu Desktop by running sudo apt-get install ubuntu-desktop However, when I start Linux only the terminal starts. ...
5
votes
1answer
83 views

WSL: Is there a conditional to detect “Open Linux Shell Here” case?

When I open the WSL by clicking on its icon I need it to be opened in a certain directory (of course one that is more useful than System32), so I add a cd destination in my .bashrc. But then the "Open ...
1
vote
1answer
63 views

CMake can't find source dir when run from bash script in WSL

I'm running the Ubuntu version of Windows Subsystem for Linux. In there I've set up a simple cmake project and created a script to save me from typing out cmake -G "Unix Makefiles" -...
0
votes
1answer
145 views

AWS on Ubuntu WSL

I'm using Ubuntu WSL and I installed AWSCLI but since it's also installed on Windows, Ubuntu throw an error since it's trying to use the Windows version one... /mnt/c/Users/jonathan.lafleur/web ...
2
votes
1answer
77 views

Linux kernel development in WSL

I have worked with ubuntu operating system for a year and have been doing kernel development for the past 3 months.It works well in ubuntu but is it possible to do linux kernel development through wsl ...
0
votes
0answers
76 views

error storing password in keychain: No such interface 'org.freedesktop.DBus.Properties' on object at path /

I'm trying to configure saml2aws and getting the following error. error storing password in keychain: No such interface 'org.freedesktop.DBus.Properties' on object at path / I've already installed ...
2
votes
1answer
149 views

How to run a command when launching WSL Ubuntu.exe

I can open ubuntu.exe using a .bat file by: start ubuntu.exe But I want to pass the parameter "./mnt/c/xxx.sh" to ubuntu.exe. I.E. I want ubuntu.exe to launch a specific shell by using a .bat file, ...
0
votes
2answers
589 views

rm: cannot remove : No such file or directory

but the file clearly exists and I can open the contents in it, just the 'link' field is 0 when trying ls -Al, so I couldn't delete it, I am using Ubuntu app from the Windows 10 store Any help is ...
1
vote
0answers
71 views

Can't find the manual for jobs [duplicate]

I have jobs installed in my system and it works indeed. However, when I typed man jobs and pressed enter, the terminal told me No manual entry for jobs Do you have the same problem? Or how can I ...
2
votes
1answer
204 views

Any way to use Visual Studio Code editor instead of nano/vim/emacs to edit files?

I'm having an issue where I can only edit .bashrc or .zshrc files with the nano command. When I input code .bashrc it just opens up an empty .bashrc file. With nano it works within the shell and it ...
0
votes
1answer
37 views

Create .netrc-file in WSL/Ubuntu

I am currently trying to get ISCE running and for this task (as I get the error that it is missing) I need to create/edit an (existing) .netrc file. Unfortunately I am really new to WSL/Ubuntu over ...
0
votes
1answer
287 views

How to link WSL to my already installed python on windows?

So, recently I installed the WSL from the Windows Store and now I'm having some problems with python. I already have python and some of its libraries installed on my Windows 10, but whenever I type py ...
0
votes
1answer
291 views

Why is the mysql-server package from mysql.com missing server files?

I'm usually not using Ubuntu, but decided to give it a try today because it's the preferred distro for Windows Subsystem for Linux, that I wanted to try today to see if/how it could replace my VMWare ...