Hi, shiny-ers!
We've managed to install and configure the shine-server to run on our linux server. My scripts run fine and the UI page is presented properly, but the graphics do not show - instead an error is reported:
ERROR: *X11 is not available.
We tracked this down to the lack of a proper X-server on the machine, so we configured shiny-server to print using a virtual
framebuffer X (Xvfb). We modified the shiny-server startup script to runXvfb and export DISPLAY=:3.1 - this worked fine for other softwares running on the machine.
ws1 ~ # ps -ef | grep Xvfb
shiny 5205 1 0 15:10 ? 00:00:00 /usr/bin/Xvfb :3 -screen 1
800x600x16
Even when I explicitly defined the DISPLAY variable in the server.R like this:
Sys.setenv(DISPLAY = ":3.1")
It didn't work and the error permains. In a last ditch attempt, I even tried to set
options(bitmapType="cairo")
which I saw was a suggestion for a somewheat related problem in another thread.
None of this fixes seems to work. Any idea on where I'm going wrong?
Many thanks to whomever may point me in the right direction.
Luca