- Find the IP of your Jetson nano board using ‘ifconfig’ command. I found mine in the wlan0 as 192.168.0.106
- Use this command to check whether your VNC server is running or not.
ps -ef|grep vnc
It should show something like this which means vnc server is running.
ecl 22462 22435 0 03:39 pts/0 00:00:00 grep --color=auto vnc
- Once you know your IP and also confirm the VNC server is up and running, its time to connect to your Jetson via any VNC client app.
- Open
Remminaclick the add button on the top left, then selectVNCas the protocol, then click the (…)button which is in the right end of the server IP address entering bar. This (…) button should automatically scan and show the name of your jetson Nano (choose IPv6 conneciton). Now just click, enter your username, password and connect.
- The VNC server starts only after the user logs in. In an ideal headless setup, we need a keyboard and monitor to log in, doing this is at every login in tiring. So I usually enable auto-login and disable the lock screen.
- Open the Activities overview and start typing Users.
- Click Users to open the panel, select the user account that you want to log in to automatically at startup, Press Unlock in the top right corner and type in your password when prompted, Switch the Automatic Login switch to on.
Add the following line inside /etc/X11/xorg.conf to use the display resolution of jetson that you desire.
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Tegra0"
SubSection "Display"
Depth 24
Virtual 1920 1080
EndSubSection
EndSection