I've been impacted by this issue as well after upgrading from 24.10.

I've tried to disable the apparmor profile for remmina but was then
greeted with an error message indicating it fails to query the profile
from AppArmor.

$ sudo aa-disable remmina
Disabling /etc/apparmor.d/remmina
$ remmina
remmina-Message: 12:18:32.340: Remmina does not log all output statements. Turn 
on more verbose output by using "G_MESSAGES_DEBUG=remmina" as an environment 
variable.
More info available on the Remmina wiki at:
https://gitlab.com/Remmina/Remmina/-/wikis/Usage/Remmina-debugging
Failed to register: GDBus.Error:org.freedesktop.DBus.Error.FileNotFound: Failed 
to query AppArmor policy: No such file or directory


In the end, as a workaround adding these two lines in /etc/apparmor.d/remmina 
allowed me to launch remmina successfully :
  dbus (receive) bus=session path="/org/remmina/Remmina" 
interface="org.gtk.Actions" member=DescribeAll peer=(label="remmina"),
  dbus (receive) bus=session path="/org/remmina/Remmina" 
interface="org.gtk.Application" member=CommandLine peer=(label="remmina"),



This was determined through these error messages in journalctl :
# First issue
May 01 12:22:26 sugo-ryzen dbus-daemon[7313]: apparmor="DENIED" 
operation="dbus_method_call"  bus="session" path="/org/remmina/Remmina" 
interface="org.gtk.Actions" member="DescribeAll" name=":1.185" mask="receive" 
pid=7960 label="remmina" peer_pid=34808 peer_label="remmina"

# Second issue
May 01 12:22:51 sugo-ryzen dbus-daemon[7313]: apparmor="DENIED" 
operation="dbus_method_call"  bus="session" path="/org/remmina/Remmina" 
interface="org.gtk.Application" member="CommandLine" name=":1.186" 
mask="receive" pid=7960 label="remmina" peer_pid=34876 peer_label="remmina"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2102033

Title:
  remmina blocked by apparmor in Plucky

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2102033/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to