View previous topic :: View next topic |
Author |
Message |
Punchcutter Guru
Joined: 11 Feb 2007 Posts: 362
|
Posted: Wed Dec 11, 2024 4:32 am Post subject: Can't run Brave browser as a flatpak |
|
|
Hi.... I've been wanting to use Brave, and rather than deal with overlays, I thought I would try to run it out of a flatpak, which would also be a good intro to using flatpaks for me.
I've got flatpak installed and Brave installed within, but getting a dbus-related error when I try to execute: Code: | $ flatpak run com.brave.Browser
Failed to initialize (is the Flatpak D-Bus portal working?): Failed to get portal proxy: Failed to execute child process “dbus-launch” (No such file or directory) |
Can anyone give me a hint what's wrong here?
Code: | $ ps -ef | grep dbus
message+ 1305 1 0 13:51 ? 00:00:00 /usr/bin/dbus-daemon --system
me 2314 1 0 14:55 ? 00:00:00 dbus-launch --autolaunch 178ffbac00da6fbd71fcf7c565e7c925 --binary-syntax --close-stderr
me 2315 1 0 14:55 ? 00:00:00 /usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
me 2377 2371 0 14:55 ? 00:00:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 11 --address=unix:path=/run/user/1000/at-spi/bus_0
me 3747 5407 0 21:22 pts/3 00:00:00 grep --color=auto dbus |
I'm running xorg with just iceWM, starting with startx - very simple environment. My whole system is USE="-systemd". Thanks. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3925
|
Posted: Wed Dec 11, 2024 7:43 pm Post subject: |
|
|
What is the output of
Code: |
USE="X elogind policykit" emerge -pv sys-apps/dbus flatpak
|
? _________________
|
|
Back to top |
|
|
Punchcutter Guru
Joined: 11 Feb 2007 Posts: 362
|
Posted: Wed Dec 11, 2024 7:54 pm Post subject: |
|
|
Thanks...
Code: | $ USE="X elogind policykit" emerge -pv sys-apps/dbus flatpak
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 2.88 s (backtrack: 0/20).
[ebuild R ] sys-apps/dbus-1.15.8::gentoo USE="X elogind -debug -doc (-selinux) -static-libs -systemd -test -valgrind" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild R ] sys-apps/flatpak-1.14.10::gentoo USE="X policykit seccomp -doc -introspection -systemd" 0 KiB
Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB |
Elogind is installed and the daemon is running. |
|
Back to top |
|
|
Punchcutter Guru
Joined: 11 Feb 2007 Posts: 362
|
Posted: Thu Dec 12, 2024 4:19 am Post subject: |
|
|
A new bit of information that might shed some light: I just installed the flatpak of the Zoom videoconf client, and it at least starts up without any complaint. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31335 Location: here
|
Posted: Thu Dec 12, 2024 6:29 am Post subject: |
|
|
I found this upstream issue, maybe it gives you some hint to understand the problem _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Punchcutter Guru
Joined: 11 Feb 2007 Posts: 362
|
Posted: Thu Dec 12, 2024 7:00 am Post subject: |
|
|
fedeliallalinea wrote: | I found this upstream issue, maybe it gives you some hint to understand the problem |
Thanks but I don't think that applies to me, as I'm not on a musl profile. My profile is default/linux/amd64/23.0/split-usr/desktop |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31335 Location: here
|
Posted: Thu Dec 12, 2024 7:08 am Post subject: |
|
|
Punchcutter wrote: | Thanks but I don't think that applies to me, as I'm not on a musl profile. My profile is default/linux/amd64/23.0/split-usr/desktop |
True but the answer to the problem says it should not be related to musl. Have you tried tearing the application with the flatpak run -v -v ${app_id} command to get more debug output? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|