Ssh to machine then ssh -X back

I ssh into a machine with no desktop.
I want to run a gui program on the machine it came from so I tried to ssh -X back,

ssh -X me@myhost pcmanfm-qt
me@myhost’s password:

It gives 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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.