Repository navigation
[BUG] flatpak can't run apps #394
Copy link
Copy link
Closed
Labels
work-in-progressStale exemptStale exempt
Description
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-xfceContainer 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 deniedReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
work-in-progressStale exemptStale exempt
Type
Projects
- StatusShow more project fieldsDone
Activity
github-actions commentedon Feb 28, 2026
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
thelamer commentedon Feb 28, 2026
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
thelamer commentedon Sep 24, 2026
We got steam implemented (you can just run
steamfrom 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.