Stack Exchange Network

Stack Exchange network consists of 175 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
18 views

How to create '/proc/sys/kernel/unprivileged_userns_clone' file

I'm trying to use Puppeteer. And it recommends me to run sudo sysctl -w kernel.unprivileged_userns_clone=1 to enable the sandbox. But when I do that on my WSL, it complains sysctl: cannot stat /proc/...
0
votes
1answer
17 views

Occasional gnutls handshake error

I'm trying to download the AOSP from Google using repo sync. Occasionally, I receive an error similar to the following: fatal: unable to access 'https://android.googlesource.com/platform/system/bt/': ...
1
vote
0answers
38 views

How do I open a file using Atom on WSL?

I am trying to open a file using Atom from bash on Windows. So what I did was I added an alias in my .bash_profile like this: alias atom="/mnt/c/Users/Mido/AppData/Local/atom/atom.exe" So let's say ...
1
vote
0answers
23 views

Sudoers file syntax error on WSL

So, I've messed up my sudoers file in the windows subsystem for linux. I was trying to add something, and the guy of the tutorial said to edit sudoers file with nano/vim, and that's what I did (later ...
1
vote
0answers
39 views

Does Bash for Windows create an own desktop?

I downloaded Bash (Ubuntu 18.04) for Windows 10 yesterday and created my account, downloaded a couple of files there. i closed the prompt, now when i open it, it starts from System32 folder i got back ...
0
votes
1answer
59 views

“Error: 0x80080005 Server execution failed” while installing Ubuntu on Windows

While installing Ubuntu app on Windows, I'm encountering this error: Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80080005 Error: 0x80080005 Server ...
0
votes
1answer
42 views

The service has not been started

Warning: I installed Ubuntu manually. 18.04 is installed, and when I run it manually from the Windows 10 PowerShell it opens. When I attempt to open Ubuntu in the Programs list by clicking on the ...
0
votes
0answers
25 views

Is there a way to create a shared directory folder betwen my windows ten and my Ubuntu bash? [duplicate]

So if I save or create a file in this directory from Ubuntu Bash on Windows 10, I would also be able to access it from my Windows interface.
0
votes
0answers
35 views

How to open jupyter in WSL via terminal with a specific starting directory?

I unfortunately didn't found a solution to the above described problem. Since there are several python packages only available for linux I want to use python now from WSL. I installed anaconda on ...
0
votes
1answer
161 views

Ubuntu 19.04 incorrect sources.list

I did an upgrade of Ubuntu on WSL from 18.10 to 19.04 with do-release-upgrade. $ cat /etc/os-release NAME="Ubuntu" VERSION="19.04 (Disco Dingo)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 19.04" ...
0
votes
0answers
73 views

Ubuntu 16.04 WSL libGL error

Similar posts have been made about this, but all involve nvidia which I do not have. I am getting the following errors printed to my terminal every time I launch something with GUI using X-ming or ...
0
votes
0answers
44 views

fuser returns error WSL

I am using WSL Ubuntu $ /bin/fuser Cannot open /proc/net/unix: No such file or directory I also tried as root user by first issuing: sudo su It is not like I intentionally deleted that path. Is ...
1
vote
0answers
80 views

.jnlp Problem ruling in Ubuntu 18.04 and Odroid XU 4

I downloaded the latest Oracle Java in Ubuntu 18.04 and also I installed iced tea to run .jnlp. After so long I had some troubles with the start of the .jnlp but I make it run pointing the settings to ...
4
votes
1answer
184 views

Is it possible to intall libXft.so.2 on WSL?

I wish to run a scientific GUI on WSL, which requires libXft.so.2 package. Used sudo apt-get command, bash returned. Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
48 views

Errors were encountered while processing: libtk8.6:amd64 tk8.6-blt2.5

Every time I try to install any using apt-get install, I get the error saying Errors were encountered while processing: libtk8.6:amd64 tk8.6-blt2.5 E: Sub-process /usr/bin/dpkg returned an ...
0
votes
1answer
69 views

How to install git on Windows Subsystem for Linux?

As explained here, on Windows Subsystem for Linux I can do many many things using the command line. I am wondering if it is possible to install Git. I have tried using sudo apt-get install git but ...
4
votes
1answer
72 views

Why is the ubuntu-wsl pushed out to standard Ubuntu installations?

This morning I noticed an update to ubuntu-wsl (version 1.361.3) in my updates on Ubuntu 16.04. Specifically What purpose (if any) does this package serve on a standard Ubuntu installation? As it's ...
0
votes
0answers
51 views

Should I have both WSL version Visual Studio Code and Windows version Visual Studio Code to develop in WSL?

I am planning to learn development in WSL and will develop some personal projects on WSL. but I already have visual studio code in my Windows 10. Should I install Ubuntu version Visual Studio Code to ...
0
votes
0answers
94 views

How can I install and run Docker on Windows Subsystem for Linux?

I recently installed Ubuntu terminal 10 on Windows 10, but I'm having issues installing Docker on Ubuntu terminal using this Digital Ocean tutorial for Ubuntu 16.04. I am getting the following error: ...
0
votes
0answers
29 views

Getting from a bash shell to graphical UI [duplicate]

I installed Ubuntu in Windows 10, following all instructions on "How to Geek", and then using the app in the MS web store, and updated same etc. How can I now progress beyond the bash shell so that ...
0
votes
0answers
62 views

multiline command chunks in bash history into multiple lines (WSL)

In WSL, commands which written in multiple lines, after I exit from bash I cannot run it which it was single command written in multiline as it chunks into multiple lines in bash_history file. I ...
0
votes
0answers
76 views

Error “Mach-O 64-bit x86_64 executable” in Ubuntu

I have modified some code from ARToolkit in MacOS and now I need to compile it with Windows subsystem (Ubuntu). I have followed the ARToolkit user manual instruction and have installed all libraries ...
0
votes
1answer
734 views

Unable to run any systemd services in WSL

None of the systemd commands are working inside WSL( Ubuntu Bash 18.04). When I ran sudo systemctl is-active kubelet, error is output: System has not been booted with systemd as init system (PID 1). ...
0
votes
0answers
17 views

LDAP issues when adding users

I am trying to add my users into my LDAP. I have created a file called users.ldif When I execute the command it throws the following error message please can you help. The user2.ldif has the ...
5
votes
2answers
358 views

Default Ubuntu Desktop with TightVnc and Windows Linux Subsystem

I have successfully installed WLS (ubuntu 18) on windows 10 machine. I want to access its UI features using TightVnc. With default settings the .vnc/xstartup contains the following lines xrdb $HOME/....
0
votes
1answer
204 views

Can't restart/shutdown Ubuntu under WSL

I just got Ubuntu from Microsoft Store and tried some things with it. However when i try to restart or shut down the system using sudo reboot or sudo shutdown -h I got a prompt saying "System has ...
0
votes
0answers
22 views

how to mount NAS path \\yesh\fodlername on my linux server [duplicate]

I need to mount \yesh\fodlername NAS path on my linux server i am unable to do that using mount command, please help me over this.
0
votes
0answers
25 views

Moving process to Background doesn't work on WSL

I have the following problem when I try to put a process to the background: [1]+ Stopped gcloud beta emulators datastore start --host-port=localhost:8484 $ bg [1]+ gcloud beta ...
1
vote
0answers
28 views

Installing Hindi on Window Subsystem Terminal

I have tried sudo apt install fonts-indic However Hindi still shows up as { name: 'स्वास््य एवं स्वचछता', It suppose to show up as above. When I copy and paste, they show up fine.
1
vote
0answers
14 views

ovsdb-tool: I/O error

whenever I run the openvswitch script, the out is like openvswitch 66388 0 vxlan 37308 1 openvswitch gre 14162 1 openvswitch libcrc32c ...
0
votes
0answers
43 views

Experiencing problems installing Ubuntu 18.04 on Windows 10 Home edition [duplicate]

I downloaded Ubuntu on my Windows 10 to try it out. It said it would run like any other app on Windows. I have already checked that Linux was enabled for use on my Windows, and rebooted. I launched ...
0
votes
0answers
41 views

looking to create pdf files from a list in a .csv file

complete and total noob with linux. I'm running ubuntu on windows. I am working to try to create a script where from a csv file it would output the lines as a pdf file (I don't need a proper pdf file,...
2
votes
1answer
139 views

Installing Screaming Frog (.deb package) on WSL

I am running a Windows 10 computer with Ubuntu 18.04 running via the Windows Subsystem for Linux. I am trying to install an SEO spider, Screaming Frog, so that I can run it in headless mode and run ...
0
votes
0answers
200 views

ubuntu can't find serial port

I'm using Ubuntu 18.04.2 LTS downloaded from Microsoft store and Arduino IDE. I'm trying to use ESP32 in Ubuntu, but Ubuntu can't find the serial port. In Arduino, Tools > Port is greyed out. In ...
1
vote
1answer
572 views

Win10 linux subsystem libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast

I'm not really asking a question, but this ___ website won't allow me to do this any other way. I ran into a problem today using GTK under Win10's Linux subsystem (specifically Ubuntu 18.04). The ...
-1
votes
1answer
38 views

Ubuntu terminal not recognizing file only for executing [closed]

im getting this stupid error in ubuntu where it does recognize the queryone file that im trying to execute, but the file is clearly there, i can see it, read it, delete it, everything but executing it....
0
votes
1answer
55 views

.vbs script doesn't run gnome-terminal unless I run the program in terminal first [WSL]

I have this vbs script that I've been using to run gnome-terminalfrom my Windows 10 Desktop. It executes the following commands in strArgs without showing terminal window that's executing the commands....
0
votes
0answers
53 views

WSL-Ubuntu Minecraft Java server restart, opens start.sh file incorrectly

I run a PaperMC server and the restart function requires a start.sh file. I have created the file and it only works when I open it from the Windows Subsystem for Linux Ubuntu terminal, but not when I ...
2
votes
1answer
123 views

Snap error: main.go:220: WARNING: cannot create syslog logger

I have Ubuntu installed on Windows 10 in the Windows Subsystem for Linux (WSL) and I am getting this problem whenever I run snap install <package> or snap list. Has anyone had a similar error? ...
0
votes
0answers
233 views

Ubuntu Bionic 18.04 — fatal error: zlib.h: No such file or directory #include <zlib.h>

I am relatively new to Ubuntu. I have set up a Ubuntu 18.04 subsystem on my Windows 10 PC for bioinformatics applications. During multiple application installations, I have received the following ...
0
votes
0answers
12 views

Unmet dependencies, broken packages (sqlite3) [duplicate]

The problem I have : I am running bash from windows 10. When I do this command : sudo apt-get install sqlite3 sqlite3-doc I get this message : Reading package lists... Done Building ...
2
votes
1answer
867 views

WSL Ubuntu 18.04 broken apt

I am having problems with apt on my wsl installation of ubuntu 18.04. Whenever I try to install a package with apt I get this: Reading package lists... Done Building dependency tree Reading state ...
0
votes
2answers
242 views

Stange Message on “sudo” commands, after upgrading WSL From 16 to 18 about “getrlimit”

I am getting a strange message whenever I run sudo, ever since upgrading my MS Windows 10 WSL Ubuntu 16 --> Ubuntu 18. The message is sudo: setrlimit: Function not implemented The upgrade seemed ...
0
votes
1answer
516 views

Ubuntu is unable to shutdown in Windows Subsystem for Linux

I am running the Ubuntu shell for Windows 10 as a part of a module in university, when I try typing in shutdown, it is telling me System has not been booted with systemd as init system (PID 1). ...
0
votes
2answers
545 views

Alternative to basic text editors in ubuntu wsl

Currently I have a ubuntu terminal that I downloaded from the MS store. I would like to be able to edit code without using nano/vim/emacs. Is this possible? Can I use an external editor like visual ...
1
vote
1answer
36 views

Ubuntu on Windows closes/crashes as soon as it opens

When I type Ubuntu in my Windows Search and open it, it opens and closes right after. Also tried running it by Ctrl+R and then bash, but the same result. When I run ubuntu in command prompt, an ...
2
votes
2answers
494 views

How to configure HTTP proxy with authentication on Ubuntu WSL on windows 10?

I am using Ubuntu WSL on Windows 10. How to configure HTTP proxy with authentication on it?
1
vote
0answers
150 views

How to open files from Ubuntu on Windows in Visual Studio Code

I just installed Ubuntu on Windows for Ruby on Rails development and when I create Rails project I want to open it in VS Code. So I type code . in bash to open the current folder in VS Code. But ...
0
votes
0answers
17 views

bash_profile strange output adding source files

I am trying to add files in a folder named scripts so that they become executable commands. To do this I've used the below .bash_profile code. for file in "$(find /mnt/c/home/scripts -type f -print -...
0
votes
1answer
630 views

Setting python3 to version 3.7 on WSL

Can I change the default Python 3.6.5 on WSL Ubuntu 18.04 to 3.7? So when I check python3 --version I get 3.7.x so I can use that version with pip3 as well. Thanks