When establishing a VNC connection the desktop is not rendered correctly at the client; showing graphical artifacts, furthermore some GUI apps won't start at all (e.g. terminal emulator).
I experienced this with the standard j4t image that should be installed to the jetson nano (in this case the 4GB dev edition).
The official tutorials for VNC setup do not provide a solution that works smoothly, so that one can start the Nano in headless mode (without HDMI device conncted). Though you actually can connect via VNC, it is still necessary to have a HDMI cable connected to the Nano's HDMI interface, so that the desktop loads correctly.
So what can we do to connect with VNC to the Jetson Nano running in headless mode and receive an artifact-free video stream; also with higher resolution and also where the UI does not show artifacts?
There is also a discussion on the official forums on this topic.
For the following version:
Linux jetson 4.9.253-tegra #1 SMP PREEMPT Wed Apr 20 14:25:12 PDT 2022 aarch64 aarch64 aarch64 GNU/Linux
... this is what helped me:
connect to the Jetson Nano via SSH
install vncserver as well as viewer:
sudo apt install tightvncserver && sudo apt install xtightvncviewer
then run cmdvncserver
and set a passwordalso via SSH, edit the
xstartup
file:<hostname>:1
. Connect via e.g.xtightvncviewer
.