After a Manjaro update to finally use Wayland + nvidia + Gnome DeltaChat is among the few apps (all electron based) that don’t start anymore.
I did manage to get it running only with this command:
flatpak run chat.delta.desktop --disable-gpu &
it spits out this, but starts:
[2:0402/120544.826254: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
Logfile: /home/mray/.var/app/chat.delta.desktop/config/DeltaChat/logs/2025-04-02-12-05-44.log
[2:0402/120544.987896: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
[2:0402/120544.987937: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
[2:0402/120545.131981: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
[2:0402/120545.132055: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
[2:0402/120545.132097: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
init: 332.167ms
[2:0402/120545.256764:ERROR:browser_main_loop.cc(278)] Gtk: gtk_widget_get_scale_factor: assertion ‘GTK_IS_WIDGET (widget)’ failed
[2:0402/120545.691967:ERROR:browser_main_loop.cc(278)] Gtk: gtk_widget_get_scale_factor: assertion ‘GTK_IS_WIDGET (widget)’ failed
This is a crutch, as it requires an open terminal all the time.
What is wrong? I’d like to keep using DeltaChat like before
trying to run it without the extra arguments looks like this:
flatpak run chat.delta.desktop
[2:0402/121411.433253: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
Logfile: /home/mray/.var/app/chat.delta.desktop/config/DeltaChat/logs/2025-04-02-12-14-11.log
[2:0402/121411.600787: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
[2:0402/121411.600828: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
[2:0402/121411.755514: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
[2:0402/121411.755561: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
[2:0402/121411.755584: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
[2:0402/121411.771291:ERROR:wayland_event_watcher.cc(47)] libwayland: [destroyed object]: error 7: failed to import supplied dmabufs: Could not bind the given EGLImage to a CoglTexture2D
The above mentioned variable generally shouldn’t be set by the user. The desktop does that already in 99,9% of cases.
it seems you got it from Flathub and recently updated, it may be missing permissions to access either X11 or Wayland sockets so that it can actually show a window.
You can edit app permissions with Flatseal and double-check it has access
The above however only applies if the issue is actually related to Wayland. It seems to me however that the issue may be in something else, namely something that Manjaro might have broke with dbus, as indicated by dbus seemingly being unreachable:
Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Make sure Dbus is actually running, I believe that would be systemctl status dbus and systemctl status --user dbus for the system and session bus respectively; Don’t quote me on that though, just working from memory
pc% systemctl status dbus
● dbus-broker.service - D-Bus System Message Bus
Loaded: loaded (/usr/lib/systemd/system/dbus-broker.service; disabled; preset: disabled)
Active: active (running) since Thu 2025-04-03 20:52:08 CEST; 14h ago
Invocation: 1307b991cc0e46fc968f6cb059a0b5a4
TriggeredBy: ● dbus.socket
Docs: man:dbus-broker-launch(1)
Main PID: 881 (dbus-broker-lau)
Tasks: 2 (limit: 38030)
Memory: 7.5M (peak: 9.2M)
CPU: 270ms
CGroup: /system.slice/dbus-broker.service
├─881 /usr/bin/dbus-broker-launch --scope system --audit
└─882 dbus-broker --log 4 --controller 9 --machine-id e877267b5f484426bad73d98be406f97 --max-bytes 536870912 --max-fds 4>
Apr 03 20:52:08 pc systemd[1]: Starting D-Bus System Message Bus…
Apr 03 20:52:08 pc systemd[1]: Started D-Bus System Message Bus.
Apr 03 20:52:08 pc dbus-broker-launch[881]: Ready
Apr 03 20:52:09 pc dbus-broker-launch[881]: Activation request for ‘org.freedesktop.Avahi’ failed: The systemd unit 'dbus-org.freedes>
Apr 03 20:52:12 pc dbus-broker-launch[881]: Activation request for ‘org.freedesktop.resolve1’ failed: The systemd unit 'dbus-org.free>
Apr 03 20:52:13 pc dbus-broker-launch[881]: Activation request for ‘org.freedesktop.home1’ failed: The systemd unit 'dbus-org.freedes>
what really makes me wonder is that manjaro on another machine here, that also switched to wayland seems to run DeltaChat just fine.
Dbus, very much simplified, allows programs to exchange data. It is required for Flatpaks to properly work as it is the primary way to get data in and out of the app with the permissions system.
Make sure other flatpaks are working, and if they aren’t, I’d consult the Manjaro forums
maybe a relevant note:
I noticed starting with “flatpak run chat.delta.desktop --disable-gpu” gets it running, but I can not resize the window by clicking on the edges. (hold middle click+super works, too)
well that gives us a common denominator for the affected applications, at least
I assume the dbus warning is a fluke then, and considering the Nvidia GPU it is likely troubles there
If there’s no Nvidia driver updates when running flatpak update, I would probably consult the Manjaro Forums about this issue and see if somebody else can help out
Sadly I don’t have an Nvidia system to test with anymore, I only got this intel one where the latest Flatpak runs just fine :/
Funny, I’ve been running into that same problem for resizing for a few days now. I’ve also installed Delta via flatpak (on Ubuntu 24). Other flatpak apps I use do not exhibit the same behaviour from my brief tests.
Happy to help debug more if there’s anything I can do to help!