Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on snap store install on ubuntu 20.04 #67

Open
kpwebb opened this issue Jan 7, 2022 · 9 comments
Open

error on snap store install on ubuntu 20.04 #67

kpwebb opened this issue Jan 7, 2022 · 9 comments

Comments

@kpwebb
Copy link

kpwebb commented Jan 7, 2022

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

@jirigracik
Copy link

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

@bjorn
Copy link

bjorn commented May 19, 2022

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...

@enricod
Copy link

enricod commented Jul 29, 2022

same error on 22.04

@nettsite
Copy link

nettsite commented Sep 16, 2022

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

@raphaelyancey
Copy link

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

@abdulhadad
Copy link

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

@nettsite
Copy link

That worked.

@fatriff
Copy link

fatriff commented Dec 1, 2023

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

@co-stig
Copy link

co-stig commented Oct 3, 2024

Same BadAlloc error here, 10 month later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants