Jetson Nano vnc/headless connections

I connect my jetsonNano to ubuntu laptop using just ethernet cable with IP 10.42.0.x and have successfully used vncserver for desktop sharing: Screenshot-from-2021-01-31-22-36-26 — ImgBB
I used vncserver instead of vino-server following the step:

  1. Connect JN to laptop using ethernet cable and use putty to enter SSH
  2. in SSH, install vncserver as well as viewer:
    sudo apt install tightvncserver && sudo apt instsall xtightvncviewer
    then run cmd “vncserver” to enter password
  3. edit file xstartup:
    sudo nano ~/.vnc/xstartup
    then add 3 lines and save:
    unset SESSION_MANAGER
    unset DBUS_SESSION_BUS_ADDRESS
    startlxde &
  4. reboot JN and enter SSH again, then start vncserver and viewer:
    vncserver
    xtightvncviewer (enter hostname:x and pwd)
    Then enjoy using remote desktop of JN with only ethernet cable :))
5 Likes