Git Product home page Git Product logo

pengwin's Introduction

Pengwin

The first Linux® distribution optimized for WSL. Based on Debian®. From open-source software startup Whitewater Foundry. Formerly WLinux.

Store badge

See the Pengwin blog and @PengwinLinux for up-to-date news about Pengwin.

Twitter Follow

If you are a commercial, government, or educational institution, you may like to check out our enterprise-focused distribution, Pengwin Enterprise.

Features

  • Pengwin is a Linux environment for Windows 10 built on open-source technology conceived by Microsoft Research and the Linux ecosystem curated by the Debian project.
  • Pengwin is also the first Linux distribution pre-configured and optimized to run specifically on Windows® Subsystem for Linux, a Microsoft-supported feature of Windows 10 and Windows Server 2019.
  • Pengwin includes wslu, a set of useful open-source utilities for interacting between WSL and Windows 10.
  • A custom Pengwin-setup tool, accessible via $ pengwin-setup allows new Pengwin users to get started on Linux immediately:
    • Change language and keyboard settings.
    • Select optional shells: csh, zsh (with oh-my-zsh), and fish (with oh-my-fish).
    • Choose text editors: emacs, neovim, and Visual Studio Code.
    • Unpack your favorite development environment NodeJS (with n, npm, and/or yarn), Python 3.7 (with pip), Ruby (via rbenv), Rust (via rustup installer) and Go.
    • Manage your Microsoft Windows and Azure deployments with PowerShell and azure-cli, command line tools for Azure.
    • Enable/disable Windows Explorer shell integration.
    • Configure experimental GUI settings, including a Windows 10 theme for your Linux applications, HiDPI support and international input methods.
    • Create a secure bridge to Docker running on Windows.
  • Support for many Linux graphical applications with no need to configure display or libGL in Pengwin. (Requires a Windows-based X server, such as X410.)
  • Install over 27,790 open source packages via the apt package management system from the expansive Debian repositories and any third-party Debian-compatible repositories from outside projects.
  • Pengwin provides faster patching for WSL-specific bugs than any upstream Linux distro available on WSL.
  • New features are actively developed based on community input. Learn how you can earn paid grants improving Pengwin.

Requirements

  • Windows 10
    • Minimum 1709/16299
    • Recommended 1809/17763
  • Windows Subsystem for Linux Enabled
    • To enable Windows Subsystem for Linux open PowerShell as Administrator and run:
      Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
      

Updates

To check for updates, use the apt package management system.

  1. Check for the latest updates: $ sudo apt-get update
  2. Apply the latest updates: $ sudo apt-get upgrade

Versioning

Pengwin is rolling release. Debian packages, pengwin-base, and pengwin-setup receive ongoing updates. Version numbers are used to track long-term progress on bugs and features, e.g. 1.2, and new versions are released every 2-3 months. New builds are regularly built and uploaded to the Store. The third build uploaded during 1.2.x window will be marked 1.2.3.

To check your version of pengwin-setup: $ apt-cache policy pengwin-setup

To check your verison of pengwin-base: $ apt-cache policy pengwin-base

Obtaining Support

Purchases of Pengwin in the Microsoft Store pay for a team of open source indie developers to add new features, test and release builds, evaluate WSL-related CVEs, and provide user support. User support is provided on a best effort basis. Most issues can be resolved by following the steps below.

  • First, search for your issue on the Pengwin Issues page here.
  • Next, search for your issue on the general WSL Issues page here.
  • Then consult the official Troubleshooting Windows Subsystem for Linux documentation from Microsoft.
  • Finally, if you are still unable to resolve your issue, please submit a bug report here and we will do our best to help you. We usually respond to most Issues within a few hours. Thank you for your patience.

Additional Pengwin Documentation

Related Pages

Credits

Core Team

Contributors

Founder

Testing/QA

Store badge

pengwin's People

Contributors

aaronfriel avatar alecthegeek avatar bitcrazed avatar crramirez avatar dazjjackson avatar distractionrectangle avatar frieltwochairs avatar hrontan avatar imaandrew avatar ionicabizau avatar kjaleshire avatar lcsondes avatar linghengqian avatar microsoftopensource avatar miniksa avatar msftgits avatar nunix avatar patrick330602 avatar pepasflo avatar rich-nahra avatar sgraf812 avatar sirredbeard avatar steffen-4s1 avatar sundhaug92 avatar tara-raj avatar techtide avatar zadjii-msft avatar

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

pengwin's Issues

Feature request: preinstall fish

The fish shell is becoming very popular for developers that are new to Linux, because of its many convenience features, but also due to its philosophy of not sticking too much to the old and obscure design of the Bourne shell, making it easier to learn from scratch. It would be nice to have that out of the box.

Setting up a proxy for apt (configuring proxy.conf)

After WLinux is installed it runs initial setup program. However when we are behind proxy, it fails to connect to the apt repository and also fails to get updated content.

Is there anyway for setup program to ask for proxy server name and port and use it.

Note

These WSL error messages occur from time to time and can tricky to troubleshoot short of reinstalling WSL.

They are usually not an issue with WLinux itself but a glitch with the underlying Windows Subsystem for Linux in Windows 10.

You can help us help you and Microsoft improve WSL and address these if you can provide us some debugging information.

[ ] I have read the above statement.

Basic Troubleshooting

Please check:

[ ] I have confirmed WSL is enabled: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[ ] I have searched Google for the error message.
[ ] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[ ] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[ ] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[ ] I have disabled and re-enabled WSL in Windows Features.
[ ] I have run Windows 10 updates and restarted.

What other troubleshooting have you attempted to date?

Error Code

Insert here:

Please check:

[ ] This error code is not one listed below.

Known Error Codes
0x80040306 Fix: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#error-0x80040306-on-installation
0x80040154 Fix: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#error-0x80040154-after-windows-update

Version

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here:

Screenshot

Insert here:

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

WSL Debug Data

Please collect and attach .etl files by following this guide: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#starting-bash-gives-an-error-code

dpkg vendor setting

Describe the bug
dpkg vendor setting needs to be changed from 'debian' per https://wiki.debian.org/Derivatives/Guidelines

To Reproduce
Steps to reproduce the behavior:

  1. Install from Microsoft Store
  2. cat /etc/dpkg/origins/default
Vendor: Debian
Vendor-URL: http://www.debian.org/
Bugs: debbugs://bugs.debian.org

Expected behavior
Expected behavior is that the Vendor strings are properly set. Per the Debian derivative guidelines:

dpkg has the concept of a 'vendor', derivative distributions should set the dpkg vendor to something other than Debian. To change the vendor you can install a file to /etc/dpkg/origins/example and ensure the /etc/dpkg/origins/default symlinks points to example. Please ensure that the Parent field of your dpkg origins file is set to Debian. For more information about the dpkg vendor concept and implementation please read the 5/deb-origin and 1/dpkg-vendor manual pages.

Ref: https://wiki.debian.org/Derivatives/Guidelines

WLinux not visible in JetBrains products

WLinux is not visible in wsl toolchain in JetBrains products

Steps to reproduce the behavior:

  1. Open any JetBrains products with wsl toolchain

Expected behavior
Should be visible in HetBrains products

Basic Troubleshooting Checklist

[] I have confirmed WSL is enabled: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[
] I have searched Google for the error message.
[] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[
] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[
] I have disabled and re-enabled WSL in Windows Features.
[*] I have run Windows 10 updates and restarted.

Hard coded path in project file

I tried to build the WLinux app with Visual Studio and there is a build error after launch the build.bat file.

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(4967,5): error MSB6003: Die angegebene ausführbare Datei der Aufgabe "MakeAppx.exe" konnte nicht ausgeführt werden. Der Zugriff auf den Pfad "C:\Users\hayden\Documents\Builds\DistroLauncher-Appx_1.1.20.0_Debug_Test" wurde verweigert. [D:\WLinux\DistroLauncher-Appx\DistroLauncher-Appx.vcxproj]

I found out, that in your "DistroLauncher-Appx.vcxproj" is a hard coded path on line 85:
<AppxPackageDir>C:\Users\hayden\Documents\Builds\</AppxPackageDir>

/etc/apt/sources.list is getting overwritten

Describe the bug
If we select Y: Would you like to enable the non-free and contrib Debian package repos? it overwrites

then it runs below and overwrites the default list file.
sudo sh -c 'echo "deb https://deb.debian.org/debian/ stable non-free contrib" > /etc/apt/sources.list'

if you want to restore the original file, run the below command

cd /etc/apt
sudo cp sources.list sources.list.bak
sudo wget https://raw.githubusercontent.com/WhitewaterFoundry/WLinux/master/linux_files/sources.list

To fix
change it to
sudo sh -c 'echo "deb https://deb.debian.org/debian/ stable non-free contrib" >> /etc/apt/sources.list'

To Reproduce
Run bash /etc/setup

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Basic Troubleshooting Checklist

[ ] I have confirmed WSL is enabled: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[ ] I have searched Google for the error message.
[ ] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[ ] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[ ] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[ ] I have disabled and re-enabled WSL in Windows Features.
[ ] I have run Windows 10 updates and restarted.

What other troubleshooting have you attempted?

Insert here:

WLinux Version

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here:

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

Evolution mail doesn't start

Describe the bug
Evolution mail client cannot start.

To Reproduce
Steps to reproduce the behavior:

  1. sudo apt install evolution
  2. evolution

Expected behavior
Working mail client.

Info
Windows Build: Latest 1803

Additional context

$ evolution

(evolution:1185): Gdk-ERROR **: The program 'evolution' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadContext'.
  (Details: serial 153 error_code 151 request_code 147 (GLX) minor_code 6)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

No zsh

Describe the bug
No zsh on fresh installation

To Reproduce
Steps to reproduce the behavior:

  1. Buy Wlinux from Windows store
  2. Start it

Expected behavior
I think it should use zsh by default. However I get a bash prompt and have to install zsh by myself

Info
Windows Build: 17134.285

Feature request: set environment variables in /etc/environment where possible

DISPLAY and LIBGL_ALWAYS_INDIRECT are set in /etc/profile currently. This works with broadly Bourne-compatible shells like bash and zsh, but not with fish.

Debian has /etc/environment, which is not shell-specific. It would be nice to set any variables that do not require conditional setting, variable expansion etc there, so that they work as broadly as possible regardless of the choice of login shell.

Assistance installing Python on 1.1.17

Hi,
everything I install with pip3 gives me -bash: ipython: command not found.

In example after installing ipython with pip3 install ipython.

WLinux Version

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here: 1.1.17.0

Windows Build

10.0.17134.285

image

sed: can't read /etc/dbus-1/session.conf: No such file or directory

Describe the bug
When running the /etc/setup script, and trying to say Y for

Would you like to download and install a base set of libraries for GUI packages? [y/N]

It installs the required packages. However it fails when trying to run the sed script for /etc/dbus-1/session.conf.

This file is not there and therefore sed script fails with the below error message.

ketan@PGH-L7200K3F:/etc/dbus-1$ sudo sed -i 's$.*$tcp:host=localhost,port=0$' /etc/dbus-1/session.conf
sed: can't read /etc/dbus-1/session.conf: No such file or directory
ketan@PGH-L7200K3F:/etc/dbus-1$ sudo sed -i 's$EXTERNAL$ANONYMOUS$' /etc/dbus-1/session.conf
sed: can't read /etc/dbus-1/session.conf: No such file or directory
ketan@PGH-L7200K3F:/etc/dbus-1$ sudo sed -i 's$$<allow_anonymous/>$' /etc/dbus-1/session.conf
sed: can't read /etc/dbus-1/session.conf: No such file or directory

mtr throws error: unable to get raw sockets

Describe the bug
when using tracetool mtr (mytraceroute), installed via apt, mtr throws an error.
"mtr: unable to get raw sockets"
To Reproduce
Steps to reproduce the behavior:

  1. install mtr via "sudo apt install mtr"
  2. start a trace like "mtr google.com"

Expected behavior
An output with all hops between host and destination, with last pings, latency and so on in console

Screenshots
mtr_unable_to_get_raw_sockets

Info
Windows Build:
17763

Just installed it and I have no python

Hi,
I have Just installed WLinux and I have no python: -bash: python: command not found

WLinux Version

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here: 1.1.17.0

Windows Build

10.0.17134.285

Error 0x80070002 initializing WLinux distro

Previously filed on WSL: microsoft/WSL#3567. They claim it's not in WSL as both Kali and Ubuntu initialize without problems.


I am trying to install WLinux distro, but so far it's failing for me due to old 0x80070002. My console legacy mode is off.

  • Your Windows build number: 10.0.18242.1000 (Insiders fast)

  • What you're doing and what's happening:

wlinux
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070002
Error: 0x80070002 The system cannot find the file specified.
  • What's wrong / what should be happening instead:
    Initialize WLinux distro.

ETLs here.

Is there anything I can do to fix it? People recommend reinstallation of Windows, but that's an overkill for me now.

Thanks,
V.

Proposal: WLinux OOBE

I hope to make a Out-Of-Box-Experience when people first start using WLinux, rather than pre-installing so many packages. I believe this will not be the first priority of this project now but I will leave this here for discussion.

Original Logo for WLinux Concepts Discussion

WLinux needs an original logo. What we have right now is used under license but is not original.

Designers are encouraged to submit your rough concepts for a new original logo here. I am looking for something that fits the Windows 10 minimalistic aesthetic but clearly identifies WLinux as Linux. Please include the best way to reach you, such as Telegram, e-mail, etc.

Users are invited to submit feedback on the concepts submitted. I will review the concepts and select one to be developed based on the feedback here.

Bounty terms:

  • If your logo concept is selected to be developed you must provide a color logo on a transparent background in SVG at least 400x400px, a white logo on a transparent background in SVG at least 400x400px, a color .ICO file, and the raw files (.PSD, .XCF, etc.) for inclusion in the project.
  • You agree to assign ownership of the logo and copyright to Whitewater Foundry, Ltd. Co. and for the files to be distributed under the MIT license.
  • I will retain discretion over the selection of the logo and payment of the bounty.
  • You agree to be paid electronically.

Please direct any questions regarding this bounty to hayden at whitewaterfoundry.com or at WLinuxApp on Twitter. This is not a binding contract or an offer of employment.

Edit: PNG->SVG (thank you @Biswa96) and Twitter contact details.

ssh preinstalled

Is your feature request related to a problem? Please describe.
I can hardly think of anyone not wanting ssh to be preinstalled.

Describe the solution you'd like
ssh preinstalled

Describe alternatives you've considered
There is no alternative to ssh 😎

Additional context
Well, sudo apt install ssh of course works just fine, but I assume that it's even possible to tweak it if it comes preinstalled.

Purchase outside of Windows store

I would love to support this project but my laptop doesn't have access to the store due to company policy restrictions. Normally I install wsl distros through chocolatey, is there any alternative to get it outside of official store?

Cannot open display when opening gedit example

I am wanting to use WLinux for running Linux apps on Windows 10 using the X410 software.
I am using latest updated versions of WLinux and X410 and am using the Windows 10 October update (build 1809).

At first I updated and upgraded all packages using apt update && apt upgrade.
I installed gnome-shell and gedit and am running x410 software.

When I run gedit I get the following message:

Unable to init server: Could not connect: Connection refused

(gedit:7): Gtk-WARNING **: cannot open display:

Am I doing something wrong? Thanks

Python not found after installing it via apt

Hi,
I have installed it via sudo apt-get install python3.7 -t testing, but when I run python3 (or python) I have -bash: python3: command not found.

What's wrong?

WLinux Version

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here: 1.1.20

Windows Build

10.0.17134.285

Add fzf

The ctrl+r replacement w/ fuzzy search is especially useful.

/etc/setup also gets run when we login as root

Describe the bug
/etc/setup also gets run when we login as root. It should only be run for non root user. Current workaround is to select N 2 times.

Also it does not work if your environment needs proxy setup.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Basic Troubleshooting Checklist

[ ] I have confirmed WSL is enabled: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[ ] I have searched Google for the error message.
[ ] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[ ] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[ ] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[ ] I have disabled and re-enabled WSL in Windows Features.
[ ] I have run Windows 10 updates and restarted.

What other troubleshooting have you attempted?

Insert here:

WLinux Version

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here:

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

windows shell integration does not work properly

Hi,
I have used these commands (

cp /opt/ShellIntegration/Install.reg /mnt/c/Temp/Install.reg
cmd.exe /C 'Reg import C:\Temp\Install.reg'
cmd.exe /C 'del C:\Temp\Install.reg'

and now I have shell WLinux shell integration. But when I right click on a folder and choose "Open with WLinux", a WLinux window opens and then closes immediately.

Thank you

WLinux Version

1.1.20

Windows Build

10.0.17134.285

Building on different drive fails (except C:\, e.g. D:\)

Describe the bug
Trying to build on different-than-C:-drive fails, with:

  • stdafx.h could not be found, while the file exists!

To Reproduce
Steps to reproduce the behavior:

  1. clone repo on different-than-C:-drive
  2. try to build with VS
  3. Build fails with "[...]stdafx.h could not be found[...]"
  4. See error

Expected behavior
build should be sucessfull

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Basic Troubleshooting Checklist

[X] I have confirmed WSL is enabled: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[X] I have searched Google for the error message.
[X] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[X] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[X] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[X] I have disabled and re-enabled WSL in Windows Features.
[X] I have run Windows 10 updates and restarted.

What other troubleshooting have you attempted?

Insert here:

1.1.20

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here:

Microsoft Windows [Version 10.0.17134.285]

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.17134 N/A Build 17134

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

Bounty: Help debug quirks with Chrome 69+ on WSL ($50 USD)

Describe the bug

The new Google Chrome is acting strangely in X clients on WSL.

On VcSrvX it is triggering a core dump: https://twitter.com/ueyasu/status/1044583330912526337

On X410 this is happening:
capture4

This is somewhat erratic, even across other WSL distros, I do not think it is isolated to WLinux.

Commenting out ALWAYS_LIBGL_INDIRECT=0 in /etc/profile sometimes appears to make a difference, but not consistently.

To Reproduce

  1. Install WLinux or other Debian-based WSL distro.
  2. $ wget https://github.com/WhitewaterFoundry/WLinux/blob/master/linux_files/installchrome.sh
  3. $ bash installchrome.sh
  4. Accept install.
  5. $ google-chrome

Expected behavior

Chrome works.

Info

X410 1.7.3
Windows Build 17134

Additional context

Because Chrome has announced more logging and tracking of users, I am generally amenably pulling it and shipping a separate browser for people to try on WSL, like Falkon or Epiphany.

Workaround

Comment out ALWAYS_LIBGL_INDIRECT=0 in /etc/profile and restart WLinux or use an alternate browser.

api-ms-win-core-l2-2-0.dll was not found

Appears to be an issue with Debian-based WSL distros and Visual Studio:

microsoft/WSL#3456 (comment)

Debian released a patch for this by tweaking Visual Studio settings:

https://salsa.debian.org/rhaist-guest/WSL/commit/48efd0d70cc21982652a91bafd5b00fb44009f8e

We should have incorporated that patch but I need to go take a second look and make sure we are reflecting those changes.

In the mean time, enter "$ wslconfig.exe /s WLinux" and "bash.exe" to start WLinux.

code execution cannot proceed because api-ms-win-core-console-l2-2-0.dll was not found

Error Code


wlinux.exe - System Error

The code execution cannot proceed because api-ms-win-core-console-l2-2-0.dll was not found. Reinstalling the program may fix this problem.

OK

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.16299 N/A Build 16299
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
BIOS Version: HP N75 Ver. 01.16, 6/8/2017

WSL Debug Data

etl.zip

Ship wslu in the default install ($100 USD)

Instead of shipping wslu as an add-on via shell script, we should tweak create-targz.sh to install the wslu .deb in the default install. I would prefer we install the wslu repo and .deb, over just using the build script, to ensure updates to wslu get pushed out via apt to existing installs.

So far though I have run into issues with apt-key on the chroot environment I haven't been able to solve. Can you?

Bounty terms:

  • Please submit a pull request on GitHub containing the fix.
  • The fix must be simple, tested, and documented.
  • The fix must be licensed under the MIT license and copyright assigned to Whitewater Foundry, Ltd. Co.
  • The first pull request to elegantly solve the issue will usually win the bounty.
  • I retain complete discretion over the selection of the solution and assignment of the bounty.
  • You agree to be paid electronically.

Bug: VSCode install script doesn't get all dependencies

After running:

sudo /opt/installcode.sh

as per instructions on the main page, I see that VSCode is installed, and the code binary is there. But when run:

int19h@ANGBAND ~> code
/usr/share/code/bin/../code: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

After getting past that, it's also missing libasound2.

Error 0x8007007b

Describe the bug

Tracking this one-off WSL bug.

No current known issues or workarounds.

Error report comes back to a Windows activation problem.

Attempting troubleshooting.

If issue continues, we will follow Microsoft here and file issue upstream in WSL to collaborate with Microsoft and other distros on solution.

To Reproduce

Unknown at this time.

Expected behavior

WLinux registers.

Screenshots

dobzwpyucaax5a5

Info
Windows Build:

dobfalsv4aezjop

Additional context

Twitter thread: https://twitter.com/happou31/status/1044933383875248128

"taskkill.exe /IM WLinux.exe" fails when Ubuntu is installed first

Describe the bug
When running /etc/setup if I choose update the scripts, it updates it and stops with the following error:

ERROR: The process "WLinux.exe" not found.

The problem is this line: taskkill.exe /IM WLinux.exe

To Reproduce
Steps to reproduce the behavior:

  1. Run /etc/setup
  2. Choose Y to update it
  3. ERROR: The process "WLinux.exe" not found.

Expected behavior
Show the options to configure the environment

Additional context
I don't have any process running called WLinux.exe when wlinux is running, I only see bash. I installed Ubuntu before WLinux, after installing WLinux I set it as the default with wslconfig

Basic Troubleshooting Checklist

[ Y] I have confirmed WSL is enabled: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[N ] I have searched Google for the error message.
[N ] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[Y ] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[N ] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[N ] I have disabled and re-enabled WSL in Windows Features.
[N ] I have run Windows 10 updates and restarted.

What other troubleshooting have you attempted?

If I choose not to update it works

Insert here:

1.1.20.0

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here:

17134

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

OS Name: Microsoft Windows 10 Professionnel
OS Version: 10.0.17134 N/A Build 17134
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
BIOS Version: Dell Inc. 1.3.8, 2018-08-08

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

Error resolving cdn-aws.deb.debian.org on sudo apt update

Describe the bug

This is from a clean install of WLinux bought on Windows 10 Store. After insstall, I want to make a sudo apt-get update

To Reproduce
Steps to reproduce the behavior:

  1. Install WLinux from store
  2. Start WLinux
  3. sudo apt-get update
  4. See error
Hit:1 http://security.debian.org/debian-security stable/updates InRelease
Hit:4 https://apt.patrickwu.ml stable InRelease
Err:2 https://cdn-aws.deb.debian.org/debian stable InRelease
  Could not resolve host: cdn-aws.deb.debian.org
Err:3 https://cdn-aws.deb.debian.org/debian stable-updates InRelease
  Could not resolve host: cdn-aws.deb.debian.org

Expected behavior

I would have expected an update to take place.

Info
Windows Build: Version 10.0.17134 Build 17134

ValidateAppxPackage Failed while building WLinux

I am trying to build WLinux, but every time that i run build.bat, I get the error:

   "C:\Users\andre\Downloads\WLinux-master\DistroLauncher.sln" (Build target) (1) ->
   "C:\Users\andre\Downloads\WLinux-master\DistroLauncher-Appx\DistroLauncher-Appx.vcxproj.metaproj" (default targe
   t) (3) ->
   "C:\Users\andre\Downloads\WLinux-master\DistroLauncher-Appx\DistroLauncher-Appx.vcxproj" (default target) (4) ->
   (_ValidateAppxManifest target) ->
     C:\Program Files (x86)\Microsoft Visual Studio\Preview\Community\MSBuild\Microsoft\VisualStudio\v15.0\AppxPack
   age\Microsoft.AppXPackage.Targets(2624,5): warning : This project uses the 'runFullTrust' capability.  You shoul
   d use the Windows Application Packaging Project to produce the store and sideload packages. See https://go.micro
   soft.com/fwlink/?linkid=871803 for more information. [C:\Users\andre\Downloads\WLinux-master\DistroLauncher-Appx
   \DistroLauncher-Appx.vcxproj]


   "C:\Users\andre\Downloads\WLinux-master\DistroLauncher.sln" (Build target) (1) ->
   "C:\Users\andre\Downloads\WLinux-master\DistroLauncher-Appx\DistroLauncher-Appx.vcxproj.metaproj" (default targe
   t) (3) ->
   "C:\Users\andre\Downloads\WLinux-master\DistroLauncher-Appx\DistroLauncher-Appx.vcxproj" (default target) (4) ->
   (_ValidateAppxPackage target) ->
     C:\Program Files (x86)\Microsoft Visual Studio\Preview\Community\MSBuild\Microsoft\VisualStudio\v15.0\AppxPack
   age\Microsoft.AppXPackage.Targets(3132,5): error APPX0002: Task 'ValidateAppxPackage' failed. Could not find fil
   e 'C:\Users\andre\Downloads\WLinux-master\DistroLauncher-Appx\Package.StoreAssociation.xml'. [C:\Users\andre\Dow
   nloads\WLinux-master\DistroLauncher-Appx\DistroLauncher-Appx.vcxproj]
   C:\Program Files (x86)\Microsoft Visual Studio\Preview\Community\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackag
   e\Microsoft.AppXPackage.Targets(3132,5): error APPX0002:  [C:\Users\andre\Downloads\WLinux-master\DistroLauncher
   -Appx\DistroLauncher-Appx.vcxproj]

I have tried rebuilding the solution but the same thing happens.

Some issues for wslu part

Hi, I am the author for wslu, and thank you for including my project!

But there is some small issues I found:

This line seems to be a typo: https://github.com/sirredbeard/WLinux/blob/13daf321fde605ab09098ff172a9f67a4bdea1b6/create-targz.sh#L25

Also, I find that the installation script is wrong, you should use the following instead:

sudo apt install lsb-release apt-transport-https
wget -O - https://api.patrickwu.ml/public.key | sudo apt-key add -
echo "deb https://apt.patrickwu.ml/ `lsb_release -c -s` main" | sudo tee -a /etc/apt/sources.list 
sudo apt update
sudo apt install wslu

Propose Ideas For Bounties

You are invited to submit ideas below to become funded bounties.

They must:

  • Be technically achievable within the Windows Subsystem for Linux platform.
  • Be open source and comply with applicable open source software licenses.
  • Specify if you are able and would like to participate in the bounty.

Things that are not candidates for feature bounties:

  • New package requests that can be easily implemented from Debian repos.

Features chosen for bounties will have their own issue created.

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.