# Preventing Paraview Visualizer popup paraview windows on startup?

**URL:** https://discourse.paraview.org/t/preventing-paraview-visualizer-popup-paraview-windows-on-startup/15649
**Category:** Web Support
**Created:** [October 28, 2024, 7:42am UTC](https://discourse.paraview.org/t/preventing-paraview-visualizer-popup-paraview-windows-on-startup/15649 "2024-10-28T07:42:58Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![vavo01](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/v/bc8723/32.png) [@vavo01](https://discourse.paraview.org/u/vavo01)
#### Post date: [October 28, 2024, 7:42am UTC](https://discourse.paraview.org/t/preventing-paraview-visualizer-popup-paraview-windows-on-startup/15649/1 "2024-10-28T07:42:58Z")

</div>

I launch paraview-visualizer in a conda environment with

```auto
python -m paraview.apps.trame --trame-app pv_visualizer.app --port 1234 --data .

```

Visualizer itself works fine. But at start and then when loading a state file paraview windows popup. How can I avoid it?  
@jourdain

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [October 28, 2024, 5:55pm UTC](https://discourse.paraview.org/t/preventing-paraview-visualizer-popup-paraview-windows-on-startup/15649/2 "2024-10-28T17:55:21Z")

</div>

There is a `--force-offscreen-rendering` argument you can use. If I have a typo in what I wrote, you can use `--help` to find what you are looking for.

---

<div class="post-metadata">

### Author: ![vavo01](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/v/bc8723/32.png) [@vavo01](https://discourse.paraview.org/u/vavo01)
#### Post date: [October 29, 2024, 4:37am UTC](https://discourse.paraview.org/t/preventing-paraview-visualizer-popup-paraview-windows-on-startup/15649/3 "2024-10-29T04:37:03Z")

</div>

> [@jourdain](#):
>
> `--force-offscreen-rendering`

Hello Sebastian, thank you for the hint.

But if I pass `--help` argument, I don’t see `--force-offscreen-rendering` or something similar.

```auto
python -m paraview.simple --trame-app pv_visualizer.app --help

Kitware trame

options:
  -h, --help show this help message and exit
  --server Prevent your browser from opening at startup
  --banner Print trame banner
  --app Use OS built-in browser
  --no-http Do not serve anything over http
  --authKeyFile AUTHKEYFILE
                        Path to a File that contains the Authentication key for clients to connect to the WebSocket. This takes precedence over '-a, --authKey' from wslink.
  --hot-reload Automatically reload state/controller callback functions for every function call. This allows live editing of the functions. Functions located in the site-packages directories are skipped.
  --trame-args TRAME_ARGS
                        If specified, trame will ignore all other arguments, and only the contents of the `--trame-args` will be used. For example: `--trame-args="-p 8081 --server"`. Alternatively, the environment variable
                        `TRAME_ARGS` may be set instead.
  --debug log debugging messages to stdout
  --nosignalhandlers Prevent installation of signal handlers so server can be started inside a thread.
  --host HOST the interface for the web-server to listen on (default: 0.0.0.0)
  -p PORT, --port PORT port number for the web-server to listen on (default: 8080)
  --timeout TIMEOUT timeout for reaping process on idle in seconds (default: 300s, 0 to disable)
  --content CONTENT root for web-pages to serve (default: none)
  --authKey AUTHKEY Authentication key for clients to connect to the WebSocket.
  --ws-endpoint WS Specify WebSocket endpoint. (e.g. foo/bar/ws, Default: ws)
  --no-ws-endpoint If provided, disables the websocket endpoint
  --fs-endpoints FSENDPOINTS
                        add another fs location to a specific endpoint (i.e: data=/Users/seb/Download|images=/Users/seb/Pictures)
  --reverse-url REVERSE_URL
                        Make the server act as a client to connect to a ws relay
  --ssl SSL add a tuple file [certificate, key] (i.e: --ssl 'certificate,key') or adhoc string to generate temporary certificate (i.e: --ssl 'adhoc')
  --data DATA Path to browse
  --plugins PLUGINS List of distributed plugins to load

```

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [October 29, 2024, 2:25pm UTC](https://discourse.paraview.org/t/preventing-paraview-visualizer-popup-paraview-windows-on-startup/15649/4 "2024-10-29T14:25:01Z")

</div>

Those are `pvpython` options not regular python. Sorry I skipped `conda environment`. In the code, you could make the view offscreen, but that would require code change. With conda, you don’t have much other options unfortunately.

BTW, which OS?

---

<div class="post-metadata">

### Author: ![vavo01](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/v/bc8723/32.png) [@vavo01](https://discourse.paraview.org/u/vavo01)
#### Post date: [October 29, 2024, 2:28pm UTC](https://discourse.paraview.org/t/preventing-paraview-visualizer-popup-paraview-windows-on-startup/15649/5 "2024-10-29T14:28:38Z")

</div>

I use Win11

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [October 29, 2024, 4:28pm UTC](https://discourse.paraview.org/t/preventing-paraview-visualizer-popup-paraview-windows-on-startup/15649/6 "2024-10-29T16:28:01Z")

</div>

Unfortunately for you, the only way is to use ParaView/pvpython with a venv.

---

<div class="post-metadata">

### Author: ![vavo01](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/v/bc8723/32.png) [@vavo01](https://discourse.paraview.org/u/vavo01)
#### Post date: [February 24, 2025, 1:05pm UTC](https://discourse.paraview.org/t/preventing-paraview-visualizer-popup-paraview-windows-on-startup/15649/8 "2025-02-24T13:05:33Z")

</div>

@jourdain

I’ve finally found a very simple solution without any need of code changing:

The conda environment with paraview site-package contains the `pvpython.exe` in `Library\bin` directory. It has all options including `--force-offscreen-rendering`. So there is no need of full paraview installtion to use `pvpython.exe`.
