I have a server (Ubuntu server 16.04) that runs jupyter notebooks, and a local machine (Mac) where I use google-chrome to visualize these notebooks. To do so, I have to:
You can use the "jupyter config file" wich is not activated by default so need to do this command fisrt (on your server):
jupyter notebook --generate-config
Then in the generated "jupyter_notebook_config.py" in the "/.jupyter" folder : uncomment the line and change the value.
This way you can tweak configuation such as password instead of token, default directory , port and so on .. Do as you want it may be a proper way to do some of the "jupyter config" in your script then keep evertything else.