[F41] misconfigured dbus or freedesktop

I’m having trouble running native and flatpak programs, it seems the error is due to dbus or freedesktop being misconfigured or something like that

python app

> poetry add pyqt6
[org.freedesktop.DBus.Error.TimedOut] ("Failed to activate service 'org.freedesktop.secrets': timed out (service_start_timeout=120000ms)",)

distrobox

distrobox enter devbox
WARN[0002] Failed to add pause process to systemd sandbox cgroup: Process org.freedesktop.systemd1 exited with status 1 
Error: OCI runtime error: unable to start container "9c636a73fcd85e59a7bb213dc0ce7030cf354007f5bbc41226680c9413ec01c4": crun: sd-bus call: Process org.freedesktop.systemd1 exited with status 1: Input/output error

flatpak app

flatpak run md.obsidian.Obsidian
F: Can't find a11y bus: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.a11y.Bus: Permission denied
Deleting cache directory: /home/heus/.var/app/md.obsidian.Obsidian/config/obsidian/GPUCache
Debug: Will run Obsidian with the following arguments: 
Debug: Additionally, user gave: 
[14:1222/193226.165648:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-12-22 22:32:26 Loading main app package /app/resources/obsidian.asar
LaunchProcess: failed to execvp:
xdg-settings
[14:1222/193226.261237:ERROR:wayland_connection.cc(198)] Failed to connect to Wayland display: No such file or directory (2)
[14:1222/193226.261257:ERROR:ozone_platform_wayland.cc(264)] Failed to initialize Wayland platform
[14:1222/193226.261266:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.
/app/bin/obsidian.sh: line 61:    14 Segmentation fault      (core dumped) zypak-wrapper /app/obsidian $@ ${EXTRA_ARGS[@]}

System Info

pastebin of the system info

> cat /etc/system-release
Fedora release 41 (Forty One)
> hostnamectl
     Static hostname: (unset)                               
  Transient hostname: fedora
           Icon name: computer-desktop
             Chassis: desktop πŸ–₯️
          Machine ID: d9977051f32d4dea90c380a94ec230a9
             Boot ID: b7358ff8374d496999a1cea6240912eb
    Operating System: Fedora Linux 41.20241204.0 (Forty One)
         CPE OS Name: cpe:/o:fedoraproject:fedora:41
      OS Support End: Mon 2025-12-15
OS Support Remaining: 11month 3w 1d
              Kernel: Linux 6.11.10-300.fc41.x86_64
        Architecture: x86-64
     Hardware Vendor: Gigabyte Technology Co., Ltd.
      Hardware Model: Z370M AORUS Gaming
    Firmware Version: F14
       Firmware Date: Sat 2021-11-13
        Firmware Age: 3y 1month 1w 2d 
> loginctl session-status
2 - heus (1000)
  Since: Sun 2024-12-22 19:23:40 -03; 1h 11min ago
  State: active
 Leader: 1658 (sddm-helper)
   Seat: seat0; vc2
    TTY: tty2
 Remote: no
Service: sddm
   Type: wayland
  Class: user
   Idle: no
   Unit: session-2.scope
         β”œβ”€ 1658 /usr/libexec/sddm-helper --socket /tmp/sddm-auth-819167f6-c0d7-4a73-bc6e-b04f3b72a2c4 --id 1 --start "dbus-run-sessi>
         β”œβ”€ 1815 /usr/bin/gnome-keyring-daemon --daemonize --login
         β”œβ”€ 1819 dbus-run-session /usr/bin/starthyprland
         β”œβ”€ 1893 dbus-daemon --nofork --print-address 4 --session
         β”œβ”€ 1894 bash /usr/bin/starthyprland
         β”œβ”€ 1895 Hyprland -c /home/heus/.config/hypr/hyprland.conf
         β”œβ”€ 2052 /usr/libexec/dconf-service
         β”œβ”€ 2060 /usr/libexec/xdg-desktop-portal-hyprland
         β”œβ”€ 2064 /usr/libexec/xdg-desktop-portal
         β”œβ”€ 2083 waybar
         β”œβ”€ 2090 /usr/libexec/xdg-document-portal
         β”œβ”€ 2092 /bin/sh -c "dunst & nm-applet"
         β”œβ”€ 2094 dunst
         β”œβ”€ 2095 nm-applet
         β”œβ”€ 2096 hypridle
         β”œβ”€ 2098 hyprpaper
         β”œβ”€ 2100 wl-paste --type text --watch cliphist store
         β”œβ”€ 2102 wl-paste --type image --watch cliphist store
         β”œβ”€ 2109 /usr/libexec/xdg-permission-store
         β”œβ”€ 2135 fusermount3 -o rw,nosuid,nodev,fsname=portal,auto_unmount,subtype=portal -- /run/user/1000/doc
         β”œβ”€ 2159 /usr/libexec/xdg-desktop-portal-gtk
         β”œβ”€ 2166 Xwayland :0 -rootless -core -listenfd 67 -listenfd 68 -displayfd 91 -wm 88
         β”œβ”€ 2186 /usr/libexec/gvfsd
         β”œβ”€ 2207 /usr/libexec/gvfsd-fuse /run/user/1000/gvfs -f
         β”œβ”€ 2367 /usr/libexec/flatpak-session-helper
         β”œβ”€ 2372 server --sh -n /run/user/1000/.flatpak-helper/pkcs11-flatpak-2367 --provider p11-kit-trust.so "pkcs11:model=p11-kit->
         β”œβ”€ 2994 /usr/libexec/gvfs-udisks2-volume-monitor
         β”œβ”€ 3041 /usr/libexec/gvfs-mtp-volume-monitor
         β”œβ”€ 3047 /usr/libexec/gvfs-gphoto2-volume-monitor
         β”œβ”€ 3053 /usr/libexec/gvfsd-metadata
         β”œβ”€ 3093 /usr/libexec/gvfsd-trash --spawner :1.23 /org/gtk/gvfs/exec_spaw/0
         β”œβ”€ 3123 p11-kit-remote --provider p11-kit-trust.so "pkcs11:model=p11-kit-trust?write-protected=yes"
         β”œβ”€ 4253 catatonit -P
         β”œβ”€ 4272 kitty
         β”œβ”€ 4418 /bin/bash --posix
         β”œβ”€ 6969 /usr/libexec/flatpak-portal
         β”œβ”€ 8300 p11-kit-remote --provider p11-kit-trust.so "pkcs11:model=p11-kit-trust?write-protected=yes"
         β”œβ”€17391 kitty
         β”œβ”€17397 /bin/bash --posix
         β”œβ”€17617 loginctl session-status
         └─17618 less

Dec 22 19:24:58 fedora conmon[4350]: conmon 9c636a73fcd85e59a7bb <nwarn>: runtime stderr: sd-bus call: Process org.freedesktop.system>
Dec 22 19:24:58 fedora conmon[4350]: conmon 9c636a73fcd85e59a7bb <error>: Failed to create container: exit status 1
Dec 22 19:30:39 fedora flatpak-system-helper[3878]: system: Uninstalled app/page.codeberg.JakobDev.jdSimpleAutostart/x86_64/stable
Dec 22 19:33:53 fedora sudo[7817]:     heus : TTY=pts/2 ; PWD=/var/home/heus ; USER=root ; COMMAND=/usr/bin/chmod 4754 /var/libexec/d>
Dec 22 19:33:53 fedora sudo[7817]: pam_unix(sudo:session): session opened for user root(uid=0) by heus(uid=1000)
Dec 22 19:33:53 fedora sudo[7817]: pam_unix(sudo:session): session closed for user root
Dec 22 19:37:33 fedora sudo[8670]:     heus : TTY=pts/2 ; PWD=/var/home/heus ; USER=root ; COMMAND=/usr/bin/chown root:messagebus /va>
Dec 22 19:37:33 fedora sudo[8670]: pam_unix(sudo:session): session opened for user root(uid=0) by heus(uid=1000)
Dec 22 19:37:33 fedora sudo[8670]: pam_unix(sudo:session): session closed for user root
Dec 22 20:31:06 fedora gnome-keyring-daemon[1815]: The Secret Service was already initialized
> echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/tmp/dbus-Afj2wrJMv5,guid=9ff01107f2c38bf1477906826768916c

You use hyprland, is your install custom? What was the base, netinstall?

Maybe netinstall doesnt set something up that is important.

I used bluebuild to create the image which is based on ublue

Here is the repo:

And on that build you get issues since the beginning?

Please ask the blue-build devs here but we might be able to find the cause

No, as far as I remember the problem happened recently after upgrading to Fedora 41, I’ll link this post on the Bluebuild discord to see if I can get some help

1 Like