# Force offscreen rendering from direct python script

**URL:** https://discourse.paraview.org/t/force-offscreen-rendering-from-direct-python-script/3144
**Category:** ParaView Support
**Created:** [December 9, 2019, 10:15am UTC](https://discourse.paraview.org/t/force-offscreen-rendering-from-direct-python-script/3144 "2019-12-09T10:15:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gilcu2](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gilcu2/32/2183_2.png) [@gilcu2](https://discourse.paraview.org/u/gilcu2)
#### Post date: [December 9, 2019, 10:15am UTC](https://discourse.paraview.org/t/force-offscreen-rendering-from-direct-python-script/3144/1 "2019-12-09T10:15:46Z")

</div>

How can I force offscreen rendering running from python (not from pvpython)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 9, 2019, 10:22am UTC](https://discourse.paraview.org/t/force-offscreen-rendering-from-direct-python-script/3144/2 "2019-12-09T10:22:16Z")

</div>

A solution is to connect to an offscreen pvserver.
