Problem running paraview server on AWS instance


I am trying to set a ParaView server to run on Nvidia Deep Learning AMI on EC2 Amazon Instance using one of the container images. I tried ParaView IndeX and ParaView.

However, I am having difficulties using both of them, because the documentation is unclear to me.
I am trying to set a pvserver on the cloud and use the ParaView desktop app on my computer as a client.
I tried the following:

  1. “nvidia-docker run -p 8080:8080 /”
    from the ParaView IndeX documentation when I used the ParaView IndeX docker image, but I couldn’t configure the ParaView client on my desktop to work with the server.

  2. “${DOCKER} mpirun --allow-run-as-root -n <task_count> paraview”
    from the ParaView documentation when I used the ParaView docker image, but I had problem with the display:

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.

what am i doing wrong?
is there a manual for setting ParaView server-client on the cloud?