qt.qpa.xcb & qt.qpa.plugin issue prevents running

101 views
Skip to first unread message

Micky Connor

unread,
Jun 4, 2023, 4:00:31 PM6/4/23
to golden-cheetah-users

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() looking at "/home/mick/Qt/5.15.2/gcc_64/plugins/platforms/libqxcb.so.debug"
"The shared library was not found."
not a plugin
QFactoryLoader::QFactoryLoader() checking directory path "/root/Projects/GoldenCheetah/src/platforms" ...
loaded library "/home/mick/Qt/5.15.2/gcc_64/plugins/platforms/libqxcb.so"
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.
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.

Aborted

I followed the installation guide. I had a number of issues with installation I solved by googling the error, but all the googled fixes for this don't work.

This is a new built installation, and it has not ever successfully run for me.

I am trying to run it on Debian.

Cheers
Mick

Ale Martinez

unread,
Jun 5, 2023, 12:09:46 PM6/5/23
to golden-cheetah-users
May be other Debian users may help with your dev environment if you want to build from source, but you can also try our pre-built binaries as explained in https://github.com/GoldenCheetah/GoldenCheetah/wiki/FAQ-GENERAL#for-which-operating-systems-are-binary-distributions-available 

Joachim Kohlhammer

unread,
Jun 5, 2023, 1:31:08 PM6/5/23
to golden-cheetah-users
What is the value of the env-variable DISPLAY? I get a similar message when it is unset or the calling user does not have permission to open a window on X (xhost -). Can you open xlogo?

Regards
 Joachim

Micky Connor

unread,
Jun 5, 2023, 3:57:01 PM6/5/23
to golden-cheetah-users
Hey Joachim

Thanks for trying to help, as Ale has suggested, I do run the appimage, but it keeps hanging.

The DISPLAY variable is null, it just returns a blank from echo.

Also, I get 'Error: Can't open display:' from xlogo.

I did try setting DISPLAY to 0, and 0:0, as this was suggested online. I suspect this just turns it off though.

Cheers
Mick

Micky Connor

unread,
Jun 5, 2023, 4:08:16 PM6/5/23
to golden-cheetah-users
I now realise that the :0, and :0.0 advice was sound, but it still does not work!

Joachim Kohlhammer

unread,
Jun 5, 2023, 4:19:22 PM6/5/23
to golden-cheetah-users
Micky Connor schrieb am Montag, 5. Juni 2023 um 22:08:16 UTC+2:
I now realise that the :0, and :0.0 advice was sound, but it still does not work!

Did you export DISPLAY (i.e. export DISPLAY=:0)? Otherwise this (required) variable will not be known to child processes

Did you switch the user (e.g. with su) after you logged on? An additional issue could be that no user besides the logged on has permission to connect to X11 to display applications. You could try "xhost +" to turn off that access control (be aware that any user on your machine could then open windows on your display - however for test purposes on a single user machine it should be fine)

The failing xlogo shows that your issue is related to X11, not to Golden Cheetah

 Regards Joachim
Reply all
Reply to author
Forward
0 new messages