Share this article

Improve this guide

Latest news

With KB5043178 to Release Preview Channel, Microsoft advises Windows 11 users to plug in when the battery is low

Copilot in Outlook will generate personalized themes for you to customize the app

Microsoft will raise the price of its 365 Suite to include AI capabilities

Death Stranding Director’s Cut is now Xbox X|S at a huge discount

Outlook will let users create custom account icons so they can tell their accounts apart easier

How to Run Linux GUI Apps through Bash for Windows 10

Apply our detailed procedure right away

3 min. read

Updated onDecember 15, 2023

updated onDecember 15, 2023

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

To everyone’s surprise, Microsoft announced at Build 2016 that Windows 10 would support Bash, the popular command line utility for all Linux-based operating systems. This move enables any user to run their favorite Linux software in the command line mode and as expected, computer users were ecstatic.

Well, users have increased the number of reasons to be excited: someone found a way to allow Linux GUI programs to run on Windows 10 through Bash and a software known as Xming X Server. Bear in mind that users will be required to haveWindows 10 build 14316on hand before attempting to do this.

To try it out for yourself, use the following code to fire up the Ubuntu version of Firefox: DISPLAY=:0 firefox. Now, since this is not a native Windows 10 program, it won’t perform as if it were, so don’t jump into this expecting to run your favorite programs as fast as when they are being powered by a Linux operating system.

Remember, Bash must first be installed on your Windows 10 computer. Do not assume that since build 14316 is up and running, then Bash must also be ready whenever you want it — that’s not the case.

How to get Bash on Windows 10:

You’ll need to have a 64-bit version of Windows 10 or else this will never work unless you know some fancy magic tricks. Once you have proven to yourself that Windows 10 64-bit is installed, fire up the search option and type “Turn Windows features on or off.”

When the option comes up, click on it. A new Window should pop up with a list of options. Scroll down until the Windows Subsystem for Linux (beta) is visible. Click on the tick box and watch as the required files are installed.

Next, restart your computer system. After, search for Bash and launch it. It will ask your permission to install Ubuntu, so just follow the instructions to do so.

To run Firefox, it will need to be installed first. Within Bash, type “apt-get install firefox” then press the enter key on your keyboard. Follow the on-screen instructions to get the job done. Depending on the speed of your computer, this could take a while.

It should be over now, so just launch Xming, and in Bash, type or copy-paste “DISPLAY=:0 firefox” to launch Firefox. Bear in mind, that there have been reports of Firefox crashing prematurely.

While performance won’t be mind-blowing, it should be better than VNC/X11 forwarding, according to a developer onReddit.

We can say for sure that it works, but sometimes takes a while due to constant crashes. Because of the performance, we’d recommend others to run their Linux programs through theBash command lineinstead of attempting to do this.

It’s great for show and tell but not much of anything else, we’re afraid. Download Xming X Server directly fromSourceforge, the best spot for open-source programs on the web.

More about the topics:Firefox guides,windows 10

Radu Tyrsina

Radu Tyrsina has been a Windows fan ever since he got his first PC, a Pentium III (a monster at that time).

For most of the kids of his age, the Internet was an amazing way to play and communicate with others, but he was deeply impressed by the flow of information and how easily you can find anything on the web.

Prior to founding Windows Report, this particular curiosity about digital content enabled him to grow a number of sites that helped hundreds of millions reach faster the answer they’re looking for.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Radu Tyrsina