Vncserver on ubuntu 20.04 not connect from vncclient

Installed following jetson nano. link to jetson nano vnc setup

Ubuntu version installed : vim3-ubuntu-20.04-gnome-linux-5.18 ( I think version is not important)

ONLY WORKS IF A SCREEN IS CONNECTED TO BOARD

  • Install vino ( images does’nt have vino installed )

    $ sudo apt-get install vino
    

    You can share screen on settings

  • Enable VNCserver

    $ mkdir -p ~/.config/autostart
    $ cp /usr/share/applications/vino-server.desktop ~/.config/autostart/.
    
  • Configure the VNCserver

    $ gsettings set org.gnome.Vino prompt-enabled false
    $ gsettings set org.gnome.Vino require-encryption false
    
  • 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)
    
  • Reboot

    $ sudo reboot
    

Then, you need to install vncclient on your computer to control khadas remotly