Update: I have tried to disable the headless mode and enable back the graphical mode using:
sudo systemctl set-default graphical.target
sudo reboot
After that, I connect the NVIDIA Jetson Nano to my monitor via HDMI, then only after the Jetson Nano successfully booted I try to reconnect using NoMachine and it works! Hence, for every time I want to connect using NoMachine I have to do the steps below:
- After enabling graphical mode, power up Jetson Nano with display attached via HDMI,
- After finish booting, try to connect using NoMachine,
- Then, unplug the HDMI (display).