I have a headless Raspberry Pi (Raspbian Stretch) that I use over VNC, enabled by enabling the VNC setting in the Interfacing section of raspi-config.
I've read the docs pages for RealVNC, which say that a virtual desktop is more resource-efficient than a standard remote desktop (and thus I'd like to use it). The documentation also says how to set up a virtual desktop from the command line.
My question, which I have not been able to find an answer for, is whether the raspi-config setting is smart enough to use a virtual desktop if no monitor is connected, or if I need to use the vncserver
command over ssh (which I have no problem doing, but I don't know if I need to.)