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
1answer
301 views

What causes a directory to have permissions of d?????????, an owner of ?, a group of ?, and a time of ?, but a name?

I use the Windows Subsystem for Linux and Bash on Ubuntu on Windows to support programming languages that otherwise don't have good support on Windows. I've heeded the advice to not create/modify ...
5
votes
1answer
3k views

Bash on Ubuntu on Windows 10 translate working directory

How do I translate a directory in Bash on Ubuntu on Windows 10 so that I can invoke a Windows application via Bash and call that working directory as an option? For Example: From Bash on Ubuntu on ...
3
votes
3answers
494 views

Help deciphering `ps` and `pstree` with `cron` and `sudo`

Sorry for this color screen shot but I think it helps highlight the problem better than copy & paste + code format: Here is the same screen in code format: ───────────────────────────────────────...
4
votes
0answers
6k views

PostgresQL Help on Bash on Ubuntu on Windows [closed]

So when I try to make a database for my rails application I get the following: nmsiriban:~/workspace/code/devcamp/DevCampPortfolio $ rails db:create could not connect to server: Connection refused ...
0
votes
1answer
920 views

Autocomplete in Ubuntu Windows 10 subsystem adds an additional “/”

When I use auto completion for file names in the Windows 10 Ubuntu bash, it always adds the "/" directory symbol, and then says "Not a directory". So I always have to backspace and erase that - I can'...
0
votes
1answer
1k views

Where Fish Shell Contains own Aliases (functions) Files

I use Windows Linux Subsystem build on Ubuntu 14.04 in Windows 10. ➜ User lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 ...
0
votes
1answer
967 views

updated ubuntu repositories on bash on ubuntu on windows

I currently have a windows machine that I use as a test environment for Ubuntu via the bash shell in the anniversary update, and virtual machines. It has come to my attention recently that the ...
8
votes
3answers
12k views

Should I update Ubuntu on WSL?

I have Bash on Ubuntu on Windows. The output of lsb_release -a is the following. No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 ...
0
votes
1answer
713 views

Unable to access home folder in linux subsystem(WSL) from cmd

I have Linux subsystem on Windows(not virtual machine). I'm trying to enter the home folder /mnt/c/Users/Gigg/AppData/Local/lxss/home; but, when I try to enter home from bash it tells me access ...
3
votes
1answer
2k views

Ubuntu on Windows: Configuring terminal colors

I'm trying to configure my Bash on Ubuntu on Windows color scheme, but I'm having some trouble. I've tried running the color, and I'm getting incorrect colors: Any idea why this may be, and how I ...
0
votes
0answers
45 views

Can't get password to work [duplicate]

I recently installed the WSL Ubuntu package on my windows 10 set it up entered my new user password and it will not let me use it for sudo. How can I change it without uninstalling? Never have this ...
0
votes
1answer
2k views

Sublime Text Editor 3 - subl doesn't open file in Windows 10 bash

I am using bash from Windows 10 and installed Sublime Text Editor 3. However, when I tried to open a file using subl command, it's giving me the following error: Unable to load libgdk-x11-2.0.so ...
0
votes
1answer
111 views

Ubuntu updated while in Windows 10

Hoping someone can help out. I am dual booting Windows 10 and the latest Ubuntu distro, I noticed that when in Windows an installer started up and as I clicked on it I could see it was installing ...
7
votes
3answers
7k views

How do I change the root location for Bash in Windows 10?

I have just installed Bash for Windows 10 and it works good. It keeps its files in C:\Users\{my user name}\AppData\Local\Lxss. The main problem is that it is located in the C:\ directory which has ...
2
votes
1answer
5k views

Building an SSH Tunnel using Windows Services for Linux

I'm running the following ssh command to open a remote session to my network and tunnel RDP through it. What I'm looking to do is open local port 3390 and have it forward out the remote end to 192.168....
5
votes
0answers
3k views

Which keyboard shortcuts allow for scroll up and down in the Windows Subsystem for Linux terminal emulator? [closed]

Shift + PageUp and Shift + PageDownare the normal Ubuntu shortcut keys for scrolling up and down without the mouse in the terminal emulator. It doesn't seem to work in Windows Subsystem for Linux for ...
0
votes
0answers
286 views

NCL Path setting Ubuntu

I am having a problem trying to convert a file using the ncl_convert2nc command. Every time I do, I get this message: fatal:NclGRIB2: Invalid Product Definition Template. fatal:Could not open (./...
2
votes
1answer
620 views

WSL Interoperability: Open Windows 10 applications w/ Bash (Windows Linux Subsystem)

I'm running the latest Windows Subsystem for Linux Build 14986 (Ubuntu 16.04 - Xenial), and I want the ability to open up Window 10 applications directly from bash prompt by typing a command. Also, ...
5
votes
2answers
10k views

Windows Subsystem for Linux: /home/user (Linux Home Directory Path) to use for ConEmu Terminal?

I'm trying to set up 2 terminal location tabs to open in my ConEmu Terminal on Windows 10 (for Windows Linux Subysystem) 1. Windows Home Directory C:\Users\USERNAME or... %USERPROFILE% and 2. ...
5
votes
1answer
3k views

How to start X windows inside “Bash on Ubuntu on Windows”

After installing the new feature (still "Beta") called Bash on Ubuntu on Windows that is a feature subset of Windows 10 Anniversary edition, I get the following message when trying to start X-Windows ...
3
votes
1answer
254 views

WSL - How to disable any option people could login to my WSL Ubuntu (say, with SSH)?

How to disable any option people could login into a local WSL Ubuntu (say, with SSH)? What steps should be taken right after the WSL instillation? I need that I myself should be able to login ...
-2
votes
1answer
794 views

Errors when trying to use `sudo` in WSL (bash on Ubuntu on Windows) after installing jasper

I am getting this message when I try to use sudo: sudo: PERM_ROOT: setresuid(0, -1, 0): Operation not permitted sudo: unable to open /var/lib/sudo/jp2nyy/pid2: Operation not supported sudo: PERM_ROOT:...
2
votes
1answer
839 views

Cross-compiler on Ubuntu 14.04.5 LTS under Linux Subsystem for Windows

I'm trying to build and run my cross compiler (which is 32-bit), and I am unable to execute the binary, I get an Exec format error. file and readelf claim that it is a 32-bit executable, but ldd ...
0
votes
1answer
788 views

How to use windows task scheduler to run updatedb? [closed]

When I run C:\Windows\System32\bash.exe -c "sudo updatedb" from a (privileged, if needed) windows command line, I get a prompt for sudo password. Having ALL ALL=NOPASSWD: /usr/bin/updatedb.mlocate -...
1
vote
1answer
4k views

Ubuntu Bash on Windows - Accessing Windows drive [duplicate]

I just installed Ubuntu Bash on Windows (Windows Subsystem for Linux) on my Windows machine. This is the developer mode through the Anniversary Update. I would like to access files from my Windows ...
1
vote
1answer
901 views

NFS won't unmount “/mnt/nfs: not mounted”

I mounted the NFS share using: $ sudo mount -t nfs 192.168.1.1:/foo /mnt/nfs For some reason it failed (ls doesn't show any content from the nfs server) It then shows like: $ sudo mount 192....
1
vote
1answer
7k views

Bash shell (Ubuntu) on the command prompt (Windows 8)

I'd like to access the ssh server on a Asus with Windows 8 OS from my MBP 2012 with Ubuntu distribution. Is it possible to install the bash shell on Windows 8? I ask this question, because I'd like to ...
1
vote
1answer
424 views

SqlServer error installation on Ubuntu WSL?

I´m using WSL Ubuntu in Windows 10. My version is: $ cat /etc/issue Ubuntu 16.04.1 LTS \n \l. When I try to configure an Sql Server using the command sudo /opt/mssql/bin/sqlservr-setup I receive ...
3
votes
1answer
2k views

Ubuntu via (Windows Linux Subsystem) and Docker

I have started using Windows 10's Linux Subsystem and having great success using Ubuntu 14.04. No luck so far though with Docker - is this a limitation of the platform or is Docker+WLS combination ...
1
vote
2answers
5k views

SSh: Access Denied, Windows 10

I'm new to Linux in general but also even newer to the Window's 10 Ubuntu subsystem. I've been trying to set up ssh and so I set up a static ip address and logged into my router and forwarded port 22 ...
0
votes
1answer
345 views

(Windows10) Ubuntu bash multitasking. is it possbile

(I'm newbie , sorry for possibnly silly questions) I heard bash has a capability of multitasking. I mean an ability to run a few terminals/console applications and switch between these (Ctrl+Alt+Fx??)...
0
votes
1answer
3k views

How can I change directory on bash on Ubuntu on windows? [duplicate]

I cannot change directory like this I have a problem like this:
1
vote
1answer
1k views

How can I install “Python Editor” on “Ubuntu Bash” in Windows 10?

I'm trying to install a "python editor" that I can use for the Python 2.7 installation I've done via Bash Ubuntu in Windows 10. I understand that the trick is to get a connection between "windows 10" ...
0
votes
1answer
143 views

Program on Ubuntu Not Working

I reinstalled a program called Canopy on my Ubuntu for Windows. However, when I call it this happens: <jp2nyy>: ~/Canopy/canopy -d If Canopy doesn't start correctly, please run with -d option &...
1
vote
0answers
344 views

trying to delete a tab character in terminal only deletes one space

I'm using the Windows Subsystem for Linux; I don't know if this is relevant. Anyway, suppose I'm running cat at a terminal, and I enter 2.718\te where \t is an actual tab character. The screen now ...
3
votes
1answer
2k views

Why does my custom prompt not show in Ubuntu/Bash on Windows 10?

I added this to my ~/.bash_profile in "Bash on Ubuntu on Windows" (and I have git installed): # Get the Git branch parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/...
10
votes
5answers
40k views

Can I change directory to a Windows drive in Ubuntu Bash on WSL?

I am a super newbie for Ubuntu and basically need Ubuntu for a Python package. I would like to run a Python file in say e:/username/folder1/folder2/python.py. I tried every method online and the only ...
4
votes
1answer
414 views

How to get apt back after uninstalling it

I was just experimenting on bash supported by Windows 10. I entered the command sudo apt-get remove apt. I was greeted by a warning message, "it's dangerous bla bla", but I decided to see how far I ...
6
votes
3answers
13k views

Why does ping fail with “icmp open socket: Permission denied” on Bash on Win 10?

On my win10 machine in cmd prompt I've activated bash with lxrun /install /y then neilh>bash root@NHPINSP:/mnt/c/Users/neilh# ping google.com $ su ping google.com "ping: icmp open ...
0
votes
1answer
9k views

Copy file from remote to local with Windows 10 Bash

I am trying to copy some files on a remote host to my local machine using Win 10 Bash Shell, due to security policies I can only do so from the remote, so I made sure local port is open, logged on to ...
29
votes
12answers
29k views

A better terminal experience for Windows Subsystem for Linux(WSL)?

The terminal for Windows Subsystem for Linux (WSL) is fairly minimal. I have not used the terminal on Windows very much - I generally use Ubuntu or OSX - but I am surprised that the default terminal ...
5
votes
1answer
7k views

How do I copy files from the windows file system to the Ubuntu file system on Windows 10 [duplicate]

I found where the Ubuntu file system is on Windows 10 C:\Users\{username}\AppData\Local\lxss\home\{username} For some reason the lxss/ directory doesn't show up in Windows File Explorer. but if you ...
4
votes
1answer
4k views

How to do file operations in Ubuntu on Windows with explorer?

Using Bash on Ubuntu on Windows 10 I know that my home folder is located at C:\Users\<username>\AppData\Local\lxss\home\ and all other stuff is somewhere there too. When I copy things to ...\...
6
votes
3answers
12k views

How can I get the Ubuntu shell on Windows 10 to recognize a connected android device?

I'm trying to connect adb to my Android device in the Windows 10 Ubuntu shell, but it doesn't seem to be working: adb does work normally on Windows, so it's not a problem with the phone or the ...
2
votes
2answers
743 views

Can't install Gitlab on WSL: Initctl errors

Recently, I've tried to install Gitlab Enterprise Edition on my WSL system as I lack a proper development environment at the moment. The install itself goes reasonably well, but I cannot configure ...
0
votes
2answers
5k views

Ubuntu/ Windows Shared Folder (using WSL)

I am running Ubuntu on Windows Subsystems for Linux (WSL). I have successfully created a 'shared' folder between the two. However, the files I add in Windows do not appear when 'ls' in Ubuntu. Only ...
12
votes
2answers
18k views

Windows 10 Bash “Cannot connect to display!”

I have recently installed Bash for Windows 10 (yay!). I need it to run my processing software called 'Seismic Unix' which installed fine. However, when I ran the command attached, it gave this error "...
1
vote
1answer
1k views

Ubuntu on Windows - The End of Dual Boot? [closed]

Since this has come out, even though it is still in beta, does this put an end to the need for a dual boot computer? From what I've read, it certainly seems so, but after a date restricted Google ...
1
vote
3answers
18k views

“[screen is terminating]” Immediately, Never Creates Screen Instance

A friend of mine just showed me a neat built-in utility called screen that, long story short, allows you to create instances of the terminal. I am running Windows 10 and trying to use this utility ...
0
votes
0answers
108 views

Failed in Fetching updates from google

I am working on bash on ubuntu on windows. i installed kivy, buildozer, cython and jdk all the necessary modules required to build apk from buildozer. This is how i am making apk buildozer init and ...