Shiny-server on ubuntu 16 error: "unable to open connection to X11 display ''

Another report of this problem came in over here, this time with capabilities():