Permission denied when running jupyter notebook after switch user
This error happens when you use a different user from the login user to run jupyter notebook.
For example:
If you login in using user root, then switch to user_x, then run:
ipython notebook or jupyter notebook
you will get the following exception:
OSError: [Errno 13] Permission denied: ‘/run/user/1000/jupyter’
The solution is:
export XDG_RUNTIME_DIR=""
-
Lucas Cotta











