1 - Download and flash image from Jetson Download Center
2 - On your other computer, use the serial terminal application to connect via host serial port to the Jetson Nano (115200)
-
Review and accept NVIDIA Jetson software EULA
-
Select system language, keyboard layout, and time zone
-
Create username, password, and computer name
-
Select APP partition size—it is recommended to use the max size suggested
-
Select primary interface as dummy0 (Wi-Fi will configure later)
-
Choose “do not configure network at this time” and proceed
-
Login with username and password
- Setup WiFi: steps (but not necessary)
- Check dongle with
$ nmcli d
- Turn on the wifi
$ nmcli r wifi on
- Requires a reboot
$ sudo reboot
- List out wifi
$ nmcli d wifi list
- Enter ssid and password
$ sudo nmcli d wifi connect <ssid> password <password>
- Check ip with
$ ifconfig wlan0
In my experience NOMACHINE is better than VNC. If you wand NOMACHINE checkout the link
- Update with
$ sudo apt update
- Get rid of un-necessary stuff in ubuntu
# Get rid of extra stuff
sudo apt purge -y libreoffice* thunderbird* && sudo apt clean
- Install nano text editor
$ sudo apt-get install nano
- Upgrade with
$ sudo apt upgrade
5- Enabling Desktop Sharing: steps
- Install vino (can skip this, as latest already has vino installed)
$ sudo apt install vino
- Open the schema in nano editor
$ sudo nano /usr/share/glib-2.0/schemas/org.gnome.Vino.gschema.xml
and go ahead and add the following key into the XML file
<key name='enabled' type='b'>
<summary>Enable remote access to the desktop</summary>
<description>
If true, allows remote access to the desktop via the RFB
protocol. Users on remote machines may then connect to the
desktop using a VNC viewer.
</description>
<default>false</default>
</key>
- Then compile the Gnome schemas
$ sudo glib-compile-schemas /usr/share/glib-2.0/schemas
- Disable encryption for the VNC server
$ gsettings set org.gnome.Vino require-encryption false
$ gsettings set org.gnome.Vino prompt-enabled false
$ gsettings set org.gnome.Vino disable-background true
$ mkdir -p ~/.config/autostart
$ ln -s /usr/share/applications/vino-server.desktop ~/.config/autostart/
- Enable Automatic Login (necessary)
# Open the custom.conf file in the Nano editor
$ sudo nano /etc/gdm3/custom.conf
Comment out the lines and replace user1 with your username
# Enabling automatic login
# AutomaticLoginEnable = true
# AutomaticLogin = user1
# Enabling automatic login
AutomaticLoginEnable = true
AutomaticLogin = username
- Set the VNC resolution to fix low resolution issue modify xorg.conf file
$ sudo nano /etc/X11/xorg.conf
and add these lines to end of the file (you can also choose resolution by changing 1280 800)
Section "Monitor"
Identifier "DSI-0"
Option "Ignore"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Default Device"
SubSection "Display"
Depth 24
Virtual 1280 800
EndSubSection
EndSection
- Reboot
$ sudo reboot
- Turn ON VNC manually once
$ export DISPLAY=:0.0 && /usr/lib/vino/vino-server
-
Connect over VNC to the nano
-
Go to settings, and setup VNC their with chosen password
-
Reboot
$ sudo reboot
- You should be able to connect to VNC now.
- Pull the image
$ sudo docker pull portainer/portainer-ce:latest
- Launch it
$ sudo docker run -d -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
- Get Pip
$ cd ~/Downloads
$ sudo apt-get install -y python3.7-dev
$ sudo apt install python3-pip
# $ wget https://bootstrap.pypa.io/get-pip.py
# $ sudo python3.7 get-pip.py
# $ alias python3=python3.7
- Reboot
$ sudo reboot
- Install Jetson-Stats
$ sudo -H pip install -U jetson-stats
- numpy
$ pip install numpy
- jetson-inference
# jetson-inference
$ cd ~/Downloads
$ git clone --recursive https://github.com/dusty-nv/jetson-inference
$ cd jetson-inference
$ docker/run.sh --volume /home/username/Downloads:/downloads
# $ git submodule update --init
# $ mkdir build
# $ cd build
# $ cmake ..
# # Just press enter for default models to download for now
# # Skip pytorch for now
# $ make -j4
# $ sudo make install
# $ sudo ldconfig