I am using the dolfinx/dolfinx:v0.8.0
image in docker on Windows 10.
I am following the Possion demo in here.
I run
import pyvista
print(pyvista.global_theme.jupyter_backend)
I get trame
.
I then run
from dolfinx import plot
pyvista.start_xvfb()
I get
--------------------------------------------------------------------------- OSError Traceback (most recent call last) Cell In[2], [line 2](vscode-notebook-cell:?execution_count=2&line=2) [1](vscode-notebook-cell:?execution_count=2&line=1) from dolfinx import plot ----> [2](vscode-notebook-cell:?execution_count=2&line=2) pyvista.start_xvfb() [3](vscode-notebook-cell:?execution_count=2&line=3) domain.topology.create_connectivity(tdim, tdim) [4](vscode-notebook-cell:?execution_count=2&line=4) topology, cell_types, geometry = plot.vtk_mesh(domain, tdim) File /usr/local/lib/python3.10/dist-packages/pyvista/plotting/utilities/xvfb.py:50, in start_xvfb(wait, window_size) [47](https://vscode-remote+attached-002dcontainer-002b7b22636f6e7461696e65724e616d65223a222f6d7966656e69637378227d.vscode-resource.vscode-cdn.net/usr/local/lib/python3.10/dist-packages/pyvista/plotting/utilities/xvfb.py:47) raise OSError('`start_xvfb` is only supported on Linux') [49](https://vscode-remote+attached-002dcontainer-002b7b22636f6e7461696e65724e616d65223a222f6d7966656e69637378227d.vscode-resource.vscode-cdn.net/usr/local/lib/python3.10/dist-packages/pyvista/plotting/utilities/xvfb.py:49) if os.system('which Xvfb > /dev/null'): ---> [50](https://vscode-remote+attached-002dcontainer-002b7b22636f6e7461696e65724e616d65223a222f6d7966656e69637378227d.vscode-resource.vscode-cdn.net/usr/local/lib/python3.10/dist-packages/pyvista/plotting/utilities/xvfb.py:50) raise OSError(XVFB_INSTALL_NOTES) [52](https://vscode-remote+attached-002dcontainer-002b7b22636f6e7461696e65724e616d65223a222f6d7966656e69637378227d.vscode-resource.vscode-cdn.net/usr/local/lib/python3.10/dist-packages/pyvista/plotting/utilities/xvfb.py:52) # use current default window size [53](https://vscode-remote+attached-002dcontainer-002b7b22636f6e7461696e65724e616d65223a222f6d7966656e69637378227d.vscode-resource.vscode-cdn.net/usr/local/lib/python3.10/dist-packages/pyvista/plotting/utilities/xvfb.py:53) if window_size is None: OSError: Please install Xvfb with: Debian $ sudo apt install libgl1-mesa-glx xvfb CentOS / RHL $ sudo yum install libgl1-mesa-glx xvfb
I want to know how to get pyvista working with my current setup.
Thanks for any help!