Skip to content

Instantly share code, notes, and snippets.

@jeremyfix
Created January 28, 2021 19:44
Show Gist options
  • Save jeremyfix/6b245539393a370f968ef4266d897aad to your computer and use it in GitHub Desktop.
Save jeremyfix/6b245539393a370f968ef4266d897aad to your computer and use it in GitHub Desktop.
To run a jupyter lab with a specific token, just :
jupyter lab --NotebookApp.token='toto'
This is handfull to use a custom token , for example when running a batch of jupyter lab for students working remotely to which you just want to provide a token and not the quite complicated instance specific URL.
@jeremyfix
Copy link
Author

XDG_RUNTIME_DIR="" jupyter lab --NotebookApp.token='toto'

might be required; otherwise got some permission denied on /run/user/

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