Solution for flexible remoting to Raspberry Pi Desktop

Hi everyone, I am trying to get my Raspberry Pi remoting to work.
Using KDE desktop env.

At first i got VNC working (tigerVNC), but i found out that the VNC session is not the same session with the phisical monitor. I googled a solution to be able to remote into an existing X session and found out about nomachine

It works perfectly fine when I boot the RPi with a monitor connected to it. After that I can attach/detach the cable and everything is OK. (although have to start the port listening via /usr/NX/bin/nxserver --start nxd, but I will combat that later)

But when I boot without a monitor attached and try to start a session in nomachine I get a black screen with a cursor
My default command in node.cfg is DefaultDesktopCommand "env -u WAYLAND_DISPLAY /usr/bin/dbus-launch --sh-syntax --exit-with-session /usr/bin/startplasma-x11"

My end goal is to boot the RPi with or without the display attached and then remote to it with the ability to detach/reattach the display at any time.