It won’t immediately crash, but if I try to access kwin by using the bVNC client on my android smartphone, krfb-virtualmonitor will crash. There is no such thing as krdp-virtualmonitor, so I can’t use an rdp server when kwin is running in headless mode. Of course, waypipe is a great tool, but I can only use it as a client on machines running a wayland compositor. My smartphone, however, can’t run a wayland compositor… I showed you the commands that I used to start headless kwin/vnc. Maybe I made a mistake in them? If I didn’t, then I can only conclude that kde developers want everyone to use waypipe (on client devices capable of running wayland compositors, and android smartphones/tablets are not such devices) and forget about the headless kwin/vnc (or rdp) combination.
It’s been years since gnome made accomplishing the same thing easy: you just have to type “gnome-shell --no-x11 --headless --virtual-monitor 1920x1080”, configure either the rdp or vnc access with the grdctl utility, and start gnome-remote-desktop.service. (Though it can only be done on Linux, not on FreeBSD). So, it’s kinda odd that kde only has real support for non-headless vnc (or rdp?) mode on wayland. As I said in my first post, waypipe is a great tool, and it allows you to forget about vnc/rdp annoyances, but… I can’t run it on android clients.