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
> 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