NoMachine can be installed on a Jetson Nano out-of-the-box. There are a couple of tweaks to consider if you are using your Nano as a headless server.
This article assumes that you have already installed the appropriate Ubuntu image dedicated to this device from the Nvidia website (https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit) and the device is ready.
Go to the NoMachine website and download the package for for ARMv8 (arm64/aarch64) from: https://www.nomachine.com/download/download&id=111&s=ARM
Then install NoMachine with the 'dpkg' command. For example if you downloaded package
sudo dpkg -i nomachine_6.9.2_1_arm64.deb
To ensure NoMachine is ready for access, please consult the guidelines here: https://www.nomachine.com/getting-started-with-nomachine
Note for headless system users
If you don't want to connect a monitor to your device and don't need to have xserver running, we suggest you to install an alternative Desktop Environment to Unity, which is default on Jetson Nano Ubuntu.
Disable the xserver using:
sudo systemctl set-default multi-user.target
(if Xserver was disabled after NoMachine installation, you will need to restart nxserver:
sudo /usr/NX/bin/nxserver --restart).
Install Xfce4 desktop environment:
sudo apt install xfce4
Installing and using an alternative DE means that the start command for that desktop must be added to the NoMachine node configuration. Since XFCE is the chose desktop environment:
1. Edit node configuration file:
sudo vim /usr/NX/etc/node.cfg
2. Find DefaultDesktopCommand key and change line to following: DefaultDesktopCommand "/usr/bin/startxfce4"
3. Save the changes.
Now, go to your connecting client, install NoMachine for your OS and follow the instructions of the "Getting Started Guide". (https://www.nomachine.com/getting-started-with-nomachine)
Once authenticated on your remote Nano, you should be able to create a session with the xfce4 desktop.