Closed adonese closed 8 years ago
GUI applications are not something that we explicitly support right now. Please provide this feedback on our user voice page to help us prioritize this going forward.
@adonese You should be able to get some support by installing an X11 server (like XMing) on windows and setting your DISPLAY variable as such:
export DISPLAY=:0.0
I've installed XMing and it solved the problem. GUI applications are also important, you need to be able to -atleast launch the browser.
@adonese -- I'm curious -- could you describe in more detail what you're using a Linux browser for?
I do a bunch of Web stuff in WSL; I usually just use a native Windows browser, it's better for testing anyway as it has IE, Edge, etc available natively. (You can use a Windows browser to interact with a website running in WSL. Just use the same URL as you would use with a Linux browser.)
Two things in my mind for now. I want to launch IPython notebook, and also working with jekyll. The later might not be so requested, but I does still need the browser. Is it possible to run windows applications from the Bash on Windows for that purpose?
On Wed, Jul 13, 2016 at 2:10 AM, Adam Seering notifications@github.com wrote:
@adonese https://github.com/adonese -- I'm curious -- could you describe in more detail what you're using a Linux browser for?
I do a bunch of Web stuff in WSL; I usually just use a native Windows browser, it's better for testing anyway as it has IE, Edge, etc available natively. (You can use a Windows browser to interact with a website running in WSL. Just use the same URL as you would use with a Linux browser.)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BashOnWindows/issues/646#issuecomment-232209173, or mute the thread https://github.com/notifications/unsubscribe/ANOjNNlhao9WTl85ig38oipWs99348Aoks5qVB7bgaJpZM4JKjJg .
I actually use ipython notebook a lot. I launch it by running the following command at a bash shell:
$ ipython notebook --no-browser
It then prints out a URL. I copy that URL and paste it into a Windows browser and it works fine.
I haven't worked with jekyll, but I imagine it would work the same way.
There's no built-in way to run Windows applications from within WSL, but the third-party app cbwin can do so.
Also, note that one of ipython notebook's dependencies has a bug that prevents it from working in some environments, including WSL. You'll need the fixed version on ticket #185 . The fix is working its way through the process but for now you still need to get it from the ticket.
Thank you so much for that!
On Thu, Jul 14, 2016 at 4:17 AM, Adam Seering notifications@github.com wrote:
Also, note that one of ipython notebook's dependencies has a bug that prevents it from working in some environments, including WSL. You'll need the fixed version on ticket #185 https://github.com/Microsoft/BashOnWindows/issues/185 . The fix is working its way through the process but for now you still need to get it from the ticket.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BashOnWindows/issues/646#issuecomment-232531374, or mute the thread https://github.com/notifications/unsubscribe/ANOjNNEJgcKX3xnX3qdpU1nMv8mh5DOTks5qVY5CgaJpZM4JKjJg .
I'm trying to get some GUI applications to work in Bash like firefox for instance. But it seems Bash doesn't recognize my display, or at least that what I understood. When I try to launch any of these programs I got this error message
GDK_BACKEND doesn't match available displays
. I've tried to set this parameter in Bash, but the problem still exists.$: pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY
I'm using WIndows 10 build 14367