'Anaconda-Jupyter Doesn't open in Firefox

I have just installed Ubuntu 22.04 TLS from 20.04. On Ubuntu 20.04 anaconda and jupyter work very well. But since I'm on Ubuntu 22.04, I can't open jupyter in my navigator (firefox) :

Can't open in Firefox

"The file at /home/matthieu/.local/share/jupyter/runtime/nbserver-32499-open.html is not readable. It may have been removed, moved, or file permissions may be preventing access."

Anaconda Navigator 2.1.4 Firefox version 100.0 (64bit)

Here what I have tried :

  1. I have generated the config file with following command :jupyter notebook --generate-config

I looked for parameter in config file c.NotebookApp.use_redirect_file and set the same as False.

c.NotebookApp.use_redirect_file = False in order to disable launching browser by redirect file .

Not work.

  1. LibGL Error

When I ran anaconda-navigator I got LibGL Error :

LibGL Error

So I delete these 3 files from ~/anaconda3/lib :

  • libstdc++.so
  • libstdc++.so.6
  • libstdc++.so.6.0.28

Not work.

  1. I have checked if the file exist "nbserver-32499-open.html" exist and it is.

Any help will be welcome !



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source