Fork me on GitHub
#cryogen
<
2020-03-28
>
cpmcdaniel21:03:58

No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:208)
        at java.desktop/java.awt.Window.<init>(Window.java:548)
        at java.desktop/java.awt.Frame.<init>(Frame.java:423)
        at java.desktop/java.awt.Frame.<init>(Frame.java:388)
        at java.desktop/javax.swing.JFrame.<init>(JFrame.java:180)
        at clojure.java.browse_ui$open_url_in_swing.invokeStatic(browse_ui.clj:19)
        at clojure.java.browse_ui$open_url_in_swing.invoke(browse_ui.clj:15)

cpmcdaniel21:03:24

Is there a way to run the ring server without it trying to open the URL in a browser?

cpmcdaniel21:03:53

(I am trying to run cryogen in a docker container and access the server via port 3000 from the host)

carmen21:03:07

leim ring server-headless? @cpmcdaniel

cpmcdaniel21:03:24

@carmen works, thank you!

👍 4
cpmcdaniel21:03:18

also, my host is Windows 10 because I'm weird

😢 12
carmen21:03:01

That is weird :)