Skip to content

[BUG] flatpak can't run apps #394

@slpcat

Description

@slpcat

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

flatpak can't run apps

Expected Behavior

No response

Steps To Reproduce

in docker run as root:
apt-get update && apt-get install -y flatpak && flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

flatpak install -y flathub io.github.ungoogled_software.ungoogled_chromium
run as user:
flatpak run io.github.ungoogled_software.ungoogled_chromium

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

docker run -d \
  --name=webtop \
  --restart=always \
  --privileged `#for flatpak` \
  --cap-add=SYS_ADMIN \
  --cap-add=SYS_NICE \
  --cap-add=SYS_PTRACE \
  --cap-add=SETUID \
  --cap-add=SETGID \
  --security-opt apparmor=unconfined \
  --security-opt seccomp=unconfined \
  --shm-size="1gb" `#optional` \
  --device /dev/fuse:/dev/fuse `#optional` \
  --device /dev/dri:/dev/dri `#optional` \
  --device /dev/kvm:/dev/kvm `#optional` \
  --device /dev/uinput:/dev/uinput \
  -p 7070:7070 `#optional anydesk`\
  -p 47984-47990:47984-47990/tcp `#sunshine`\
  -p 48010:48010 `#sunshine`\
  -p 47998-48000:47998-48000/udp `#sunshine`\
  -v /sys/fs/cgroup:/sys/fs/cgroup \
  -e PUID=2000 \
  -e PGID=2000 \
  -e TZ=Etc/UTC \
  -p 3000:3000 \
  -p 3001:3001 \
  -v /data/webtop-config:/config \
  -v /data/webtop-docker:/var/lib/docker \
lscr.io/linuxserver/webtop:ubuntu-xfce

Container logs

dbus-daemon[347]: [system] Activating service name='org.freedesktop.Accounts' requested by ':1.49' (uid=2000 pid=5525 comm="flatpak run io.github.ungoogled_software.ungoogled" label="flatpak (unconfined)") (using servicehelper)
dbus-daemon[347]: [system] Activated service 'org.freedesktop.Accounts' failed: Failed to execute program org.freedesktop.Accounts: Permission denied
dbus-daemon[347]: [system] Activating service name='org.freedesktop.Accounts' requested by ':1.50' (uid=2000 pid=5547 comm="flatpak run io.github.ungoogled_software.ungoogled" label="flatpak (unconfined)") (using servicehelper)
dbus-daemon[347]: [system] Activated service 'org.freedesktop.Accounts' failed: Failed to execute program org.freedesktop.Accounts: Permission denied

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions