Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Community
Technology
How to run linux gui applications in Windows 10 bash
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="griimnak" data-source="post: 385257" data-attributes="member: 35695"><p><span style="font-size: 18px">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.</span></p><p></p><p><a href="https://sourceforge.net/projects/xming/" target="_blank">Xming for Windows</a> </p><p>xming is an x server for windows which will load gui applications from the bash shell.</p><p><img src="http://image.prntscr.com/image/17d3970fff504b54afb6c6a725c79a25.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p></p><p>Once you've installed that and launched it you have to export your display, typically 0 if not just cycle through numbers i guess.</p><p>[CODE]</p><p>export DISPLAY=:0</p><p>[/CODE]</p><p><img src="http://image.prntscr.com/image/ff8e9ed4332346bcae76f992022946ff.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p><img src="http://image.prntscr.com/image/34a9b98e3fbc43f9934b6082bff05b7a.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p></p><p style="text-align: center"><span style="font-size: 18px">Have fun</span></p></blockquote><p></p>
[QUOTE="griimnak, post: 385257, member: 35695"] [SIZE=5]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.[/SIZE] [URL='https://sourceforge.net/projects/xming/']Xming for Windows[/URL] xming is an x server for windows which will load gui applications from the bash shell. [IMG]http://image.prntscr.com/image/17d3970fff504b54afb6c6a725c79a25.png[/IMG] 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 [/CODE] [IMG]http://image.prntscr.com/image/ff8e9ed4332346bcae76f992022946ff.png[/IMG] [IMG]http://image.prntscr.com/image/34a9b98e3fbc43f9934b6082bff05b7a.png[/IMG] [CENTER][SIZE=5]Have fun[/SIZE][/CENTER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Community
Technology
How to run linux gui applications in Windows 10 bash
Top