Tips for beginners
- Push Ctrl + Alt + t key to open termial window.
- If you got problems related to desktop, check "/var/log/Xorg.0.log".
It is a log file of Xorg. There might be some hints to solve problems.
- When you want to shutdown or reboot, click icon looks like gear in right top of the desktop.
sudo shutdown -h now
Push shift + Page up/down key to scroll console.
Show storage space usage
Show Linux for Tegra version
cat /etc/nv_tegra_release | head -n 1
Show kernel version
Show IP address of LAN port
(ifconfig is deprecated, and ip is a replacement command)
ip addr show dev eth0
List block devices
List USB devices
List PCI devices
If you got problems, there might be some hints on the message buffer of the kernel. Following command show it.(Push q key to quit)
dmesg | less
Save the message buffer of the kernel to file "log"
dmesg > log
Become "root"! Then, you don't need to type sudo. You should know about "root" and what you are doing.
You can exit root with "exit" command.
Use up and down key to get previously executed command
Use tab key to complement command or file path
Use ctrl + r key to search previously executed commands
Turn off HDMI output
echo 2 > /sys/class/graphics/fb1/blank
Turn on HDMI output
echo 0 > /sys/class/graphics/fb1/blank
- Execute a window program from ssh
If Jetson TK1 is connect to a display or VNC is running on it and desktop environment is running,
you can execute programs from ssh and show windows on your desktop.
Set "DISPLAY" environment variable to ":0" if your Jetson TK1 is connect to a display.
Set one to ":1" if you are using VNC.
If you disconnect from SSH server, process on the ssh session are terminated.
But by using tmux, your terminal and process on it running on background after disconnected from SSH server.
And you can continue working with the terminal later even if you connect the server using a different client.
tmux also has many useful features when you are working with ssh.
Read this site for more detail.
sudo apt-get install tmux
Reattach to existing tmux session