qt.qpa.xcb: could not connect to display :1.0 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
-
I am using a remote Jupyter notebook and trying to start the qtconsole but getting the following error.
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
I have tried both
export DISPLAY=:0
$
export DISPLAY=:1 -
When you say remote, how are you accessing it ?
-
So you have a JupyterLab session running ?
-
What is your exact setup ?
You seem to be running your notebook in a browser. -
@SGaist Hello, I got the same problem as this post "qt.qpa.xcb: could not connect to display. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. And I am installing code_saturne v7.2.0 in WSL ubuntu 20.04.5. It seems like my laptop environment runs on Wayland, since when I use synaptic, it showed that: 'Probably you're running Synaptic on Wayland with root permission.
Please restart your session without Wayland, or run Synaptic without root permission.'
Do you have any suggestions about this? Very appreciate.