Use only one network cable to connect JetsonNano to achieve NoMachine remote access

Use only one network cable to connect to the JetsonNano shared network and achieve NoMachine remote access

Article directory

  • Use only one network cable to connect to JetsonNano to share the network and achieve NoMachine remote access
    • 1 NoMachin installation and configuration
      • 1.1 Download address (Jetson)
      • 1.2 Installation steps
        • 1.2.1 Copy the compressed package to the /usr/ directory
        • 1.2.2 Unzip the installation package
        • 1.2.3 Perform installation
        • 1.2.4 Restart Jetson Nano
        • 1.2.5 Set resolution
        • 1.2.6 Precautions
      • 1.3 Download address (Windows)
      • 1.4 Installation steps
      • 1.5 Test connection
      • Modify resolution
      • Turn on automatic login
      • File transfer can be directly dragged and dropped
      • After changing the resolution, you need to close the remote and reconnect, otherwise the mouse will not correspond to the screen.
    • 2. Configure using only one network cable to share the network and connect the Jetson Nano
      • Jeson end wired network settings DHCP mode
      • Disconnect the network cable, do not connect the Jetson Nano, enter arp -a
      • Connect the PC and Jetson Nano with a network cable to set up a shared network
      • Tip: The address 192.168.137.1 will be set to the Ethernet address, OK
      • Enter arp -a again. At this time, you can see the static IP address 192.168.137.41 automatically assigned to the Jetson Nano.
      • Since I have a screen, I can actually see on the Jetson Nano that the IP address has been changed to this one.
      • ping test
      • You’re done. You can see that not only the PC and Jetson Nano can be connected, but the Jetson Nano can also access the Internet through the shared network.
      • Using this IP address, the PC can also connect to the Jetson Nano through Nomachine.

One NoMachin installation and configuration

NoMachine is a remote desktop tool, just like VNC. So what makes NoMachine different from another remote desktop tool? The most important factor is speed. The NX protocol provides near-local speed responsiveness over high-latency, low-bandwidth links. So, it feels like you are right in front of your computer.

1.1 Download address (Jetson)

NoMachine – Download NoMachine for /Arm

  • Select nomachine_7.7.4_1_aarch64.tar.gz to download

image-20211220221548580

1.2 Installation steps

1.2.1 Copy the compressed package to the /usr/ directory

image-20211220224300515

cd /
sudo cp /home/jetbot/Downloads/nomachine_7.7.4_1_aarch64.tar.gz /usr/
cd /usr/
1.2.2 Unzip the installation package

image-20211220224337092

sudo tar zxvf nomachine_7.7.4_1_aarch64.tar.gz
1.2.3 Perform installation

image-20211220224436022

sudo /usr/NX/nxserver --install
1.2.4 Restart Jetson Nano
1.2.5 Set resolution
1.2.6 Notes

1.3 Download address (Windows)

NoMachine – Download Free Remote Desktop Access

image-20211220232540158

1.4 Installation steps

  • Next step
  • Next step
  • Next step

1.5 Test connection

  • The same LAN can automatically scan devices

image-20211220223228461

  • Enter your account and password to connect

image-20211220224817646

  • Use coaching, which can be turned off

image-20211220224847109

  • Officially enter the remote desktop

image-20211220224954484

Modify resolution

xrandr
xrandr --size 1920x1080
xrandr --fb 1920x1080

Enable automatic login

image-20211220225828022

image-20211220225850688

image-20211220231122340

File transfer can be directly dragged and dropped

After changing the resolution, you need to close the remote and reconnect, otherwise the mouse will not correspond to the screen

2 Configure using only one network cable to share the network and connect to Jetson Nano

Set DHCP mode for Jeson’s wired network

image-20211220223855851

image-20211220223814292

Disconnect the network cable, do not connect the Jetson Nano, enter arp -a

image-20211220231412078

Connect the PC and Jetson Nano with a network cable to set up a shared network

image-20211220231353143

image-20211220231302231

Prompt 192.168.137.1 address will be set to the Ethernet address, OK

image-20211220231313809

Enter arp -a again and you will see the static IP address 192.168.137.41 automatically assigned to the Jetson Nano

image-20211220231433028

Since I have a screen, I can actually see that the IP address has been changed to this on the Jetson Nano

image-20211220223958847

ping test

image-20211220231444707

You’re done. You can see that not only the PC and Jetson Nano can be connected, but the Jetson Nano can also access the Internet through a shared network.

Using this IP address, the PC can also connect to Jetson Nano through Nomachine.

image-20211220231634867