clementfarabet / gfx.js

A graphics backend for the browser (with a Torch7 client).
MIT License
125 stars 35 forks source link

Couldn't find a suitable web browser #36

Closed laotao closed 9 years ago

laotao commented 9 years ago

Hi, I installed torch and gfx on a remote server (with no gui) through ssh. Then I started gfx and run th -lgfx.go. Below is what I got:

[gfx.js] server already running on port 8000, graphics will be rendered into http://localhost:8000 Couldn't find a suitable web browser! Set the BROWSER environment variable to your desired browser. xdg-open: no method available for opening 'http://localhost:8000'

And when I accessed gfx from a windows machine and run the following lines, nothing was shown on the gfx page.

i = image.lena() gfx.image(i)

Would anyone please help?

Thanks Tao

laotao commented 9 years ago

I tried gfx.image() several times and it appears in the remote browser sometimes. It seems that gxf is just unstable.

szym commented 9 years ago

gfx.go starts the server AND opens up a browser. To just start the server run th -lgfx.start