Table of contents
1. Why do you want to make this series?
2. Turn on the screenless connection and turn on the VNC function
1. Why do you want to make this series?
Recently, I bought a jetson nano 2GB board, but there is no display. So I thought of the VNC remote, but the information on the Internet is too complicated and some of the information is outdated, which cannot achieve the effect I want. So this series is released for friends who are just getting started to quickly configure the development environment.
2. Start operation
1. Open VNC
-
Configure soft links
The official Jetson Nano 2GB image does not use the KDE desktop anymore, please note here
cd /usr/lib/systemd/user/graphical-session.target.wants sudo ln -s ../vino-server.service ./.
-
Configure VNC server
gsettings set org.gnome.Vino prompt-enabled false gsettings set org.gnome.Vino require-encryption false
-
Set the password for accessing the VNC server
# Replace thepassword with your desired password gsettings set org.gnome.Vino authentication-methods "['vnc']" gsettings set org.gnome.Vino vnc-password $(echo -n 'thepassword'|base64)
-
restart the system
sudo reboot
2. Turn on the screenless connection and turn on the VNC function
Why do you need to turn this on? If you go to the previous step, you will find that you still can’t connect to VNC. This step has troubled me for a long time. .
Because your VNC will not start until you log in locally. . The original words are as follows: "The VNC server is only available after you have logged in to Jetson locally. If you wish VNC to be available automatically, use the system settings application on your developer kit to enable automatic login. " A grass and mud horse is running by, I want a monitor and use VNC? Code it or
edit/etc/gdm3/custom.conf
sudo vim /etc/gdm3/custom.conf
Then find and modify:
# Enabling automatic login
AutomaticLoginEnable=true
AutomaticLogin=[your username]
type ESC
:
wq
save
Restart the connection to VNC
sudo reboot
3. Modify the resolution
Start panel searchstartup application
Write the following parameters
1024x768
Change to the resolution you want to set
Just restart again
4. Reference
NVIDIA Jetson Nano newbie must: set up VNC
jetson nano open VNC
ls/115174023)