Developers are flocking to the new Bash feature in Windows 10 Build 14316

Linux Firefox running in Windows 10
During BUILD 2016, Microsoft said the upcoming Anniversary Update planned for Windows 10 this summer would include Linux-based Bash support for developers, allowing them to run Unix commands within the Windows environment. The company included Bash in Build 14316 released to the Insider Preview Fast ring last week, and now it appears that developers have latched onto that build and found a way to run Linux GUI apps through the new feature.

One developer named “w2qw” jumped on Reddit and revealed that he managed to get Ubuntu Linux-based Firefox and Vim running side by side with Windows 10 apps. This was accomplished by using both Bash and the Xming X Server for Windows, the latter of which is a server for developers to draw and manipulate graphical interfaces (windows) that can interact with a mouse and keyboard.

So how did w2qw get these Linux apps up and running? First developers need to enable Bash itself by launching the Settings app, choosing “Update & security,” going into the “For developers” section, and then selecting the “Developer mode” option. After that, go into “Windows features,” select “Turn Windows Features on or off,” and then check the box next to the “Windows Subsystem for Linux (Beta)” option. Developers can then install and run Bash in the command prompt after the computer restarts.

Once Bash is set up, developers merely need to install and set up the X Server on Windows 10. After that, go into the command prompt and run the following command using Bash to load up the Linux-based Firefox browser:

DISPLAY=:0 firefox

“Obviously it’s going to be slower than a native Windows/Linux application but probably better than VNC/X11 forwarding,” w2qw writes. Firefox crashes on every second page load but hey you can’t tell that from a screenshot?” Other Reddit users are also following these steps and are seeing Firefox frequently crashing.

In addition to Firefox, the developer also notes that he’s been trying to run Wine, but has stumbled across multiple issues. He managed to work around a copy but says that it’s “still not there” performance-wise. He admits he’s not real familiar with Wine, but believes there’s no real blocker in running the application.

Another Reddit user in the same thread reports that he managed to get a HyperV Ubuntu virtual machine (VM) running in the background and a virtual switch running between it and the Windows 10 machine. Even more, another user tried to run Xorg in Bash, but w2qw points out that this application must be run outside the Linux subsystem, as this subsystem does not have access to graphics drivers. Using the Xming server should work.

Finally, Reddit user pnosker reports that he tried running PyMOL but it often crashes and doesn’t display the right hand side file or commands. Gedit crashes while loading a file, and Nautilus will crash occasionally, but will actually allow the user to right-click on a file to open it. He even managed to apt-get install git and g++ to clone/compile protein design software ProtCAD, which reportedly runs “normally.”

“Most crashes are seemingly due to the Microsoft OpenGL 1.1.0 interface that’s built in,” pnosker writes. “Hopefully Microsoft will release a reasonable OpenGL implementation so we can run stuff more reliably.”

As seen in the Reddit post, developers are all over the new Bash support in Windows 10. And while developers can now run Linux command-line tools (sed, awk, grep, etc.) and Linux-first tools (Ruby, Git, Python, etc.), this feature is still in beta, so developers need to expect broken apps and a few “rough edges.” Things should get a lot smoother as Microsoft improves this feature with each build.

Thanks to Windows Clan for the tip!

Product Review

The 2019 Porsche Macan S is a luxurious and quick SUV, but it's no road tripper

The roster of models challenging the Porsche Macan grows annually. The German firm updated its smallest, most affordable SUV with a new engine, more tech features, and subtle design tweaks to keep it looking fresh.
Mobile

Apple's iOS 12.1.1 makes it easier to switch cameras in FaceTime

After months of betas, the final version of iOS 12 is here to download. The latest OS comes along with tons of new capabilities, from grouped notifications to Siri Shortcuts. Here are all the features you'll find in iOS 12.
Computing

Why limit yourself to one OS? Try one of these great virtual machine apps

Buying a new computer just because you want to utilize another operating system isn't necessary. Just use the best virtual machine applications to emulate one OS inside another, no matter what your platform or budget is.
Computing

Tired of paying a monthly fee for Word? The best Microsoft Office alternatives

Looking for a competent word processor that isn't Microsoft Word? Thankfully, the best alternatives to Microsoft Office offer robust features, expansive compatibility, and an all-too-familiar aesthetic. Here are our favorites.
Computing

Here's why 64-bit (not 32-bit) dominates modern computing

Today's computing world isn't the same as it once was. With 64-bit processors and operating systems replacing the older 32-bit designs, we look at what 32-bit vs. 64-bit really means for you.
Computing

Microsoft’s Windows 10 updates have been a disaster despite safeguards

After a string of Windows 10 update issues, including severe data loss for a number of users, Microsoft's Corporate Vice President of Windows, Michael Fortin, has spoken out about quality control surrounding Windows development at…
Computing

No more wild goose chase: ‘Duck.com’ now leads to DuckDuckGo instead of Google

DuckDuckGo recently acquired a shorter domain name from fellow search engine competitor Google. As a result, longtime and new DuckDuckGo users can now access the privacy-focused search engine by going to duck.com.
Computing

Samsung Notebook 9 Pen is back with new design, internals and S Pen

Samsung's new Notebook 9 Pen looks to be an ideal Windows 2-in-1 for creators. New features include a modern design, an updated S Pen in the box, and the latest eighth-generation Intel Core i7 processor.
Mobile

Want to watch Netflix in bed or browse the web? We have a tablet for everyone

There’s so much choice when shopping for a new tablet that it can be hard to pick the right one. From iPads to Android, these are our picks for the best tablets you can buy right now whatever your budget.
Computing

Costco members can cut up to $200 off MacBook and iMac price tags

Costco is discounting MacBook Air and MacBook Pro laptops by as much as $200 as part of a members-only sale. It also has deals on select MacBooks and iMacs, with optional Apple Care in most instances.
Computing

Fix those internet dead zones by turning an old router into a Wi-Fi repeater

Is there a Wi-Fi dead zone in your home or office? A Wi-Fi repeater can help. Don't buy a new one, though. Here is how to extend Wi-Fi range with another router you have lying around.
Deals

Here are the best laptop deals for December 2018

Whether you need a new laptop for school or work or you're just doing some holiday shopping for a special someone, we've got you covered: These are the best laptop deals going right now, from discounted MacBooks to on-the-go gaming PCs.
Computing

These are the worst passwords of 2018. Is yours on this list?

Do you use a bad password that makes your online accounts easy to break into? SplashData has compiled a list of the top 100 worst passwords for 2018 and there are quite a few listings that were carryovers from prior lists.
Computing

Go hands-free in Windows 10 with speech-to-text support

Looking for the dictation, speech-to-text, and voice control options in Windows 10? Here's how to set up Speech Recognition in Windows 10 and use it to go hands-free in a variety of different tasks and applications within Windows.