Isaac sim from Jupyter Notebook

I am trying to get isaac sim working with jupyter notebook, but it seems like it errors with Cannot run the event loop while another loop is running . I tried solving that with

import nest_asyncio
nest_asyncio.apply()

and the error went away, but then running the below code it gets stuck and never reaches the print(1)

import nest_asyncio
nest_asyncio.apply()

import os
from omni.isaac.python_app import OmniKitHelper
import carb
import omni

CONFIG = {
    "experience": f'{os.environ["EXP_PATH"]}/omni.isaac.sim.python.kit',
    "width": 1280,
    "height": 720,
    "sync_loads": True,
    "headless": False,
    "renderer": "RayTracedLighting",
}

kit = OmniKitHelper(config=CONFIG)
print(1)

Isaac sim opens, but the UI is messed up.

The last line in the console log is this:

2021-10-25 18:37:24  [Info] [omni.ui] Added dataSource connection for prefix '/'

Also, what is the currently intended way of connecting to a running headless instance of isaac sim via python API? All examples I can find are of starting the instance from python itself.

We will have a new release next week with a Jupyter notebook example. Please stay tuned

Tutorial here:
https://docs.omniverse.nvidia.com/app_isaacsim/app_isaacsim/tutorial_advanced_jupyter.html

For your second question, its not possible to connect to another instance of isaac sim from a separate python shell, the isaac sim instance must be started from the same python shell to have access to its runtime APIs