Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run each slicer instance in slicer-notebook on a separate virtual screen #38

Open
lassoan opened this issue May 25, 2020 · 5 comments
Open

Comments

@lassoan
Copy link
Contributor

lassoan commented May 25, 2020

This is a follow-up task from #33.

VNC viewing show two applications when multiple notebooks have been started:

https://user-images.githubusercontent.com/219043/82088418-b5b9e400-96bf-11ea-86d6-e6cf796f168d.png

JupyterNotebooksLib.AppWindow method automatically brings the current application forward but it would be nice if Slicer application windows would not overlap with each other but have their own dedicated screen.

@surajpaib
Copy link

Hi @lassoan

Was checking around to see if there's any mention of this feature! I'm using the slicer jupyter notebook on a server as a way to share our results.

Noticed that when different users use the jupyter notebook, they all have access to the same window and interactions propagate. I believe adding a new slicer instance would enforce session isolation as well.

I can help test and debug if you do decide to add this feature

Thanks!

@lassoan
Copy link
Contributor Author

lassoan commented Oct 30, 2020

The issue is about separation of multiple notebooks (for the same user).

Separation between users should probably happen at a higher level. For example, see how this docker image works on binder, which uses jupyterhub under the hood, spawning a new container instance for each user. Probably you want to set this up anyway, because you don't want to give anonymous users direct access to your server directly anyway.

@lassoan
Copy link
Contributor Author

lassoan commented Oct 30, 2020

If you have an idea or prototype for a solution for separate virtual display for each notebook (which could also separate users, if they connect to different notebooks) then let me know.

@surajpaib
Copy link

Thanks for the prompt response!

I assumed this issue would cover the case of multiple users interacting with different views as well. But jupyterhub seems like a much better solution for my particular usecase. Thank you for directing me to that.

@bveeni
Copy link

bveeni commented May 16, 2022

Hey @surajpaib
I am also trying to do same , running slicer notebooks on separate virtual screen.
For this, I created dockerfile, using jupyterhub image and installed all the required components for slicer notebook on this container.
For now, I am trying to get this done for single user.
I am able to bring this slicer notebook under menu options, however, when I tried to create a new slicer notebook , the kernel slicer failed to start.
Do you have any sample dockerfile or any reference on if you have successfully integrated this slicer notebook in jupyterhub.
If so, please kindly let me know.
dockerfile.txt

My dockerfile looks like this

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants