Vncserver on ubuntu 20.04 not connect from vncclient

Which Khadas SBC do you use?

vim3

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

Please describe your issue below:

I can stablish connection for vncserver but not connect from vncclient. Perhaps I need to downgrade ubuntu’s version?
I’m following instructions from this post I’m following instructions from this topic

Post a console log of your issue below:




I would like to know the error message that is reported when the connection fails.

-Unable to connect.

I have ports enabled and I have vncclient connected to raspi and jetson nano.

Hi @ivan.li ,

Linux Khadas 6.0.0 #1.3 SMP Fri Nov 18 05:06:37 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

but I ca’nt connect,

Thanks.

Captura

We don’t use vncserver, however did check out the website and it appears that you need a paid license to use it.

Thanks @foxsquirrel. You can install without paying and it’s legal.
Perhaps I need to look for alternatives.

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