# Enable Multi-User int VTK.js

**URL:** https://discourse.vtk.org/t/enable-multi-user-int-vtk-js/4185
**Category:** Support
**Created:** [September 10, 2020, 9:44am UTC](https://discourse.vtk.org/t/enable-multi-user-int-vtk-js/4185 "2020-09-10T09:44:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ennio\_Bolondi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ennio_bolondi/32/2098_2.png) [@Ennio\_Bolondi](https://discourse.vtk.org/u/Ennio_Bolondi)
#### Post date: [September 10, 2020, 9:44am UTC](https://discourse.vtk.org/t/enable-multi-user-int-vtk-js/4185/1 "2020-09-10T09:44:48Z")

</div>

Hi there again,  
I keep studying vtk.js and I’m trying to understand how to implement a Multi-User server.  
I followed [this example](https://github.com/Kitware/web-project-templates/tree/master/vue-vtkjs-pvw-template) which help me for creating:  
-front end (written in vue)  
-backend written in Python (actually this is the Python Server. I collague of mine customized the py code a little bit to let it works as remote server)

Everything is working fine, the only issue I’m experiencing is: it seems that only one user (at time) is allowed to connect.  
If I open another brower and try to connect at the same url address, the python server unexpectedly exits (without show any error…).  
So I think that: if I’m able to implement a multi-user feature, the problem could be fixed. [Here](https://kitware.github.io/paraviewweb/docs/multi_user_setup.html) there is a setup guide for paraviewweb. I don’t know if it could be useful for vtk.js as well, but basically I don’t see a “real connection” between that guide and vtk.js server.

Thanks for your time and patience.  
Regards,

Ennio

---

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [September 10, 2020, 2:45pm UTC](https://discourse.vtk.org/t/enable-multi-user-int-vtk-js/4185/2 "2020-09-10T14:45:10Z")

</div>

ParaView and VTK for doing remote rendering for multi-users rely on wslink and its launcher to start a new process per connecting user.

When using the SmartConnect on the client side, it will first try to reach the launcher unless a `sessionURL` is provided in the connection configuration like you can see [here](https://github.com/Kitware/web-project-templates/blob/master/vue-vtkjs-pvw-template/src/components/core/App/script.js#L73-L76).

You can see the setup that we use to support multiple users in that [docker configuration](https://github.com/Kitware/paraviewweb/tree/master/tools/docker/paraviewweb).

The only thing that you have to keep in mind is that you can replace the ParaView application (pvpython) by your VTK application (vtkpython).

HTH
