For anyone else wondering, here is how I got NoMachine installed and running on my Pi 5 from the terminal:
sudo raspi-config
- Advanced Options ->
- Wayland ->
- X11 ->
- OK ->
- Finish ->
- Yes (to reboot)
cd ~/Downloads
wget -P ~/Downloads https://download.nomachine.com/download/8.11/Raspberry/nomachine_8.11.3_3_arm64.deb
sudo dpkg --purge nomachine
sudo dpkg -i nomachine_8.11.3_3_arm64.deb
When step 5 is complete, you should see the NoMachine icon appear in the tray. You can now access your Pi 5 from NoMachine remotely.
Hope this is helpful.