Steps:-
1. When installing from SDK Manager - disconnect LAN cable to prevent any downloads first. This includes the option to install Chromium.
2. Immediately after install completes and agreements done, lock kernel files with:-
Code: Select all
sudo apt-mark hold nvidia-l4t-display-kernel nvidia-l4t-kernel nvidia-l4t-kernel-dtbs nvidia-l4t-kernel-headers nvidia-l4t-kernel-oot-headers nvidia-l4t-kernel-oot-modules nvidia-l4t-jetson-io
3. Then handle the browser issue with:-
Code: Select all
snap download snapd --revision=24724
sudo snap ack snapd_24724.assert
sudo snap install snapd_24724.snap
sudo snap refresh --hold snapd
Reboot the system.
4. Deal with the password situation:
Add a line after root:
and change the %sudo line to say
5. Enable VNC by going to Settings->Sharing and enable
Remote Login and
Remote Desktop.
- in Remote Desktop enable Remote Desktop and Remote Control. Turn on
Enable Legacy VNC Protocol.
- Change the password to something more useful
- Install Vino as follows:
Code: Select all
cd /usr/lib/systemd/user/graphical-session.target.wants
sudo ln -s ../vino-server.service ./.
sudo reboot now
VNC should now work.
6. Install sublime text:
Code: Select all
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo tee /etc/apt/keyrings/sublimehq-pub.asc > /dev/null
echo -e 'Types: deb\nURIs: https://download.sublimetext.com/\nSuites: apt/stable/\nSigned-By: /etc/apt/keyrings/sublimehq-pub.asc' | sudo tee /etc/apt/sources.list.d/sublime-text.sources
sudo apt-get update
sudo apt-get install sublime-text
7. Install jtop
Code: Select all
sudo pip3 install -U jetson-stats
sudo systemctl restart jtop
sudo reboot now
Fix jtop for J4012 version:-
Code: Select all
cd ~/Downloads
git clone https://github.com/jetsonhacks/jetson-jtop-patch.git
cd jetson-jtop-patch
chmod +x apply_jtop_fix.sh
./apply_jtop_fix.sh
8. Install opencv with CUDA by downloading
install_opencv4.10.0_Jetpack6.1.sh from
https://github.com/AastaNV/JEP/tree/master/script
Code: Select all
wget https://github.com/AastaNV/JEP/blob/master/script/install_opencv4.10.0_Jetpack6.1.sh
Then run.
Code: Select all
bash ./install_opencv4.10.0_Jetpack6.1.sh
This version will have CUDA but requires 'numpy<2' and incompatible with a lot of the other stuff so you may not want to run this. To uninstall:
Code: Select all
cd ./workspace/opencv-4.10.0/release
sudo make uninstall
9. Install rclone for Dropbox transfers:
Code: Select all
sudo apt install rclone
rclone config
Create a new connection with "n" and name it "Dropbox" and select option "9" which should be for dropbox, and then tap through the defaults until it opens a browser to log into Dropbox. After that it should be connected. Copy the files over:-
Code: Select all
mkdir ~/Dropbox
mkdir ~/Dropbox/python
mkdir ~/Dropbox/python/carcounter
rclone cp Dropbox:python/carcounter ~/Dropbox/python/carcounter
If you want to sync changed files from Dropbox to the local directory, use:-
Code: Select all
rclone sync Dropbox:python/carcounter ~/Dropbox/python/carcounter