Hi,
The problem appears to be in ESXi and how it doesn’t handle multi-monitors in remote connections, and not in NoMachine. In our tests of remote connections to virtual machines in VMware ESXi environments, the multiple monitors feature is not supported (in VMware).
https://communities.vmware.com/t5/VMware-vSphere-Discussions/ESXi-6-7-Multiple-Monitors-for-VMs/td-p/2748906
NoMachine connects you to the desktop environment that’s installed on the remote host. That desktop can be a physical one or it can be running in a VM, it doesn’t matter. You will connect to the physical display/monitor running there. In the case of a headless Linux, so no physical monitor attached, NoMachine is able to create a virtual display for you. NoMachine also lets you switch between those displays if it detects multiple displays or monitors available there:
https://www.nomachine.com/switching-the-view-between-multi-monitors-during-a-remote-desktop-session
If you also have multi-monitors on the client side, and you need to connect to multiple virtual displays on the server side, you could try NoMachine Workstation which provides the functionality of “NoMachine virtual desktop sessions”. Read more about this here:
How multi-monitors on client side work when connected to a remote desktop
https://kb.nomachine.com/AR06S01131