How to run linux gui applications in Windows 10 bash

griimnak

You're a slave to the money then you die
Jul 20, 2013
957
800
By default if you try to run a linux gui application in Windows 10's new bash feature, you'll get a "cannot open display error". That is because you have no active x server.


xming is an x server for windows which will load gui applications from the bash shell.
17d3970fff504b54afb6c6a725c79a25.png


Once you've installed that and launched it you have to export your display, typically 0 if not just cycle through numbers i guess.
Code:
export DISPLAY=:0
ff8e9ed4332346bcae76f992022946ff.png

34a9b98e3fbc43f9934b6082bff05b7a.png


Have fun
 

griimnak

You're a slave to the money then you die
Jul 20, 2013
957
800
>> limited bash shell on ubuntu on windows

what a time to be alive
Not so limited after all, i can honestly say i'd much rather use windows 10 bash than a VM to develop now. (well minus all the broken stuff, assuming it'll be patched later on)
 

Users who are viewing this thread

Top