jan 11 16:41:50 pc-kamer linssid[41321]: qt.qpa.xcb: could not connect to display
jan 11 16:41:50 pc-kamer linssid[41321]: qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.
jan 11 16:41:50 pc-kamer linssid[41321]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
What to do?
This is 1 of the PC’s with manjaro, on the other pc’s with manjaro the same problem.
linSSID doesn’t start, when i do this: sudo linssid in the terminal , linssid starts.
In Plasma, the desktop menu runs linssid-pkexec instead of the plain command, in order to prompt for the authentication password. I see that running this linssid-pkexec from the command line also fails.
Some googling suggests changing the desktop menu to run pkexec with some command line arguments, something like this
Still does not work on XFCE X11, but maybe the solution for wayland (probably with egl-wayland instead of xcb).
In various forums there is a solution to use xhost +si:localuser:root (which is also the solution for sparrow) but it did not work too.
The project seems abandoned, with last changes from 2018, so i guess it is time for alternatives.
Thanks for the feedback… Unfortunately, I can’t test it myself because I don’t have a Wi-Fi device at hand.
We would need to determine which variables are available in sudo that are not present in pkexec. Then we could make the necessary adjustments. @Phemisters already has a good approach for Wayland, but @klaas uses X11.