Remmina not connecting using rdp nor rdp through rds gateway

I’m attempting to connect to a windows RDS environment through a rds gateway using remmina.

I am getting the error ‘Lost connection to RDP server “myserverFQDN”’

when I run logs at standard output I get the following in the terminal:

Gtk-WARNING **: 14:03:51.205: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem
[14:04:09:983] [162492:162511] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006]
[14:04:09:983] [162492:162511] [ERROR][com.freerdp.core] - failed to connect to “myserverFQDN”

if I run this in TRACE:
[14:04:09:983] [162492:162511] [ERROR][com.freerdp.core] - failed to connect to “myserverFQDN”
[14:06:56:834] [162492:162691] [DEBUG][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[14:06:56:834] [162492:162691] [DEBUG][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[14:06:56:834] [162492:162691] [DEBUG][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[14:06:56:834] [162492:162691] [DEBUG][com.freerdp.channels.cliprdr.client] - VirtualChannelEntryEx
[14:06:56:834] [162492:162691] [DEBUG][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[14:06:56:834] [162492:162691] [DEBUG][com.freerdp.channels.drdynvc.client] - VirtualChannelEntryEx
[14:06:56:834] [162492:162691] [DEBUG][com.freerdp.client.common.cmdline] - loading channelEx drdynvc
[14:06:56:836] [162492:162691] [TRACE][com.freerdp.codec] - 4 - [OpenH264] this = 0x0x7f5ac4363ff0, Info:CWelsDecoder::SetOption():DECODER_OPTION_TRACE_CALLBACK callback = 0x7f5af1138b20.
[14:06:56:836] [162492:162691] [DEBUG][com.freerdp.core.nego] - Enabling security layer negotiation: TRUE
[14:06:56:836] [162492:162691] [DEBUG][com.freerdp.core.nego] - Enabling restricted admin mode: FALSE
[14:06:56:836] [162492:162691] [DEBUG][com.freerdp.core.nego] - Enabling RDP security: TRUE
[14:06:56:836] [162492:162691] [DEBUG][com.freerdp.core.nego] - Enabling TLS security: TRUE
[14:06:56:836] [162492:162691] [DEBUG][com.freerdp.core.nego] - Enabling NLA security: TRUE
[14:06:56:836] [162492:162691] [DEBUG][com.freerdp.core.nego] - Enabling NLA extended security: FALSE
[14:06:56:836] [162492:162691] [DEBUG][com.freerdp.core.connection] - rdp_client_transition_to_state CONNECTION_STATE_INITIAL → CONNECTION_STATE_NEGO
[14:06:56:836] [162492:162691] [DEBUG][com.freerdp.core.nego] - state: NEGO_STATE_NLA
[14:06:56:836] [162492:162691] [DEBUG][com.freerdp.core.nego] - Attempting NLA security
[14:06:56:841] [162492:162691] [DEBUG][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[14:06:56:843] [162492:162691] [DEBUG][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:06:56:843] [162492:162691] [DEBUG][com.freerdp.core] - connecting to peer xxx.xxx.xxx.xxx
[14:07:11:852] [162492:162691] [ERROR][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_FAILED [0x00020006]
[14:07:11:852] [162492:162691] [ERROR][com.freerdp.core] - failed to connect to gw.mrt.support
[14:07:11:853] [162492:162691] [DEBUG][com.freerdp.core.connection] - rdp_client_transition_to_state CONNECTION_STATE_NEGO → CONNECTION_STATE_INITIAL
[14:07:11:853] [162492:162691] [TRACE][com.freerdp.codec] - 4 - [OpenH264] this = 0x0x7f5ac4363ff0, Info:CWelsDecoder::UninitDecoderCtx(), openh264 codec version = .
[14:07:11:853] [162492:162691] [TRACE][com.freerdp.codec] - 4 - [OpenH264] this = 0x0x7f5ac4363ff0, Info:CWelsDecoder::UninitDecoder(), verify memory usage (0 bytes) after free…
[14:07:11:853] [162492:162691] [TRACE][com.freerdp.codec] - 4 - [OpenH264] this = 0x0x7f5ac4363ff0, Info:CWelsDecoder::~CWelsDecoder()

I’ve tried manually setting each security protocol: RDP, TLS, NLA, NLA extended without success.

I’ve tried to import a working " .rdp" file from windows and no success.

I’ve updated freeRDP from ver 2.6.0 to 2.10.0 and everything else is latest:

remmina --full-version
** Message: 13:51:48.718: 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:

Load modules from /nix/store/lgcy2rir2v4ygk9zs9hh4qidyrzw206r-remmina-1.4.30/lib/remmina/plugins
Remmina plugin kwallet (type=Secret) has been registered, but is not yet initialized/activated. The initialization order is 1000.
Remmina plugin glibsecret (type=Secret) has been registered, but is not yet initialized/activated. The initialization order is 2000.
[glibsecret] unable to get secret service: Error calling StartServiceByName for org.freedesktop.secrets: Process org.freedesktop.secrets exited with status 1

org.remmina.Remmina - 1.4.30 (git n/a)

NAME TYPE DESCRIPTION PLUGIN AND LIBRARY VERSION
EXEC Protocol Execute a command 1.0
Python Wrapper Language WrapperEnables Python plugins for Remmina Python Wrapper for Remmina v0.1
RDP Protocol RDP - Remote Desktop Protocol RDP plugin: 1.4.30 (Git n/a), Compiled with libfreerdp 2.10.0 (2.10.0), Running with libfreerdp 2.10.0 (rev 2.10.0), H.264 Yes
RDPF File RDP - RDP File Handler RDP plugin: 1.4.30 (Git n/a), Compiled with libfreerdp 2.10.0 (2.10.0), Running with libfreerdp 2.10.0 (rev 2.10.0), H.264 Yes
RDPS Preference RDP - Preferences RDP plugin: 1.4.30 (Git n/a), Compiled with libfreerdp 2.10.0 (2.10.0), Running with libfreerdp 2.10.0 (rev 2.10.0), H.264 Yes
SPICE Protocol SPICE - Simple Protocol for Independent Computing Environments 1.4.30
VNC Protocol Remmina VNC Plugin 1.4.30
VNCI Protocol Remmina VNC listener Plugin 1.4.30
WWW Protocol Remmina web-browser plugin 0.1.0
glibsecret Secret Secured password storage in the GNOME keyring 1.4.30
kwallet Secret Secured password storage in KWallet 1.4.30

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=OFF WITH_CLEANUP=OFF WITH_GCRYPT=ON WITH_ICON_CACHE=ON WITH_IPP=OFF WITH_KF5WALLET=ON WITH_LIBRARY_VERSIONING=ON WITH_LIBSECRET=ON WITH_MANPAGES=ON WITH_SSE2=ON WITH_TELEPATHY=OFF WITH_TRANSLATIONS=ON WITH_UPDATE_DESKTOP_DB=ON WITH_VTE=ON
Build type: Release
CFLAGS: -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wimplicit-function-declaration -Wredundant-decls
Compiler: GNU, 12.2.0
Target architecture: x64

I’m brand new to NixOS, and I don’t know what to do to fix this. FYI I did try xfreerdp from command line and it complained of a security protocol mismatch.

Again I’ve also tried to connect to a local windows RDP instance and ran into the same issue.

Any ideas?