Unable to open web browser for jupyter lab

While trying to open jupyter lab from ssh terminal of jetson nano it shows that jupyter lab is running but do not get open in a browser. Below is the message I see forever. [I 2021-11-08 02:46:22.464 ServerApp] Jupyter Server 1.11.2 is running at: [I 2021-11-08 02:46:22.464 ServerApp] http://localhost:8888/lab [I 2021-11-08 02:46:22.464 ServerApp] or http://127.0.0.1:8888/lab [I 2021-11-08 02:46:22.464 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation)..

The http address given above do not get open while pasted manually in the browser.

Could anyone suggest how to proceed further

Hi,
Please refer to the posts:
at standstill with "Getting started with AI on Jetson Nano" course - #14 by ak-nv
Cannot access JupyterLab server on Jetson Nano - #7 by frankhoeflich

My camera widget do not have any problem and it works fine. I have problem opening jupyter lab in the browser. Though the installation do not show any error jupyter lab does not open in any browser. I tried Firefox and Chrome.

Hi @user3210, are you running the browser from your PC/laptop or from your Jetson?

If you are opening the browser on your PC/laptop, substitute the IP address of your Jetson. localhost and 127.0.0.1 only work if you are on the Jetson itself. You can check the IP address of your Jetson with the ifconfig command, and check the appropriate network adapter.

Firstly, thank you for the response. I am working on jetson connected to my laptop. Jupyter lab is installed on Jetson Nano. The installation seems to be successful but jupyter lab do not open in any browser. Can we install any browser on Nano? Are there any particular configurations that requires a change?

Secondly during installation of jupyter lab I have used the below command

pip install --user jupyterlab after using this the installation was a success. Else there was deserialization error and setup error which stopped its installation.

Thirdly, how to view or open the jupyterlab from jetson Nano. This is because I could not access jupyterlab installed on the Nano in anyway (neither IP address nor localhost ). The whole execution is happening in Ubuntu 20.04 (local system OS).

Could you guide me in detail as to how to proceed as my project deadline is nearing (practically 1 week). My post graduation completion is dependent on this.

Could you consider this priority and extend your support.

below is the message shown in the terminal once i access jupyter-lab
[I 2021-11-08 22:32:46.689 ServerApp] jupyterlab | extension was successfully linked. [W 2021-11-08 22:32:46.714 NotebookApp] 'password' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. [I 2021-11-08 22:32:48.226 ServerApp] nbclassic | extension was successfully linked. [I 2021-11-08 22:32:48.346 ServerApp] nbclassic | extension was successfully loaded. [I 2021-11-08 22:32:48.349 LabApp] JupyterLab extension loaded from /home/nano/.local/lib/python3.6/site-packages/jupyterlab [I 2021-11-08 22:32:48.349 LabApp] JupyterLab application directory is /home/nano/.local/share/jupyter/lab [I 2021-11-08 22:32:48.365 ServerApp] jupyterlab | extension was successfully loaded. [I 2021-11-08 22:32:48.367 ServerApp] Serving notebooks from local directory: /home/nano [I 2021-11-08 22:32:48.367 ServerApp] Jupyter Server 1.11.2 is running at: [I 2021-11-08 22:32:48.367 ServerApp] http://localhost:8888/lab [I 2021-11-08 22:32:48.367 ServerApp] or http://127.0.0.1:8888/lab [I 2021-11-08 22:32:48.367 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [W 2021-11-08 22:32:48.386 ServerApp] No web browser found: could not locate runnable browser.

Hi @user3210, sorry for the delay - yes, you should be able to use the Chrome/Chromium browser that comes pre-installed on your Jetson (or Firefox)

Is this what your Nano is running? Normally JetPack comes with Ubuntu 18.04, not 20.04.

If you continue having issues, I would recommend to just use the l4t-ml which comes with JupyterLab pre-installed, and it will automatically start when you start the container.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.