sourcegraph / webloop

WebLoop: Scriptable, headless WebKit with a Go API. Like PhantomJS, but for Go.
https://sourcegraph.com/github.com/sourcegraph/webloop
BSD 3-Clause "New" or "Revised" License
1.37k stars 84 forks source link

Error:(webloop:3579): Gtk-WARNING **: cannot open display: #22

Open touei opened 7 years ago

touei commented 7 years ago

OS Version:CentOS-7-x86_64-Minimal-1611

WebLoop has been installed successfully. When I run my own program. I get the following error message.

(webloop:3579): Gtk-WARNING **: cannot open display: 
mvz commented 7 years ago

From what I know of Gtk+, Webloop is probably only headless in the sense that it doesn't open a window. It still needs an X server.