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

qt.qpa.xcb: could not connect to display #79

Open
ghost opened this issue Jan 19, 2023 · 0 comments
Open

qt.qpa.xcb: could not connect to display #79

ghost opened this issue Jan 19, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 19, 2023

While I am trying to visualize 3D point clouds with 3D boxes, I am getting the below error message.

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
loaded library "/root/venv/lib/python3.8/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
qt.qpa.xcb: could not connect to display :1
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/root/venv/lib/python3.8/site-packages/cv2/qt/plugins" 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: xcb.

Aborted (core dumped)

The export command used to change the display still shows the above error with the below connection refused error.

qt.qpa.xcb: could not connect to display :1
qt.qpa.xcb: could not connect to display :0

Machine: ubuntu 22.04

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

0 participants