-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Possible to run in an x11/WSL2 environment? #279
Comments
Not sure about this. If you (or anyone) want to debug further, the ECONNREFUSED probably comes from Blink.jl trying to connect to the Electron process. Instrumenting the Blink.jl code to print out the stdout/stderr from the Elector process (or log it to a file or whataver) would probably help explain why it's failing to connect. |
It's possible that Blink.jl/src/AtomShell/process.jl Line 93 in 204623f
needs to connect to 0.0.0.0 or localhost directly, instead of 127.0.0.1 as per this. Can you give that a try?
|
@pfitzseb Seems like that article is talking about external machines accessing a port on the localhost. I've seen an error like this before that boiled down to the Electron subprocess failing to start (thus the connection fails since Electron isn't actually listening on that port). |
@pfitzseb I tried that but could it also be a port problem? I changed to
and got output
With debug information printed, I get
so seems like I need maybe a browser installed on my WSL2? |
That shouldn't be necessary -- I suspect you only got that output because you turned debug info on ;) I'll look into getting a WSL env set up at some point... |
It might be ... so first I did Then running
so the |
Yep, looks like Electron is failing to start. You should be able to simply launch electron by running /home/affan/.julia/dev/Blink/deps/atom/electron (which should make figuring out exactly why it's failing to launch easier). That error ( |
Ahh success
and then
Can the issue be closed? I would say that an edit to Edit: WSL2 is a minimal vm and I have Ubuntu installed on it. I don't know why that particular library wasn't there by default. |
@travigd @pfitzseb It seems like there is still a slight issue. Seems like there needs to be a browser installed (or atleast a
With my case, I can do |
I have a Windows 10 machine with WSL2 running (i.e. full linux kernel). I have an X11 server running that works with other Julia packages (i.e.
Plots.jl
andGnuplot.jl
) where the GUI is pushed through x11. However, this dosn't work for Blink.The text was updated successfully, but these errors were encountered: