Launching both a GUI and a WebUI app via same OOD interactive app

I’m looking to create an OOD interactive app that combines using both an GUI (X app via VNC) and a webUI app (e.g. Jupyter notebook) at the same time. I know I can just run Firefox in the GUI and have it there, but my users would prefer it work like our other Jupyter that presents as a standard web app.

The application we are running is called Cytoscape. It has a GUI and also opens a port to allow API calls. There is a Python module that can be used to talk to that API. We’d like to do that via Jupyter.

So, I haven’t been able to wrap my head around how to launch both the GUI/VNC app and the web-based Jupyter app in the same OOD interactive app. The reason I don’t just have the users start one GUI session and another webUI Jupyter session is that I need to have them on the same node and Jupyter needs to know (via an environment variable) the API port to talk to since I assign it a random port # in case multiple users are running Cytoscape on the same node.

Hope this wasn’t too confusing. Thanks in advance for any direction.

-Shawn

I would say just start the app in the before.sh or script.sh. You may have to start a vnc server just to get a DISPLAY set and all the DBUS stuff sorted out, but you may not. You may be able to just pick a random DISPLAY and boot the app without a vncserver.

In any case - I think that’s the strategy. Just boot Cytoscape (and maybe a vncserver) up before Jupyter in a regular basic application.