How to run spectacle from a remote terminal?

Hello!
I am having trouble running spectacle -b from a remote terminal session as root/non-root-user
I get the following error:

spectacle -b
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.

Aborted (core dumped)

I have tried with different plugins without any luck.

Here is my system info:

KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
QT Version: 5.15.8
Distribution: Debian Bookworm
Graphics Platform: Wayland

Running spectacle from within a GUI session works without any issue.

Thanks in advance!