flathub / org.remmina.Remmina

https://flathub.org/apps/details/org.remmina.Remmina
9 stars 11 forks source link

version 1.4.13 not able to use RDP plugin #47

Open sgivan opened 3 years ago

sgivan commented 3 years ago

Hi,

I can't seem to use the RDP plugin. I see that this has been a recurring problem. For me, this is occurring when I install Remmina with either Fedora dnf or flatpak.

$ flatpak info org.remmina.Remmina

Remmina - Remote Desktop Client

          ID: org.remmina.Remmina
         Ref: app/org.remmina.Remmina/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.4.13
     License: GPL-2.0+
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 16.1 MB
     Runtime: org.gnome.Platform/x86_64/3.38
         Sdk: org.gnome.Sdk/x86_64/3.38

      Commit: 7a330299bc771dcb834f02cf4118c8a1171036db26f99883af61d166810e1a7f
      Parent: b9378eb678bd13dd48bade1c26fe9b9619124503d9b6a86847466c721da4c460
     Subject: Reverting commit 621ae0c7cf17e4e5fc20841a66817c7b8aa84947 (32c94873)
        Date: 2021-04-01 12:35:42 +0000

I don't get an error associated with the RDP plugin upon startup:

$ flatpak run org.remmina.Remmina
Load modules from /app/lib/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

However, when I try to open an RDP connection, a window pops up saying that I need to install the RDP plugin first. And the RDP plugin is not listed when I open the Plugins menu.

It looks like the plugin is installed:

$ locate remmina-plugin-rdp.so
/var/lib/flatpak/app/org.remmina.Remmina/x86_64/stable/7a330299bc771dcb834f02cf4118c8a1171036db26f99883af61d166810e1a7f/files/lib/remmina/plugins/remmina-plugin-rdp.so
$ flatpak run org.remmina.Remmina --full-version
Load modules from /app/lib/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.13 (git v1.4.13)

NAME                TYPE            DESCRIPTION                                                     PLUGIN AND LIBRARY VERSION
EXEC                Protocol        Execute a command                                               1.0       
NX                  Protocol        NX - NX Technology                                              1.4.13    
RDP                 Protocol        RDP - Remote Desktop Protocol                                   RDP plugin: 1.4.13 (Git v1.4.13), Compiled with libfreerdp 2.3.1 (2.3.1), Running with libfreerdp 2.3.1 (rev 2.3.1), H.264 Yes
RDPF                File            RDP - RDP File Handler                                          RDP plugin: 1.4.13 (Git v1.4.13), Compiled with libfreerdp 2.3.1 (2.3.1), Running with libfreerdp 2.3.1 (rev 2.3.1), H.264 Yes
RDPS                Preference      RDP - Preferences                                               RDP plugin: 1.4.13 (Git v1.4.13), Compiled with libfreerdp 2.3.1 (2.3.1), Running with libfreerdp 2.3.1 (rev 2.3.1), H.264 Yes
SPICE               Protocol        SPICE - Simple Protocol for Independent Computing Environments  1.4.13    
ST                  Protocol        Remmina simple terminal                                         1.0.0.0   
VNC                 Protocol        Remmina VNC Plugin                                              1.4.13    
VNCI                Protocol        Remmina VNC listener Plugin                                     1.4.13    
WWW                 Protocol        Remmina web-browser plugin                                      0.1.0     
XDMCP               Protocol        XDMCP - X Remote Session                                        1.4.13    
glibsecret          Secret          Secured password storage in the GNOME keyring                   1.4.13    

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_FREERDP3=OFF WITH_GCRYPT=ON WITH_ICON_CACHE=ON WITH_IPP=OFF WITH_LIBRARY_VERSIONING=ON WITH_MANPAGES=OFF WITH_NEWS=ON WITH_SSE2=ON WITH_TRANSLATIONS=ON WITH_UPDATE_DESKTOP_DB=ON
Build type:          Release
CFLAGS:              -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wimplicit-function-declaration -Wredundant-decls
Compiler:            GNU, 10.2.0
Target architecture: x64
antenore commented 3 years ago

Just tested, and it works for me, try to remove it completely and reinstall

sgivan commented 3 years ago

Thanks for testing this. Yes, I've removed and reinstalled Remmina multiple times using both dnf and flatpak. I'm on Fedora 33. I've been using Remmina for years. It stopped working two days ago on my system after dnf updated to 1.4.13, which was part of a larger system update.

I just used dnf to rollback to Remmina 1.4.8 and it doesn't work now, whereas it worked before the system update. So, the problem I'm seeing must be due to a different package that updated.

antenore commented 3 years ago

Some stuff to check

rpm -qa | grep remmina

Be sure there's only one version installed and that you have the needed plugins:

remmina.x86_64 : Remote Desktop Client
remmina-plugins-exec.x86_64 : External execution plugin for Remmina Remote Desktop Client
remmina-plugins-kwallet.x86_64 : KDE Wallet plugin for Remmina Remote Desktop Client
remmina-plugins-nx.x86_64 : NX plugin for Remmina Remote Desktop Client
remmina-plugins-rdp.x86_64 : RDP plugin for Remmina Remote Desktop Client
remmina-plugins-secret.x86_64 : Keyring integration for Remmina Remote Desktop Client
remmina-plugins-spice.x86_64 : SPICE plugin for Remmina Remote Desktop Client
remmina-plugins-st.x86_64 : Simple Terminal plugin for Remmina Remote Desktop Client
remmina-plugins-vnc.x86_64 : VNC plugin for Remmina Remote Desktop Client
remmina-plugins-www.x86_64 : WWW plugin for Remmina Remote Desktop Client
remmina-plugins-xdmcp.x86_64 : XDMCP plugin for Remmina Remote Desktop Client

The flatpak should work out of the box except if you have a running remmina session, so in that case:

ps -ef | grep remmina
# If there's a running remmina that you were not expecting, kill it
pkill remmina

Hope it helps