jheinen / GR.jl

Plotting for Julia based on GR, a framework for visualisation applications
Other
357 stars 76 forks source link

Linux subsystem on Windows error #136

Open PetrKryslUCSD opened 6 years ago

PetrKryslUCSD commented 6 years ago

I run the Linux subsystem on Windows. I installed Xming as the X server, and I do set the DISPLAY variable. However I'm not able to plot from GR:

julia> using Plots

julia> gr()
Plots.GRBackend()

julia> plot(linewidth=2, pointsize = 2, color = "black", xlabel = "Number", ylabel = "Relative")
QXcbConnection: Failed to get the primary output of the screen
QXcbConnection: XCB error: 170 (Unknown), sequence: 158, resource id: 62, major code: 146 (Unknown), minor code: 20

julia> Segmentation fault (core dumped)

Does this look in any way familiar? Any idea what to do?

jheinen commented 6 years ago

I have seen this before - yes. Looks like a problem with the Qt installation, but I don't have access to a similar environment right now. Can probably check this next week ...

PetrKryslUCSD commented 6 years ago

OK, thanks for letting me know.