VNC from Ubuntu to Raspberry Pi OS by wayvnc: certificate not recognized
## Problem Description
When connecting via VNC from Ubuntu to Raspberry Pi OS running wayvnc, I'm always prompted in Remmina to enter the certificate (CA file, client certificate etc), but the Raspberry has it's own self-signed certificates.
(although the hostname does not match the server certificate, but normally this can be ignored)
Using a SSH tunnel does not work either, same situation.
A normal SSH connection (username/pw) to the Raspberry work in Remmina.
### What is the expected correct behavior?
Have a VNC connection established (by using the local certificates on the Raspberry).
It works with TigerVNC (there I'm not prompted for any certificates, but only asked to ignore the hostname mismatch). It seems that Remmina is not taking into account the remote certificates and/or username/pw security is not enough?
## Remote System Description
Raspberry 4B, Raspi OS, Wayland mode, wayvnc
### Relevant logs and/or screenshots
The Remmina screen is simply a form to enter the certificates
## Debugging documentation
(DEBUG) - (remmina_protocol_widget_open_connection_real) - Opening connection
(DEBUG) - (remmina_plugin_vnc_init) - Disable smooth scrolling is set to 0
(DEBUG) - (remmina_plugin_vnc_init) - Adding GDK_SMOOTH_SCROLL_MASK
(DEBUG) - (remmina_protocol_widget_open_connection_real) - Have SSH
(DEBUG) - (remmina_protocol_widget_start_direct_tunnel) - SSH tunnel initialization…
(DEBUG) - (remmina_plugin_vnc_open_connection) - [2024-06-06T10:58:17.651298+02] - xxx - yyyy - Verbunden mit 192.168.www.zzz:5900 via VNC
(DEBUG) - (remmina_protocol_widget_start_direct_tunnel) - Calling remmina_public_get_server_port
(DEBUG) - (remmina_protocol_widget_start_direct_tunnel) - Calling remmina_public_get_server_port (tunnel)
(DEBUG) - (remmina_protocol_widget_start_direct_tunnel) - server: 192.168.www.zzz:, port: 5900
(DEBUG) - (remmina_plugin_vnc_main) - Color depth: 32
(DEBUG) - (remmina_plugin_vnc_update_quality) - Quality: 2
(DEBUG) - (remmina_plugin_vnc_update_quality) - Encodings: tight zrle ultra copyrect hextile zlib corre rre raw
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: colordepth = 32
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: format.depth = 24
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: format.bitsPerPixel = 32
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: format.blueShift = 0
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: format.redShift = 16
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: format.trueColour = 1
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: format.greenShift = 8
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: format.blueMax = 255
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: format.redMax = 255
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: format.greenMax = 255
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: format.bigEndian = 0
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: VNC server supports protocol version 3.8 (viewer 3.8)
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: We have 4 security types to read
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: 0) Received security type 19
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: Selecting security type 19 (0/4 in the list)
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: 1) Received security type 129
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: 2) Received security type 5
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: 3) Received security type 30
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: Selected Security Scheme 19
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: Got VeNCrypt version 0.2 from server.
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: We have 1 security types to read
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: 0) Received security type 262
(DEBUG) - (remmina_plugin_vnc_rfb_output) - VNC returned: Selecting security type 262
## Local System Description
* Client Mint 21
* Remmina version 1.4.35
* Installation(s):
- [ ] PPA.
- [ ] Snap.
- [X] Flatpak.
- [ ] Compiled from sources.
- [ ] Other - detail:
* Desktop environment: Cinnamon
* Plugin(s):
- [ ] RDP
- [X] VNC
- [ ] SSH
- [ ] SFTP
- [ ] SPICE
- [ ] WWW
- [ ] EXEC
- [ ] Other (please specify):
* GTK backend (Wayland, Xorg): Wayland
### Contributions
In return, or to fix this issue, I'd be willing to:
- [X] Fix this myself.
- [ ] [Donate](https://remmina.org/donations/) ___ and/or have donated ___ towards fixing it.
- [ ] Take a donation of ___ to fix it.
- [ ] Update the [documentation](https://remmina.gitlab.io/remminadoc.gitlab.io/md__c_o_n_t_r_i_b_u_t_i_n_g.html).
- [X] Update the [wiki](https://gitlab.com/Remmina/Remmina/-/wikis/home).
- [ ] Translate Remmina in my native language(s) (___) on [Hosted Weblate](https://hosted.weblate.org/projects/remmina/remmina/).
issue