analogdevicesinc / adi-kuiper-gen

Tool used to create ADI Kuiper Linux userspace images (based on Raspbian/raspberrypi.org )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unencrypted VNC connection

msuciu opened this issue · comments

After I write the image on the SD card and create an empty text file named "vnc" on the root directory when I try to connect on the PI through VNC I receive the following:

image

image

The issue was found on this image_2020-05-06-ADI-Kuiper-full.

Which VNC is being used? I don't think we can distribute the default Raspberrian one, as it requires a commercial license. (I thought).

we are using x11vnc it is open source, so we removed the realvnc default one just to remove that commercial license. Will investigate to see how to encrypt the connection.

Not so sure about that since the VNC option is not enabled into raspi-config.

image

image

Ok - thanks I confrmed on mine:

analog@analog:~ $ which x11vnc
/usr/bin/x11vnc

I think we just need to start it with the -ssl flag?

I think it gets started from either:

/etc/systemd/system/x11vnc.service
OR
/etc/systemd/system/multi-user.target.wants/x11vnc.service

will try the -ssl flag

I'm pretty sure we do not want a cert generated every time (you would get a warning every time you attach), what we want is something that is created once, but is unique to each SD Card...