Remmina - remote desktop program loses my login passwords every time new version of snap is installed

Remmina remote desktop program installed from snap is working fine, excellent (better then default deb package I have had some problems with), but every time new version of snap is installed I lose passwords and all of the settings (like remembering “Grab keyboard events” setting etc).

Today it was specially annoying. I was in the middle of the crisis. Disconnected RDP connection for the moment and reconnected and suddenly in the middle of the crisis I have no passwords for RDB connection and when I have copied it from password manager I see lost settings like “Grab keyboard events”.

Two questions:

  1. How to fix the problem Remmina to remember my RDP passwords and settings?
  2. Is there a way to stop automatic update for this particular snap? I want to update it when I have time to solve this kind of nagging problems and not in the middle of rush hours.

Remmina settings from Ubuntu Store:
remmina

It happened again. Remmina snap updated yesterday and now I have lost my saved password again. Any idea how to store them permanently (to retain them after ‘snap refresh’)?

Would you mind showing the content of the .desktop file that launches Remmina-snap ?

It’s probably inside /var/lib/snapd/desktop/applications/ and named remmina_remmina.desktop

I guess the newer version does not target the right place for accessing your passwords, or the passwords are not moved accordingly towards the new version.

Did you post a picture in the message above ? I can’t see it. Might be interesting to check « permissions » for Remmina-snap

snap connections remmina

you should find things like removable-media, home, network, desktop… amongst others.

The picture in my first post of this thread strangely appears white not… some issue with the forum (because it was fine when I uploaded it). I am attaching Permissions dialog from Ubuntu Store for Remmina app:

snap connections remmina

Interface                 Plug                              Slot                             Notes
alsa                      remmina:alsa                      -                                -
audio-playback            remmina:audio-playback            :audio-playback                  -
audio-record              remmina:audio-record              :audio-record                    manual
avahi-observe             remmina:avahi-observe             :avahi-observe                   -
browser-support           remmina:browser-support           :browser-support                 -
content[gnome-3-34-1804]  remmina:gnome-3-34-1804           gnome-3-34-1804:gnome-3-34-1804  -
content[gtk-3-themes]     remmina:gtk-3-themes              gtk-common-themes:gtk-3-themes   -
content[icon-themes]      remmina:icon-themes               gtk-common-themes:icon-themes    -
content[sound-themes]     remmina:sound-themes              gtk-common-themes:sound-themes   -
cups-control              remmina:cups-control              :cups-control                    manual
dbus                      -                                 remmina:remmina-gapp             -
desktop                   remmina:desktop                   :desktop                         -
desktop-legacy            remmina:desktop-legacy            :desktop-legacy                  -
gsettings                 remmina:gsettings                 :gsettings                       -
home                      remmina:home                      :home                            -
media-hub                 remmina:media-hub                 -                                -
mount-observe             remmina:mount-observe             :mount-observe                   -
network                   remmina:network                   :network                         -
network-bind              remmina:network-bind              :network-bind                    -
opengl                    remmina:opengl                    :opengl                          -
optical-drive             remmina:optical-drive             :optical-drive                   -
password-manager-service  remmina:password-manager-service  :password-manager-service        manual
raw-usb                   remmina:raw-usb                   -                                -
removable-media           remmina:removable-media           -                                -
screen-inhibit-control    remmina:screen-inhibit-control    :screen-inhibit-control          -
ssh-keys                  remmina:ssh-keys                  -                                -
ssh-public-keys           remmina:ssh-public-keys           -                                -
unity7                    remmina:unity7                    :unity7                          -
wayland                   remmina:wayland                   :wayland                         -
x11                       remmina:x11                       :x11                             -

Click to expand desktop file.

/var/lib/snapd/desktop/applications/remmina_remmina.desktop

[Desktop Entry]
X-SnapInstanceName=remmina
Version=1.0
Name=Remmina
Name[ca]=Remmina
Name[cs]=Remmina
Name[da]=Remmina
Name[de]=Remmina
Name[el]=Remmina
Name[es]=Remmina
Name[eu]=Remmina
Name[fr]=Remmina
Name[hu]=Remmina
Name[it]=Remmina
Name[lt]=Remmina
Name[nl]=Remmina
Name[pl]=Remmina
Name[pt_BR]=Remmina
Name[pt_PT]=Remmina
Name[ru]=Remmina
Name[tr]=Remmina
Name[uk]=Remmina
Name[zh_CN]=Remmina
GenericName=Remote Desktop Client
GenericName[ca]=Client d’escriptori remot
GenericName[cs]=Klient vzdálené pracovní plochy
GenericName[da]=Fjernskrivebordsklient
GenericName[de]=Verbindung zu Fremdrechnern
GenericName[el]=Πελάτης απομακρυσμένης επιφάνειας εργασίας
GenericName[es]=Cliente de escritorio remoto
GenericName[eu]=Urruneko mahaigainaren bezeroa
GenericName[fr]=Afficheur de bureau distant
GenericName[hu]=Távoli asztal kliens
GenericName[it]=Client per connessione a desktop remoto
GenericName[lt]=Nutolusio darbastalio klientas
GenericName[nl]=Client voor verbinding met extern bureaublad
GenericName[pl]=Klient zdalnego pulpitu
GenericName[pt_BR]=Cliente de área de trabalho remota
GenericName[pt_PT]=Cliente de ambiente de trabalho remoto
GenericName[ru]=Клиент удалённого доступа к рабочему столу
GenericName[tr]=Uzak Masaüstü İstemcisi
GenericName[uk]=Клієнт з’єднання з віддаленою стільницею
GenericName[zh_CN]=远程桌面客户端
Comment=Connect to remote desktops
Comment[bg]=Свързване към отдалечени компютри
Comment[ca]=Connecteu-vos a escriptoris remots
Comment[cs]=Připojení ke vzdáleným plochám
Comment[da]=Opret forbindelse til fjernskriveborde
Comment[de]=Zu entfernten Arbeitsflächen verbinden
Comment[el]=Συνδεθείτε σε απομακρυσμένους υπολογιστές
Comment[es]=Conectarse a escritorios remotos
Comment[eu]=Konektatu urruneko mahaigainekin
Comment[fr]=Connectez-vous à des bureaux distants
Comment[hu]=Kapcsolódás távoli asztalhoz
Comment[id]=Mengakses remote desktop
Comment[it]=Connessione a desktop remoti
Comment[kk]=Қашықтаған жұмыс үстелдерге қосылу
Comment[lt]=Jungtis prie nutolusių kompiuterių
Comment[nl]=Verbinding maken met bureaubladen op afstand
Comment[pl]=Łączy ze zdalnymi pulpitami
Comment[pt_BR]=Conecte-se a áreas de trabalho remotas
Comment[pt_PT]=Estabelecer ligação com computadores remotos
Comment[ru]=Подключение к удалённым рабочим столам
Comment[sk]=Pripojenie k vzdialeným pracovným plochám
Comment[sv]=Anslut till fjärrskrivbord
Comment[th]=เชื่อมต่อไปยังพื้นโต๊ะระยะไกล
Comment[tr]=Uzak masaüstlerine bağlan
Comment[uk]=З’єднатися із віддаленим комп’ютером
Comment[zh_CN]=连接到远程桌面
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/remmina_remmina.desktop /snap/bin/remmina %U
Icon=snap.remmina.org.remmina.Remmina
Terminal=false
Type=Application
Categories=GTK;GNOME;X-GNOME-NetworkSettings;Network;
Keywords=remote desktop;rdp;vnc;nx;ssh;spice;xdmcp;
StartupWMClass=org.remmina.Remmina
MimeType=x-scheme-handler/rdp;x-scheme-handler/spice;x-scheme-handler/vnc;x-scheme-handler/ssh;x-scheme-handler/remmina;application/x-remmina;
Actions=Kiosk;Profile;Tray;Quit;

[Desktop Action Profile]
Name=Create a New Connection Profile
Name[ca]=Crea un perfil de connexió nou
Name[cs]=Vytvořit nový profil připojení
Name[da]=Opret en ny forbindelsesprofil
Name[de]=Ein neues Verbindungsprofil erstellen
Name[el]=Δημιουργία νέου προφίλ σύνδεσης
Name[es]=Crear un perfil de conexión nuevo
Name[eu]=Sortu konexio profil berri bat
Name[fr]=Créer un nouveau profil de connexion
Name[hu]=Új kapcsolatprofil létrehozása
Name[it]=Crea un nuovo profilo di connessione
Name[lt]=Sukurti naują prisijungimo profilį
Name[nl]=Een nieuw verbindingsprofiel aanmaken
Name[pt_BR]=Criar um novo perfil de conexão
Name[pt_PT]=Criar um Novo Perfil de Ligação
Name[ru]=Создать профиль нового соединения
Name[sk]=Vytvoriť nový profil pripojenia
Name[sv]=Skapa en ny anslutningsprofil
Name[tr]=Yeni Bir Bağlantı Profili Oluştur
Name[uk]=Створити новий профіль з’єднання
Name[zh_CN]=新建连接配置
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/remmina_remmina.desktop /snap/bin/remmina --new

[Desktop Action Kiosk]
Name=Start Remmina in Kiosk mode
Name[da]=Start Remmina i kiosk-tilstand
Name[fr]=Démarrer Remmina en mode Kiosque
Name[it]=Avvia Remmina in modo Chiosco
Name[uk]=Запустити Remmina у режимі кіоску
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/remmina_remmina.desktop /snap/bin/remmina --kiosk

[Desktop Action Tray]
Name=Start Remmina Minimized
Name[ca]=Inicia el Remmina minimitzat
Name[cs]=Spustit Remmina minimalizované
Name[da]=Start Remmina minimeret
Name[de]=Reminna minimiert starten
Name[el]=Έναρξη του Remmina ελαχιστοποιημένου
Name[es]=Iniciar Remmina minimizado
Name[eu]=Abiatu Remmina minimizatuta
Name[fr]=Démarrer Remmina en mode réduit
Name[hu]=Remmina indítása minimalizálva
Name[it]=Avvia Remmina minimizzato
Name[lt]=Paleisti Remmina suskleistą
Name[nl]=Remmina geminimaliseerd starten
Name[pt_BR]=Iniciar Remmina minimizado
Name[pt_PT]=Iniciar o Remmina Minimizado
Name[ru]=Сворачивать Remmina после запуска
Name[sk]=Spustiť program Remmina minimalizovaný
Name[sv]=Starta Remmina minimerat
Name[tr]=Remmina’yı Küçültülmüş Başlat
Name[uk]=Запустити Remmina у системному лотку
Name[zh_CN]=启动后自动最小化
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/remmina_remmina.desktop /snap/bin/remmina --icon

[Desktop Action Quit]
Name=Quit
Name[uk]=Вийти
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/remmina_remmina.desktop /snap/bin/remmina --quit

Remmina is packaged by the Remmina project. You should file bugs with Remmina in their issue tracker: https://gitlab.com/Remmina/Remmina/issues

Is your /home/$USER folder on a different partition than root system / partition ?

If so you also need to enable Read/Write files on removable devices

If using ssh over vnc or ssh tunneling you may also need to enable ssh-publick-keys; allow reading ssh public keys and non sensitive configuration

By design a snap can’t access anything else than /home, /media, /mnt and /run/media given you have granted it Read/Write files on removable devices interface.

One day maybe, snap app’s will invite users to manage those interfaces at first launch…

No.

I am not using this two types. I use usual RDP to Windows and usual SSH directly to Linux server.

Ok.

Where / how Remmina stores and manages needed passwords ? Might worth reaching Remmina’s team as suggested by @daniel

From official Remmina web site for snap package: "If you run into issues, try something else first, and then report the issues.

It looks Remmina’s snap package is second citizen. :frowning:

Quoting :

The Snap subsystem has limitations, so some features, for example password storage via keyring is missing and must be fixed manually:

sudo snap connect remmina:avahi-observe :avahi-observe # servers discovery
sudo snap connect remmina:cups-control :cups-control # printing
sudo snap connect remmina:mount-observe :mount-observe # mount management
sudo snap connect remmina:password-manager-service :password-manager-service # password manager

Some features just don’t work on Snap, for example accessing your personal ~/.ssh directory is not possible. You have to manually copy your ~/.ssh/* files to ~/snap/remmina/common/.ssh/

…it seems you had already checked all these.

Did you try … something else ? You said .deb was not ok for you but what about flatpak ?

This page is probably more up to date about Remmina issues :

https://gitlab.com/Remmina/Remmina/-/issues