-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting up headless display #190
Comments
Hi and welcome! Thanks for posting your first issue in the PyVista project! Someone from @pyvista/developers will chime in before too long. If your question is support related, it may be automatically transferred to https://github.com/pyvista/pyvista-support |
Are you running in a VM with a headless display? Look through https://docs.pyvista.org/getting-started/installation.html for insight You may just need to |
If it is a headless environment, you may need to set up the display: #!/bin/bash
set -x
export DISPLAY=:99.0
export PYVISTA_OFF_SCREEN=true
which Xvfb
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
sleep 3
set +x
exec "$@" |
Hi Bane,
Thank you very much for quick reply,
Yeah , it is running on a VM.
I will check it
Regards
Sunil
…On Wed, 24 Jun 2020 19:06 Bane Sullivan, ***@***.***> wrote:
Are you running in a VM with a headless display?
Look through https://docs.pyvista.org/getting-started/installation.html
for insight
You may just need to sudo apt install one of libgl1-mesa-glx or
libgl1-mesa-dev
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/pyvista/pyvista/issues/815#issuecomment-648946614>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEB5O7SM2FQUGME32FI2GITRYIW7VANCNFSM4OG3EXWQ>
.
|
Hi Bane, I added the "start" file in the same repository like you have given the example of PVGeo (attached the screenshot) also installed the above mentioned libraries. Do I need to reference this file in my main code or somewhere? Please take a look at the attached image |
Hello @Sunil7545, You're going to want to create a |
Try running Otherwise, make sure you're not missing anything from https://docs.pyvista.org/getting-started/installation.html#running-on-remote-servers |
Hello everyone,
I am using the following lines of code to store the rendered image in the local disk without displaying it.
This code is working perfectly with windows 10. But when I am running it on a Linux system, I am getting the following error:
Can you please help me with this issue?
I am not able fix it.
Thank You
Sunil
The text was updated successfully, but these errors were encountered: