Document how to use VTK/vtki in Docker containers & Travis
See original GitHub issueTrying to run any VTKI rendering within a Dockerized Jupyter notebook causes a kernel crash, with the message:
ERROR: In ../Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 452
vtkXOpenGLRenderWindow (0x560a53bb7ce0): bad X server connection. DISPLAY=[I 00:12:28.476 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
kernel 0839b810-c699-472b-bd57-11c5cfed7fa5 restarted
I believe this is a more fundamental issue than VTKI (I have a VTK issue open here), but I am hoping that someone else using VTKI has experienced this and has a workaround, or that there is a way to run VTKI in ‘headless’ (virtual framebuffer) mode.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Terms of Use - Viki
You agree that any notice, agreements, disclosure or other communications relating to your Account, the Rakuten Viki Service or any part thereof ...
Read more >vimwiki/vimwiki: Personal Wiki for Vim - GitHub
Organize notes and ideas; Manage to-do lists; Write documentation; Maintain a diary; Export everything to HTML. To do a quick start, press <Leader> ......
Read more >Rakuten Viki - Senior Software Engineer - NodeFlair
Apply for a Senior Software Engineer role at Rakuten Viki. Read about the role and find out if it's right for you. Discover...
Read more >Untitled
#exitos Think critically and analytically, That acapulco gold, ... Santa clara vanguard 1999, Gor hakobyan erger, How can i use degradation in a...
Read more >Untitled
Dom w 3 mce, Mabat 2000 israel, Link between project and prps, Amour pour 2 femmes, ... Preventivo edile doc, Olatunji yearwood twitter,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thank you so much! You’ve been so helpful.
I was having trouble propagating environment var
DISPLAYto the subshell that Python lives in (it turns out it’s a little tricky in Docker to do this…), but I settled on this as a working solution:And then, on module import, I check if I’m in the Docker container (in a rather inelegant way…) and run the function from there:
Thank you again!
Hopefully, this gets it started:
Now all examples from the gallery are available on MyBinder 🎉
🎉