We have successfully run VPython in a Jupyter Notebook that was running on a server. I’ve done this in two different situations:
1. We ran Jupyter Notebook on a Raspberry Pi and accessed the notebook with a browser running on a different computer. We set it up using the instructions at:
2. I ran Jupyter notebook on a AWS server and accessed it from a remote browser.
On the server, I ran:
jupyter notebook --no-browser --ip=theIpAddress
Then in the browser on a client computer, I went to the address of the server with port 8888.
In summary, using the Jupyter notebook, I think it’s fairly easy to run VPython remotely.
I did look into the “guts” of vpython to see if it could be configured to use an IP address other than localhost. However, it required more detailed knowledge and more time than I could give to the project. So, I used Jupyter notebook instead.
It seems like one could configure VPython to do what you want.
Aaron