I am using FreeBSD 15.0-RELEASE without xorg and xwayland, but in my Wayland( niri) graphical interface, there seems to be an issue with DBus. Both Waybar and IBus etc display the error: Cannot autolaunch D-Bus without X11 $DISPLAY. This was working fine in version 14.3.
When I run echo $XDG_SESSION_TYPE, the output is empty. Setting it to wayland via export does not solve the problem. Similarly, echo $DBUS_SESSION_BUS_ADDRESS also outputs nothing.
I then tried running dbus-launch and export its output, then I can run waybar to start Waybar. I could only start Waybar using dbus-run-session waybar before. However, IBus still does not work properly, neither by repeating the above method nor by using dbus-run-session.
When I try to make changes using ibus-setup, it displays the error: failed to commit changes to dconf, Cannot autolaunch D-Bus without X11 $DISPLAY.
When I run echo $XDG_SESSION_TYPE, the output is empty. Setting it to wayland via export does not solve the problem. Similarly, echo $DBUS_SESSION_BUS_ADDRESS also outputs nothing.
I then tried running dbus-launch and export its output, then I can run waybar to start Waybar. I could only start Waybar using dbus-run-session waybar before. However, IBus still does not work properly, neither by repeating the above method nor by using dbus-run-session.
When I try to make changes using ibus-setup, it displays the error: failed to commit changes to dconf, Cannot autolaunch D-Bus without X11 $DISPLAY.