Can't connect to X11 when running java from RStudio server

Hi all,

I want to run a jar from RStudio Server (on Ubuntu 16.04) via the system function in R.
When I run this command from a crontab, everything work fine.
However, when I run the command from the REPL in RStudio server I receive the exception
"Can't connect to X11 window server using ':0' as the value of the DISPLAY variable"

I do not have X11 installed, and do not wish to. Is it still possible to run the command from RStudio server, and how?

Many thanks in advance!

Peter

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.