Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTK_BACKEND doesn't match available dispalys #646

Closed
adonese opened this issue Jul 12, 2016 · 8 comments
Closed

GTK_BACKEND doesn't match available dispalys #646

adonese opened this issue Jul 12, 2016 · 8 comments
Labels

Comments

@adonese
Copy link

adonese commented Jul 12, 2016

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

@jackchammons
Copy link
Contributor

jackchammons commented Jul 12, 2016

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.

@benhillis
Copy link
Member

@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

@adonese
Copy link
Author

adonese commented Jul 12, 2016

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 adonese closed this as completed Jul 12, 2016
@aseering
Copy link
Contributor

@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.)

@adonese
Copy link
Author

adonese commented Jul 13, 2016

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 [email protected]
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
#646 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ANOjNNlhao9WTl85ig38oipWs99348Aoks5qVB7bgaJpZM4JKjJg
.

@aseering
Copy link
Contributor

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.

@aseering
Copy link
Contributor

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.

@adonese
Copy link
Author

adonese commented Jul 14, 2016

Thank you so much for that!

On Thu, Jul 14, 2016 at 4:17 AM, Adam Seering [email protected]
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
#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
#646 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ANOjNNEJgcKX3xnX3qdpU1nMv8mh5DOTks5qVY5CgaJpZM4JKjJg
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants