Connecting to another computer with ssh I received this error.
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: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-x
composite-glx, xcb.
This was observed when connecting remotely using ssh and then running a program on the remote computer.
Here’s the ssh connection
ssh 192.168.0.100
Followed by the starting of the command:
neil@192.168.200.100:~$ mythfrontend
I investigated whether a package had been deleted with unattended upgrades, looking at the possible packages related to that list.
For example I considered finding relevant packages using
apt-cache search libxcb
However, reconsidering the action I was looking to perform running mythfrontend on my local computer the conclusion was that I hadn’t passed the -X parameter in my login.
The addition of the -X parameter signifies that X11 will be forwarded, allowing graphical programs to be run remotely. In this case the purpose is to run the graphical mythfrontend on my computer. The remote computer doesn’t have a monitor connected.
I started the login once more with the addition of the forgotten -X in the ssh signin:
ssh -X 192.168.0.100
With the corrected login, with the -X parameter no errors when I subsequently ran mythfrontend.


