Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

napari error: Could not load the Qt platform plugin "xcb" in "" even though it was found. - cannot connect to display #17

Open
maryamkqamar opened this issue Jul 3, 2023 · 1 comment

Comments

@maryamkqamar
Copy link

Hi thanks for the interesting project, I am running this from my local computer connected to a remote server. When I try to run napari, it gives the error: Could not load the Qt platform plugin "xcb" in "" even though it was found. and when in debug says cannot connect to display. I tried with both pyqt5 and pyside2. I also tried solutions https://forum.image.sc/t/cant-open-napari-with-jupyter-and-vs-code-module-napari-has-no-attribute-viewer-runtimeerror-no-qt-app-has-been-created/71353/3, https://github.com/NVlabs/instant-ngp/discussions/300 and more but could not resolve it yet. Could you please help about this. Thank you.

@JoOkuma
Copy link
Member

JoOkuma commented Jul 30, 2023

Hey @maryamkqamar , sorry for the late response.

How is your remote server setup?

Napari cannot be run remotely, you could try using X11 forwarding with ssh but it will require running this on the server and forwarding it to your local computer. Performance won't be great and you need to make sure your remote server has X11.

If you can only run it in a server the ideal solution is to setup a virtual desktop there and access it remotely.

I hope this can help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants