-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Description
I have suddenly begun to have issues using jupyter notebook remotely with the following error. I am able to open *.ipynb
files but cannot run them, as the kernel dies immediately.
The problem does not appear to be xdg-open
:
$ xdg-open --version
is xdg-open 1.1.0 rc1
Here is the error I receive:
bash$:~ 56 $ jupyter_run
[I 16:23:22.601 NotebookApp] Serving notebooks from local directory: /gpfs/commons/home/USERNAME/notebooks
[I 16:23:22.601 NotebookApp] 0 active kernels
[I 16:23:22.602 NotebookApp] The Jupyter Notebook is running at: http://server:portID/
[I 16:23:22.602 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
START /usr/bin/firefox "http://server:portID/tree"
Error: cannot open display: :99
xdg-open: no method available for opening 'http://server:portID/tree'
[I 16:23:57.441 NotebookApp] 302 GET / (10.3.81.208) 0.74ms
[W 16:24:03.432 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20160920162321 (10.3.81.208) 10.08ms referer=http://server:portID/notebooks/filename.ipynb
[I 16:24:17.092 NotebookApp] Kernel started: d1bb323f-b209-46e8-a83b-c5c8d6eeb7b0
Error in .External2(C_X11, paste("png::", filename, sep = ""), g$width, :
unable to start device PNG
Calls: <Anonymous> ... evaluate -> dev.new -> do.call -> <Anonymous> -> ok_device
In addition: Warning message:
In ok_device(filename, ...) : unable to open connection to X11 display ''
Execution halted
[I 16:24:23.091 NotebookApp] KernelRestarter: restarting kernel (1/5)
WARNING:root:kernel d1bb323f-b209-46e8-a83b-c5c8d6eeb7b0 restarted
Why would this error suddenly occur?