Connection error: rdg_tls_connect:freerdp_set_last_error_ex ERRCONNECT_TLS_CONNECT_FAILED
Problem Description
I have been using remmina and/or xfreerdp to remote connect to my office computer for several years. xfreerdp/remmina worked successfully on Linux Mint 19.1, 19.3 and 20.2. To connect to my office computer, my company generates an rdp file on the fly that I usually open with remmina or xfreerdp with the following command:
xfreerdp <filename>.rdp /u:<myusername>
In my previous Linux Mint (20.2) installation I was using xfreerdp v:2.2.0/Remmina 1.4.2
When I upgraded my PC to Linux Mint 21 the command above (and even remmina) returns the following error message:
[ERROR][com.freerdp.core] - rdg_tls_connect:freerdp_set_last_error_ex ERRCONNECT_TLS_CONNECT_FAILED [0x00020008]
I searched on line and came across a forum where someone had the same problem:
https://ubuntuforums.org/showthread.php?t=2474812
I have another PC where I re-installed Linux Mint 20.2 and everything works fine with remmina v1.4.2 and xfreerdp v2.2.0. I therefore believe there the problem is with the client (not the server).
I would love to downgrade the software but there is no version 1.4.2 avaialabe for my linux distro
What is the expected correct behavior?
connect to the server
Remote System Description
- Server (OS name and version): Windows 10
Local System Description
-
Client (OS name and version): Linux Mint 21
-
Remmina version (
remmina --version
): 1.4.29 -
Installation(s):
-
Distribution package. -
PPA. -
Snap. -
Flatpak. -
Compiled from sources. -
Other - detail:
-
-
Desktop environment (GNOME, Unity, KDE, ..): Cinnamon
-
Plugin(s):
-
RDP - freerdp version ( xfreerdp --version
):This is FreeRDP version 2.9.0 (2.9.0)
-
VNC -
SSH -
SFTP -
SPICE -
WWW -
EXEC -
Other (please specify):
-
-
GTK back-end (Wayland, Xorg):
-
Optional: Include the output of the following commands at the end of this text:
remmina --full-version
** Message: 19:09:42.503: Remmina does not log all output statements. Turn on more verbose output by using "G_MESSAGES_DEBUG=all" as an environment variable.
More info available on the Remmina wiki at:
https://gitlab.com/Remmina/Remmina/-/wikis/Usage/Remmina-debugging
Load modules from /usr/lib/x86_64-linux-gnu/remmina/plugins
Remmina plugin glibsecret (type=Secret) has been registered, but is not yet initialized/activated. The initialization order is 2000.
The glibsecret secret plugin has been initialized and it will be your default secret plugin
org.remmina.Remmina - 1.4.29 (git n/a)
NAME TYPE DESCRIPTION PLUGIN AND LIBRARY VERSION
RDP Protocol RDP - Remote Desktop Protocol RDP plugin: 1.4.29 (Git n/a), Compiled with libfreerdp 2.9.0 (2.9.0), Running with libfreerdp 2.9.0 (rev 2.9.0), H.264 No
RDPF File RDP - RDP File Handler RDP plugin: 1.4.29 (Git n/a), Compiled with libfreerdp 2.9.0 (2.9.0), Running with libfreerdp 2.9.0 (rev 2.9.0), H.264 No
RDPS Preference RDP - Preferences RDP plugin: 1.4.29 (Git n/a), Compiled with libfreerdp 2.9.0 (2.9.0), Running with libfreerdp 2.9.0 (rev 2.9.0), H.264 No
SPICE Protocol SPICE - Simple Protocol for Independent Computing Environments 1.4.29
VNC Protocol Remmina VNC Plugin 1.4.29
VNCI Protocol Remmina VNC listener Plugin 1.4.29
glibsecret Secret Secured password storage in the GNOME keyring 1.4.29
Build configuration: HAVE_ARPA_INET_H=1 HAVE_ERRNO_H=1 HAVE_FCNTL_H=1 HAVE_NETDB_H=1 HAVE_NETINET_IN_H=1 HAVE_NETINET_TCP_H=1 HAVE_SYS_SOCKET_H=1 HAVE_SYS_UN_H=1 HAVE_TERMIOS_H=1 HAVE_UNISTD_H=1 WITH_AVAHI=ON WITH_CLEANUP=OFF WITH_GCRYPT=ON WITH_ICON_CACHE=ON WITH_IPP=OFF WITH_KF5WALLET=ON WITH_KIOSK_SESSION=ON WITH_LIBRARY_VERSIONING=ON WITH_MANPAGES=ON WITH_NEWS=ON WITH_PYTHONLIBS=ON WITH_SSE2=ON WITH_TRANSLATIONS=ON WITH_UPDATE_DESKTOP_DB=ON WITH_X2GO=ON
Build type: None
CFLAGS: -g -O2 -ffile-prefix-map=/build/remmina-gk7JOI/remmina-1.4.29+ppa202212201227.rfb19eb5f1.db77dd06a6~ubuntu22.04.1=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -g
Compiler: GNU, 11.3.0
Target architecture: x64
sudo lshw -C video
*-display
description: VGA compatible controller
product: HD Graphics 5500
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
resources: irq:49 memory:f6000000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
uname -a
5.15.0-56-generic
Contributions
In return, or to fix this issue, I'd be willing to:
-
Fix this myself. -
Donate ___ and/or have donated ___ towards fixing it. -
Take a donation of ___ to fix it. -
Update the documentation. -
Update the wiki. -
Translate Remmina in my native language(s) (___) on Hosted Weblate.