run a graphical web browser on windows subsystem for linux?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















How to Geek says that Windows 10 will only give CLI access to Linux.



Is there possibly any way to run, specifically, Firefox from this bash shell?










share|improve this question
























  • you want to run a shell from windows to run a firefix from linux ? why not run firefox from windows directly ? If the question is "I want to run X (X11) program on my windows" then this is a different question. (see vnc or Xming)

    – Archemar
    Dec 15 '16 at 12:04











  • I didn't want to make it overly broad. It would just be for this one application.

    – Thufir
    Dec 15 '16 at 12:05















1















How to Geek says that Windows 10 will only give CLI access to Linux.



Is there possibly any way to run, specifically, Firefox from this bash shell?










share|improve this question
























  • you want to run a shell from windows to run a firefix from linux ? why not run firefox from windows directly ? If the question is "I want to run X (X11) program on my windows" then this is a different question. (see vnc or Xming)

    – Archemar
    Dec 15 '16 at 12:04











  • I didn't want to make it overly broad. It would just be for this one application.

    – Thufir
    Dec 15 '16 at 12:05













1












1








1








How to Geek says that Windows 10 will only give CLI access to Linux.



Is there possibly any way to run, specifically, Firefox from this bash shell?










share|improve this question
















How to Geek says that Windows 10 will only give CLI access to Linux.



Is there possibly any way to run, specifically, Firefox from this bash shell?







firefox gui windows-subsystem-for-linux






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 18 '17 at 12:43









Stephen Kitt

166k24368449




166k24368449










asked Dec 15 '16 at 11:27









ThufirThufir

67611436




67611436












  • you want to run a shell from windows to run a firefix from linux ? why not run firefox from windows directly ? If the question is "I want to run X (X11) program on my windows" then this is a different question. (see vnc or Xming)

    – Archemar
    Dec 15 '16 at 12:04











  • I didn't want to make it overly broad. It would just be for this one application.

    – Thufir
    Dec 15 '16 at 12:05

















  • you want to run a shell from windows to run a firefix from linux ? why not run firefox from windows directly ? If the question is "I want to run X (X11) program on my windows" then this is a different question. (see vnc or Xming)

    – Archemar
    Dec 15 '16 at 12:04











  • I didn't want to make it overly broad. It would just be for this one application.

    – Thufir
    Dec 15 '16 at 12:05
















you want to run a shell from windows to run a firefix from linux ? why not run firefox from windows directly ? If the question is "I want to run X (X11) program on my windows" then this is a different question. (see vnc or Xming)

– Archemar
Dec 15 '16 at 12:04





you want to run a shell from windows to run a firefix from linux ? why not run firefox from windows directly ? If the question is "I want to run X (X11) program on my windows" then this is a different question. (see vnc or Xming)

– Archemar
Dec 15 '16 at 12:04













I didn't want to make it overly broad. It would just be for this one application.

– Thufir
Dec 15 '16 at 12:05





I didn't want to make it overly broad. It would just be for this one application.

– Thufir
Dec 15 '16 at 12:05










2 Answers
2






active

oldest

votes


















5














How to Geek was quite wrong, as readers quickly pointed out (q.v.), but was never corrected.



One can run Linux X applications on the Windows Subsystem for Linux, provided that they don't do something else that the WSL does not support. One just needs a Win32 X server running on the machine (or indeed an X server running elsewhere) to point them at. One has quite a few choices of Win32 X server for that.



This was reported within days of the initial beta release. Running Firefox was even in the reports.



There are far better sources on this than How to Geek. Reading through the article, that wasn't the only glaring factual error that leapt out. There are several there, including one that was even pointed out as an mistake not to make in the WSL release notes, which the How to Geek author did not read or check, obviously.



Further reading



  • Daniel Aleksandersen (2016-04-07). Running Linux desktop apps on the Windows Subsystem for Linux. SlightFuture.com.

  • Chris Hoffmann (2016-04-14). Windows 10's Bash shell can run graphical Linux applications with this trick. PCWorld.

  • Rob Williams (2016-04-12). Windows 10’s Bash Fling Produces Linux GUI App Offspring For Windows Desktop. HotWardWare.

  • https://askubuntu.com/a/754951/43344





share|improve this answer
































    0














    Try installing and running MobaXterm (basic functionality is freeware) on Windows 10. It comes with a polished X Window server. You don't even need to use MobaXterm, just launch it, it starts a local X Window server automatically.



    Log in from the MobaXterm console onto your WSL instance to see what the DISPLAY variable value is set to, and export that value into your WSL console session prior to attempting to launch firefox. It worked for me on Ubuntu 16.04 on WSL.






    share|improve this answer






















      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f330581%2frun-a-graphical-web-browser-on-windows-subsystem-for-linux%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      5














      How to Geek was quite wrong, as readers quickly pointed out (q.v.), but was never corrected.



      One can run Linux X applications on the Windows Subsystem for Linux, provided that they don't do something else that the WSL does not support. One just needs a Win32 X server running on the machine (or indeed an X server running elsewhere) to point them at. One has quite a few choices of Win32 X server for that.



      This was reported within days of the initial beta release. Running Firefox was even in the reports.



      There are far better sources on this than How to Geek. Reading through the article, that wasn't the only glaring factual error that leapt out. There are several there, including one that was even pointed out as an mistake not to make in the WSL release notes, which the How to Geek author did not read or check, obviously.



      Further reading



      • Daniel Aleksandersen (2016-04-07). Running Linux desktop apps on the Windows Subsystem for Linux. SlightFuture.com.

      • Chris Hoffmann (2016-04-14). Windows 10's Bash shell can run graphical Linux applications with this trick. PCWorld.

      • Rob Williams (2016-04-12). Windows 10’s Bash Fling Produces Linux GUI App Offspring For Windows Desktop. HotWardWare.

      • https://askubuntu.com/a/754951/43344





      share|improve this answer





























        5














        How to Geek was quite wrong, as readers quickly pointed out (q.v.), but was never corrected.



        One can run Linux X applications on the Windows Subsystem for Linux, provided that they don't do something else that the WSL does not support. One just needs a Win32 X server running on the machine (or indeed an X server running elsewhere) to point them at. One has quite a few choices of Win32 X server for that.



        This was reported within days of the initial beta release. Running Firefox was even in the reports.



        There are far better sources on this than How to Geek. Reading through the article, that wasn't the only glaring factual error that leapt out. There are several there, including one that was even pointed out as an mistake not to make in the WSL release notes, which the How to Geek author did not read or check, obviously.



        Further reading



        • Daniel Aleksandersen (2016-04-07). Running Linux desktop apps on the Windows Subsystem for Linux. SlightFuture.com.

        • Chris Hoffmann (2016-04-14). Windows 10's Bash shell can run graphical Linux applications with this trick. PCWorld.

        • Rob Williams (2016-04-12). Windows 10’s Bash Fling Produces Linux GUI App Offspring For Windows Desktop. HotWardWare.

        • https://askubuntu.com/a/754951/43344





        share|improve this answer



























          5












          5








          5







          How to Geek was quite wrong, as readers quickly pointed out (q.v.), but was never corrected.



          One can run Linux X applications on the Windows Subsystem for Linux, provided that they don't do something else that the WSL does not support. One just needs a Win32 X server running on the machine (or indeed an X server running elsewhere) to point them at. One has quite a few choices of Win32 X server for that.



          This was reported within days of the initial beta release. Running Firefox was even in the reports.



          There are far better sources on this than How to Geek. Reading through the article, that wasn't the only glaring factual error that leapt out. There are several there, including one that was even pointed out as an mistake not to make in the WSL release notes, which the How to Geek author did not read or check, obviously.



          Further reading



          • Daniel Aleksandersen (2016-04-07). Running Linux desktop apps on the Windows Subsystem for Linux. SlightFuture.com.

          • Chris Hoffmann (2016-04-14). Windows 10's Bash shell can run graphical Linux applications with this trick. PCWorld.

          • Rob Williams (2016-04-12). Windows 10’s Bash Fling Produces Linux GUI App Offspring For Windows Desktop. HotWardWare.

          • https://askubuntu.com/a/754951/43344





          share|improve this answer















          How to Geek was quite wrong, as readers quickly pointed out (q.v.), but was never corrected.



          One can run Linux X applications on the Windows Subsystem for Linux, provided that they don't do something else that the WSL does not support. One just needs a Win32 X server running on the machine (or indeed an X server running elsewhere) to point them at. One has quite a few choices of Win32 X server for that.



          This was reported within days of the initial beta release. Running Firefox was even in the reports.



          There are far better sources on this than How to Geek. Reading through the article, that wasn't the only glaring factual error that leapt out. There are several there, including one that was even pointed out as an mistake not to make in the WSL release notes, which the How to Geek author did not read or check, obviously.



          Further reading



          • Daniel Aleksandersen (2016-04-07). Running Linux desktop apps on the Windows Subsystem for Linux. SlightFuture.com.

          • Chris Hoffmann (2016-04-14). Windows 10's Bash shell can run graphical Linux applications with this trick. PCWorld.

          • Rob Williams (2016-04-12). Windows 10’s Bash Fling Produces Linux GUI App Offspring For Windows Desktop. HotWardWare.

          • https://askubuntu.com/a/754951/43344






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:22









          Community

          1




          1










          answered Dec 16 '16 at 0:50









          JdeBPJdeBP

          33.6k469158




          33.6k469158























              0














              Try installing and running MobaXterm (basic functionality is freeware) on Windows 10. It comes with a polished X Window server. You don't even need to use MobaXterm, just launch it, it starts a local X Window server automatically.



              Log in from the MobaXterm console onto your WSL instance to see what the DISPLAY variable value is set to, and export that value into your WSL console session prior to attempting to launch firefox. It worked for me on Ubuntu 16.04 on WSL.






              share|improve this answer



























                0














                Try installing and running MobaXterm (basic functionality is freeware) on Windows 10. It comes with a polished X Window server. You don't even need to use MobaXterm, just launch it, it starts a local X Window server automatically.



                Log in from the MobaXterm console onto your WSL instance to see what the DISPLAY variable value is set to, and export that value into your WSL console session prior to attempting to launch firefox. It worked for me on Ubuntu 16.04 on WSL.






                share|improve this answer

























                  0












                  0








                  0







                  Try installing and running MobaXterm (basic functionality is freeware) on Windows 10. It comes with a polished X Window server. You don't even need to use MobaXterm, just launch it, it starts a local X Window server automatically.



                  Log in from the MobaXterm console onto your WSL instance to see what the DISPLAY variable value is set to, and export that value into your WSL console session prior to attempting to launch firefox. It worked for me on Ubuntu 16.04 on WSL.






                  share|improve this answer













                  Try installing and running MobaXterm (basic functionality is freeware) on Windows 10. It comes with a polished X Window server. You don't even need to use MobaXterm, just launch it, it starts a local X Window server automatically.



                  Log in from the MobaXterm console onto your WSL instance to see what the DISPLAY variable value is set to, and export that value into your WSL console session prior to attempting to launch firefox. It worked for me on Ubuntu 16.04 on WSL.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 31 '18 at 20:14









                  bearvarinebearvarine

                  1113




                  1113



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f330581%2frun-a-graphical-web-browser-on-windows-subsystem-for-linux%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown






                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Bahrain

                      Postfix configuration issue with fips on centos 7; mailgun relay