Score:0

Remmina : unable to save new connections and passwords

jp flag

Regularly, my Remmina client (installed with snap) doesn't save new connections or new passwords. I can create a new connection, then click on "Save and connect" button, but the connection isn't saved. Same thing for passwords when opening an existing connection and Remmina ask to change the password because the current one is refused. When the situation occurs, I have to completely remove the reinstall Reminna.

When running Remmina in a console, I can see the following log when saving a new connection:

** (org.remmina.Remmina:17885): WARNING **: 10:56:45.474: Remmina connection profile cannot be saved, with error 2 (Failed to create file “/home/name/snap/remmina/5070/.local/share/remmina/my_full_connection_name.remmina.PZDBB1”: Permission denied)

The mode of /home/name/snap/remmina/5070/.local/share/remmina is drwxr-x--- and the owner is my user name:name.

I insist that Remmina works perfectly when I just installed it. The problem occurs after a certain time. I didn't notice a particular situation when the problem starts to occur.

How can I debug this behavior ?

EDIT:

Some logs when the error occurs:

# /var/log/kern.log
Oct 19 11:23:23 computerName kernel: [10787.678913] audit: type=1400 audit(1634635403.159:346): apparmor="DENIED" operation="mknod" profile="snap.remmina.remmina" name="/home/name/snap/remmina/5070/.local/share/remmina/my_full_connection_name.remmina.PZDBB1" pid=17885 comm="remmina" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
# /var/log/syslog
Oct 19 11:23:23 computerName kernel: [10787.678913] audit: type=1400 audit(1634635403.159:346): apparmor="DENIED" operation="mknod" profile="snap.remmina.remmina" name="/home/name/snap/remmina/5070/.local/share/remmina/my_full_connection_name.remmina.PZDBB1" pid=17885 comm="remmina" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
Oct 19 11:23:23 computerName [email protected][2321]: remmina-icon, Impossible to lookup icon for 'org.remmina.Remmina-status-panel' in path /home/name/snap/remmina/5071/.local/share/icons
Oct 19 11:23:23 computerName [email protected][2321]: unable to update icon for remmina-icon
muru avatar
us flag
Have you seen https://gitlab.com/Remmina/Remmina/-/issues/1404#note_82829331?
Antoine avatar
jp flag
Yes @muru, and Remmina ask to run this command at first start, so it seems not to be the problem here. I edit my question to provide a log.
muru avatar
us flag
Are there are any Remmina-related messages from AppArmor in the system log?
Antoine avatar
jp flag
I edited to add some logs I found.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.