ethanhs / wsl-programs Goto Github PK
View Code? Open in Web Editor NEWA community powered list of programs that work (and those that don't) on the Windows subsystem for Linux
License: Creative Commons Zero v1.0 Universal
A community powered list of programs that work (and those that don't) on the Windows subsystem for Linux
License: Creative Commons Zero v1.0 Universal
Any update for the new Creators Update?
Hi @ethanhs,
I think docker works now on WSL, I'm going to take a look at this to try set up a dockerised node environment
I'm having a bit of a hard time trying to remove docker.io (which was working) from my WSL install so I'm about to trash my system and start again.
Would you like a PR to reflect this if I get it working?
On some sign-ons, WSL throws an error: "/bin/bash: /usr/bin/start-wsl-services: No such file of directory."
This, of course, involves a script I placed in WSL to run a few services on startup. Normally, this script runs just fine and starts services such as CUPS (so that I can print from Linux apps when desired), DBus system instance (so I can use the Trash in nautilus as well as some other apps that don't run correctly without a running system DBus session), and so forth. I understand that issues with my own script are not something for Microsoft to deal with (generally, until the last few updates, the script ran flawlessly) but the underlying issue is with interoperability of WSL and WSLg. When this error is generated, any BASH prompt opened while it is happening displays wslg [ ~ ]$
and no WSL GUI program will run. Some command line programs also won't run, either.
Sudo password is not accepted as per usual. Every single one of the programs showing in the above BASH session is installed in WSL, and properly configured. Sometimes, the problem will resolve itself. Sometimes it won't. Whenever this happens and it doesn't resolve itself, if I restart the LxssManager service WSL will terminate and then this problem vanishes, and WSL GUI programs will launch again, as well as other command line programs and scripts.
The following is what is expected to be seen when WSL and WSLg are running properly together on startup.
But when the BASH prompt is showing WSLg in the prompt, that is when the issues start. And they don't just involve my script used to launch Linux services.
How PostgreSQL supports?
You can actually operate adb on WSL.
Well, on some level.
By default, WSL will install adb of version 1.10.31.
If you pick the very same version on Windows and start adb server (adb start-server) on Windows, you can actually see and access android devices on WSL.
I assume adb server's inter-process communication is based on network model (on port 5037 as you often see).
So even the server is running on windows, it does not break the client running on WSL as long as they recognize each other with same version number.
Have fun hacking WSL :D
The program gnome-terminal won't stay running on first launch, when called from Windows shortcut created by WSLg. It will run if I launch it from within a bash prompt, or another terminal, or from Windows Terminal. But if I launch some programs using a shortcut, gnome-terminal will launch, and stay loaded, so long as the program first launched continued to run. Otherwise, it automatically closes when the program that first was opened is closed. Once launched from another terminal, it will continue to run each time opened, until signing off. And then it will return to the behavior of not appearing and staying running using WSLg.
Expected behavior is to run whenever called, without fail. It may be related to a DBus issue. So long as a DBus session is running that is associated with gnome-terminal is running after gnome-terminal exits, gnome-terminal will run on each launch. As soon as the DBus session that is associated with gnome-terminal ends, gnome-terminal goes back to the errant behavior of not staying running and not displaying more than a fraction of a second.
Funnily enough, WINE doesn't work on WSL. The only barrier to this however seems to be the inability to execute i386 libraries on WSL.
WINE working on WSL may not however be a crazy idea. It has increased backward compatibility with older software, especially 16-bit applications which cannot run on 64 bit Windows due to the lack of NTDVM.
... Small wins. :) It works fantastically.
I've notice many things are listed with an older build and some such as Electron could use additional testing. Electron specifically should be working within Insider builds (along with anything depending on it such as Atom if I recall correctly). Also notice Pulse Audio isn't there. There's a custom PPA (see https://launchpad.net/%7Etherealkenc/+archive/ubuntu/wsl-pulseaudio) that allows it to work.
When adding extensions, they will download fine, but get "stuck" at "Installing". Even downloading the extensions directly to a folder, then dragging 'n dropping to the "Extensions" page, has the same result.
Firefox v 57.0.1 (64-bit)
Extensions: Tested on numerous random top-suggested. (Including after WSL subsystem restarts and Windows reboots.)
Windows 10 Pro build 16299.rs3_release.170928-1534
Windows-native X server: VcXsrvv 1.19.3.4 (64-bit)
Ubuntu 16.04.3 LTS (latest App Store WSL version as of 2017-12-01; minimal configuration/customization)
XFCE4: 4.12.0
Xserver (Ubuntu): 1.18.4
Bash: 4.3.48(1)
It is claimed that vim can create new Linux files but not new Windows files. What exactly is meant by this? I have no issues creating files using vim.
Also on the main page it says "Plugins don't work", but under the detailed list it says that they do. Haven't tested extensively, but only one can be right.
So we have a section for functionality of specific programs but it would also be nice to have a section for interesting quirks about the system that we find.
For example:
uname -v
gives returns #1 PREEMPT Thu Aug 1 17:06:05 CST
Or that keyboard shortcuts do not work.
So I have a few ideas how this could work.
I have some updates to the README that I will be pushing soon but I'll wait till I get an answer to this.
On a side note, has anyone told Microsoft about this repo?
I'm trying to run the following code for a Ruby On Rails Bootcamp Course but when running the 3rd step to create the rails new app it returns the errors shown below:
1st step - docker run --rm --user "$(id -u):$(id -g)" -v $(pwd):/usr/src -w /usr/src -ti ruby:2.5.1 bash
2nd step - gem install rails 5.2
3rd step - rails new OneBitExchange --database=postgresql --skip-bundle
exit
cd OneBitExchange
and then returns the following errors as shown on the prints below:
Mono 4.4 breaks some mkbundle functionality. Stick with 4.2 for now. Info here.
Please close this issue only when the above bug is resolved. Or, if you desire, add a warning to the Mono entry for the time being.
Thunar file manager using Xming works to access files, although icon thumbnails are not shown.
It can associate and open file extensions with installed Linux applications, but not Windows ones.
As Microsoft is adding new builds: I propose the addition of a build column, indicating the last build that the particular program was tested using.
zsh install and it can run oh-my-zsh
oh-my-zsh are working as far i can see.
chsh -s $(which zsh) #have almost no effect because anyway you need to start command promt and switch with bash command that will run bash.
i didn't check if there is a way for start directly on zsh.
Not entirely sure which version brought the fix for this, but running 14986, I can run ifconfig and ip and get network information from all available interfaces. I haven't tested any of the commands to set network configuration.
Firefox 49.0 appears to work though it complains about multithreading breaking the sandbox. Have not tested media playback but based on other comments, I expect audio to fail.
To run, download & install an X11 server like VcXsrv or XMing.
Install Firefox w/ apt-get install firefox -y
Checked today and it works
Please feel free to contribute your experiences with using the Windows Subsystem for Linux! Note that usage of normal Linux does not count. Sorry...
Please read the About for information on contributing.
It looks like ping works if bash.exe is run with admin privileges. I tested this as working as well.
I have found that with gpg 2.2.4, creating a new key and deleting a key works but signing does not. See microsoft/WSL#4029 for signing issue.
PS E:\dev> bash
/mnt/e/dev $ java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
haven't been able to use it much because I did not get adb to work yet.
Will look into the corresponding issue on this repo.
I am not sure if this would be worth adding to the list, but grep mostly works with some shortcomings such as this issue with passwords being printed to the console.
Using the Windows Store app located at https://www.microsoft.com/en-us/p/gwsl/9nl6kd1h33v3?activetab=pivot:overviewtab
You need to do not bind to ipv6 addresses and to add master_process off;
to /etc/nginx/nginx.conf
Add gradle ( and gradlew)
And the different java versions (or the versions you are concentrating on)
What java do you mean (oracle, openjdk , ...) what version 7, 8 , ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.