flutter-folio icon indicating copy to clipboard operation
flutter-folio copied to clipboard

error on snap store install on ubuntu 20.04

Open kpwebb opened this issue 3 years ago • 9 comments
trafficstars

Hi, I just tried installing Flutter Folio from the snap store on Ubuntu 20.04 and got this message after trying to launch from the command line:

** (flutter_folio:670521): WARNING **: 09:43:36.454: Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.869" is not allowed to own the service "com.gskinner.flutter_folio" due to AppArmor policy

kpwebb avatar Jan 07 '22 14:01 kpwebb

Same issue on Ubuntu 21.04:

sudo snap install flutter-folio
flutter-folio 

** (flutter_folio:74650): WARNING **: 10:32:58.648: Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.1021" is not allowed to own the service "com.gskinner.flutter_folio" due to AppArmor policy

jirigracik avatar Feb 04 '22 09:02 jirigracik

Same issue on Ubuntu 21.10.

Not looking great for Flutter desktop, when the main showcase application linked from https://flutter.dev/multi-platform/desktop fails to launch...

bjorn avatar May 19 '22 15:05 bjorn

same error on 22.04

enricod avatar Jul 29 '22 12:07 enricod

same error also 22.04:

** (flutter_folio:15184): WARNING **: 09:13:04.119: Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.217" is not allowed to own the service "com.gskinner.flutter_folio" due to AppArmor policy

nettsite avatar Sep 16 '22 07:09 nettsite

Same here. Just downloaded the example app and got this error. Doesn't really makes me want to start with Flutter :sweat_smile:

raphaelyancey avatar Jul 13 '23 14:07 raphaelyancey

Do this according to post on lxc forum [1] , ubuntu need make this smoother

sudo ln -s /var/lib/snapd/apparmor/profiles/snap.flutter-folio.flutter-folio /etc/apparmor.d/
sudo apt install apparmor-utils
sudo aa-complain snap.flutter-folio.flutter-folio
flutter-folio 

[1] https://discuss.linuxcontainers.org/t/gdbus-error-org-freedesktop-dbus-error-accessdenied-failed-to-query-apparmor-policy-permission-denied-tasksel-apt-get-failed-100/10154/6

abdulhadad avatar Sep 15 '23 09:09 abdulhadad

That worked.

nettsite avatar Sep 15 '23 09:09 nettsite

Do this according to post on lxc forum [1] , ubuntu need make this smoother

sudo ln -s /var/lib/snapd/apparmor/profiles/snap.flutter-folio.flutter-folio /etc/apparmor.d/
sudo apt install apparmor-utils
sudo aa-complain snap.flutter-folio.flutter-folio
flutter-folio 

[1] https://discuss.linuxcontainers.org/t/gdbus-error-org-freedesktop-dbus-error-accessdenied-failed-to-query-apparmor-policy-permission-denied-tasksel-apt-get-failed-100/10154/6

All I get after following this then trying to run flutter-folio is this..

image

fatriff avatar Dec 01 '23 10:12 fatriff