I have a Jupyterlab server running on my workstation at my office. When I go home, I work at my laptop (connected via VPN to my office network) and I connect to JupyterLab in my workstation. As a result, I end up with several kernels for each notebook, as you can see in the attached image, which is a bit annoying (and a bit wasteful, I guess). Is there any way to avoid this?
Not sure if it can be the same problem or not. In my case I never click on “No Kernel”. I just open the JupyterLab webpage (via VPN connection to my workstation at work, no need for tunnel), and load the Workspace I’m working with. The Notebooks seem to use the first kernel sometimes, but in some others they start a new one and then see duplicated ones.
For example, yesterday I cleaned up the kernels, updated jupyterlab to the latest version (hoping something might have improved in last weeks), restarted the server and started working as usual. Since then I have probably loaded the page in two different computers about at least 10 times, and most of the times I could see only one set of kernesl (one for notebook), but then at some point they got duplicated and now I have two kernels per notebook.