The server was running in a container with OpenMPI. And the Windows(Win10) client is ParaView-5.11.0-Windows-Python3.9-msvc2017-AMD64.zip
download from https://www.paraview.org/download/ .
The client will be stuck in connecting even though I see a server output the client is connected.
By the way, I can use macOS version of ParaView Client 5.11.0 to connect to the same server.
Server Dockerfile
FROM ubuntu:20.04 as builder
RUN apt update -y
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y git cmake build-essential libgl1-mesa-dev libxt-dev qt5-default libqt5x11extras5-dev libqt5help5 qttools5-dev qtxmlpatterns5-dev-tools libqt5svg5-dev python3-dev python3-numpy libopenmpi-dev libtbb-dev ninja-build libxcursor-dev qtbase5-dev
WORKDIR /workspace
RUN git clone https://gitlab.kitware.com/paraview/paraview.git
RUN cd paraview && git checkout v5.11.1 && git submodule update --init --recursive
WORKDIR /workspace/build
RUN mkdir -p /opt/paraview
RUN strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
RUN cmake -GNinja -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_PLUGIN_DISABLE_XML_DOCUMENTATION=ON -DPARAVIEW_USE_MPI=ON -DVTK_SMP_IMPLEMENTATION_TYPE=TBB -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/paraview /workspace/paraview
RUN ninja
RUN ninja install
FROM ubuntu:20.04
COPY --from=builder /opt/paraview /opt/paraview
ENV PATH=$PATH:/opt/paraview/bin
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/paraview/lib
RUN apt update -y && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y bzip2 patch qtbase5-dev doxygen python3-numpy libosmesa6-dev python3-pandas libxcursor-dev openssh-client curl openmpi-bin openmpi-common libopenmpi-dev python3-dev libtbb2 libopengl0
Server singularity file
BootStrap: docker
## A private registry. We run it in LAN.
From: registry.intern.yuansuan.cn/euclid/paraview
%labels
Version ParaView
%setup
%files
%environment
%runscript
SINGULARITYBIN=singularity
ORTED_BIN=$(which orted)
export OMPI_MCA_orte_launch_agent="$(cat <<EOF
$SINGULARITYBIN exec $SINGULARITY_CONTAINER $ORTED_BIN
EOF
)"
exec $@
%post
Server run command
singularity run /pathto/paraview.5.11.sif mpirun --host node1,node2 pvserver