Skip to content

Graphic application support? #481

Closed
Closed

Description

Right now, if I open Xming on windows and type "firefox &" into the terminal, I am sometimes able to get a firefox window to open outside the terminal, but other times it crashes. I am unable to get any of the text editors or IDEs I currently use, such as the jupyter notebook, to open at all. Are there any plans to allow bash on windows to open graphical applications outside of the terminal right now?

Activity

  1. sunilmut commented on Jun 7, 2016

    @sunilmut
    Member

    Alexander Whatley (@alexanderwhatley) - Thanks for reporting this. There was a socket bug that was fixed recently, which allowed applications over Xserver to be more stable. Don't think that has made it to the release branch yet, but should soon. That doesn't mean "full support", but that we can treat issues on a case by case basis. Please do report issues as you encounter them and thanks for trying out WSL!

  2. therealkenc commented on Jun 7, 2016

    @therealkenc

    For that it is worth, Xlib proper seems relatively stable as of 14352, so kudos to the team on that. Eyes/xedit/xman/xcalc all work, though you can get xeyes to freeze reliably with a fast resize. Is that the socket bug you're talking about? Editors and IDEs right now are mostly blocking on known issues that are not strictly X11 related, such as #216 and #376.

  3. russalex commented on Jun 8, 2016

    @russalex
    Contributor

    The socket changes Sunil Muthuswamy (@sunilmut) mentioned look to be in build 14361. I was able to run xEmacs and modify a file in DrvFs.

    Take a look a Jupytr or another editor that you use. GUIs are not on our priority list, but a lot of our fixes expand support quite a bit. It also help us to know the failures.

  4. therealkenc commented on Jun 9, 2016

    @therealkenc

    Russ Alexander (@russalex), as you allude, it looks like WSL is going to get GUI apps as other stuff gets addressed even though they are out of scope for the project. Firefox runs in 14361, which is kind of blowing my mind at the moment. Sublime Text is also working. [looks...] LibreOffice even works.

    Electron based editors, like VS Code and Atom fail on what appears to be #468.

  5. maxime-tournier commented on Jun 9, 2016

    @maxime-tournier

    as of 14361 it seems that Qt (4 and 5) applications also work, which is great news.

  6. therealkenc commented on Jun 11, 2016

    @therealkenc

    Funny - youtube videos play on firefox on ubuntu on wsl on xming on windows. CPU at 8%, no lag no jitter. [No sound either, lol.] I wanted to be clever and post a screencap of the WSL launch video playing, but the firefox flash plugin isn't working. Never fix that: blame the people managing the MSDN site for still using flash. :)

    yt-on-wsl

  7. benhillis commented on Jun 11, 2016

    @benhillis
    Member

    Doom runs pretty well too :)
    image
    sudo apt-get install doom-wad-shareware prboom

  8. o-g-o commented on Jun 11, 2016

    @o-g-o

    Got Firefox running very well also on build 14361. But first time got a BSOD right after launch. Did work fine after. Could not reproduce the BSOD.

    Also tried a comparison of octanejs on WSL and on native Windows. On many tests WSL is much faster, on a few tests much slower. Final score is similar on windows and wsl.

    Amazing work guys :)

  9. S3curityPlu5 commented on Jun 13, 2016

    @S3curityPlu5

    They arent using flash if u are on mobile device. Just change useragent to mobile

    Sent via the Samsung Galaxy S®6 active, an AT&T 4G LTE smartphone-------- Original message --------From: therealkenc [email protected] Date: 6/10/2016 10:35 PM (GMT-05:00) To: Microsoft/BashOnWindows [email protected] Subject: Re: [Microsoft/BashOnWindows] Graphic application support? (#481)
    Funny - youtube videos play on firefox on ubuntu on wsl on xming on windows. CPU at 8%, no lag no jitter. [No sound either, lol.] I wanted to be clever and post a screencap of the WSL launch video playing, but the firefox flash plugin isn't working. Never fix that: blame the people managing the MSDN site for still using flash. :)

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub, or mute the thread.

  10. benhillis commented on Jun 17, 2016

    @benhillis
    Member

    Going to close this one out since X11 support seems to be working well in 14366.

  11. aseering commented on Jun 17, 2016

    @aseering
    Contributor

    Ben Hillis (@benhillis) -- for what it's worth, my experiences with X11+WSL would not lead me to say that it is "working well". See #187 .

  12. benhillis commented on Jun 17, 2016

    @benhillis
    Member

    Which server are you using? I'm using Xming and it's working great.

  13. aseering commented on Jun 17, 2016

    @aseering
    Contributor

    I'm also using Xming.

  14. aseering commented on Jun 17, 2016

    @aseering
    Contributor

    Have you tried launching emacs? Do you experience either of the issues in the last two comments on #187 ? If not, I'll take another look at my config.

  15. benhillis commented on Jun 17, 2016

    @benhillis
    Member

    I'll give it a shot now, installing emacs.

  16. aseering commented on Jun 17, 2016

    @aseering
    Contributor

    What can I say?, I like Lisp-based operating systems :-) Anyway, thanks!

  17. benhillis commented on Jun 17, 2016

    @benhillis
    Member

    I'm seeing the same issue you report in #187 locally. Let me see if I can figure out what's going on with that infinite loop.

  18. alexanderwhatley commented on Jun 18, 2016

    @alexanderwhatley
    Author

    Hey sorry guys - I'm on 14366 now, and after opening Xming, I haven't been able to get either jupyter notebook or spyder (Qt based I believe) to work.

  19. aseering commented on Jun 18, 2016

    @aseering
    Contributor

    Jupyter Notebook has issues because one of the libraries that it depends on has a bug to do with certain networking-related error conditions. (Not related to graphics or X11.) #185 includes instructions on how to install a fixed version of the relevant library.

    With the fix, Jupyter Notebook works well for me; I've used it quite a bit. (Though I always just start it with "--no-browser" and open up a regular Windows web browser to view the notebook.)

    I can't speak to spyder -- does it have a command-line mode, so that you can test whether the issue is specific to X11? It's possible for programs that happen to be graphical, to fail for reasons that don't have to do with graphics. (emacs is interesting because, in addition to the graphical mode that's not working, it can also run as a text-mode application. In text mode it exposes exactly the same interface and features as in graphical mode. And its text mode works just fine. Which implies to me that something about the graphics may be directly relevant.)

  20. WSLUser commented on Oct 23, 2017

    @WSLUser

    Is support for DirectX 12 making it's way into WSL? Not to mention the latest OpenGL and features such as TressFX?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions