From several places on the internets I have been able to patch together the following setup:
- The Littlest Jupyter Hub installed on a AWS EC2 instance
- Added users in the Hub admin UI and added them to a “collaborate” group
- In each user’s Jupyter Lab I installed the extension jupyter-collaborate
- Added the following to /opt/tljh/config/jupyter_config.d/jupyter_config.py
c.Authenticator.allowed_users = set([
‘adminuser’,
‘user1’,
‘user2’,
‘user3’
])
c.JupyterHub.load_groups = {
'collaborate’: [
‘adminuser’,
‘user1’,
‘user2’,
‘user3’
]
}
c.JupyterHub.load_roles = [
{
'name': ‘collaborate-group',
'description': ‘users collaborate together’,
'scopes': ['access:servers!group=collaborate’],
'groups': [‘collaborate’],
},
]
c.Spawner.cmd = [‘jupyter-labhub’]
c.Spawner.args = [‘—collaborate’]
While setting up this last part I was able to get the RTC collaboration working between my adminuser and a testuser. I got excited and removed the testuser and tried to connect the real user. But since then I have not been able to reproduce any working RTC. I can’t make the content appear between the users. I’ve tried sharing links and restarting the jupyter service after updating the config file, but have no success.
It’s been difficult to find a howto that includes the whole process in a complete manner. I have found information here and there, but it usually is missing the last last part in the Lab interface. I assume that’s part of the problem.
Does anyone have pointers to what I might be doing wrong or if I’m missing any steps?