Skip to content

[BUG] flatpak can't run apps #394

Closed
Closed

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

Activity

  1. github-actions commented on Feb 28, 2026

    @github-actions

    Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

  2. thelamer commented on Feb 28, 2026

    @thelamer
    Member

    GOW has flatpak figured out, I generally do not like to give containers perms.

    I am open to advice here

    https://github.com/games-on-whales/gow/tree/master/apps/xfce

  3. self-assigned this
    on Mar 10, 2026
  4. thelamer commented on Sep 24, 2026

    @thelamer
    Member

    We got steam implemented (you can just run steam from the console of any container regardless of host permissions) and through that tried flatpak, but it heavily leverages FUSE and it is not something we can do in userspace. In general we want to only ever have a user mount a GPU into the images. Flatpak will likely never be supported in webtop and proot-apps has expanded to have nvidia support now so that gap is closed.

  5. moved this from Issues to Done in Issue & PR Trackeron Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions