Code Monkey home page Code Monkey logo

wsl-programs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wsl-programs's Issues

Docker ๐Ÿคท

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?

WSL/WSLg interoperability sometimes doesn't run correctly

On some sign-ons, WSL throws an error: "/bin/bash: /usr/bin/start-wsl-services: No such file of directory."

image

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.

image
image

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.
image
image

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.

ADB functionality.

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

Gnome-terminal won't stay running on first launch when called from Windows shortcut

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.

WINE doesn't work

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.

Firefox; extensions won't install

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)

vim+

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.

Section for interesting parts/in depth documentation

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.

  1. Have a different section in the README for quirks
  2. Have a separate file
  3. Start a wiki where we can also put more documentation about programs and we can organize them better.

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?

Docker + Postgresql + Ruby on Rails

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:
bcwdcFfGq9
OYQ99jrfsT
uoKBgJXCve
mNoqDjXJxR

Mono Issues

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 works

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.

New column

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

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.

ifconfig now works on WSL

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 works

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

Hacktoberfest!

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.

gpg

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.

Java works

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.

Add grep to the table

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.

nginx works (partially)

You need to do not bind to ipv6 addresses and to add master_process off; to /etc/nginx/nginx.conf

Add gradle and java versions

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 , ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.