It could be some environment variable that is missing in the start command of your desktop manager.
Please copy&paste the output of the “env” command, as run in the physical desktop and on the virtual desktop session.
Open a terminal on the physical display and run:
Start the new remote desktop session on the NoMachine server.
Open a terminal and run:
Please provide the complete output.