Closed issue by superiums on void-packages repository https://github.com/void-linux/void-packages/issues/40313 Description: there'are 2 ways to start a WM session for sway/wayfire/... no matter start the WM from tty manually, or let DM load the session for WM, or start a command by DM. 1. run sway/wayfire directly. 2. run sway/wayfire by dbus: `dbus-launch wayfire` i am using greetd and tui-greeter. ## Way 1, launch WM directly all things works but except gvfs. - gvfs fails thunar report the gvfs was not work currectly, and there's no vols appear in left panel of thunar. for tracering the issue, all of them report an GLIB error. for example , this is the report of gvfs debug , using comomand GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace 2>&1 | tee gvfsd.log : ``` (process:14320): GLib-GObject-CRITICAL **: 11:21:21.921: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed (process:14320): GLib-GIO-CRITICAL **: 11:21:21.924: g_volume_monitor_get_mounts: assertion 'G_IS_VOLUME_MONITOR (volume_monitor)' failed (process:14320): GLib-GObject-WARNING **: 11:21:21.924: invalid (NULL) pointer instance (process:14320): GLib-GObject-CRITICAL **: 11:21:21.924: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (process:14320): GLib-GObject-WARNING **: 11:21:21.924: invalid (NULL) pointer instance (process:14320): GLib-GObject-CRITICAL **: 11:21:21.924: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed ``` - obs-studio works in this way. ## Way 2, lauch WM by dbus if i use this command to let the DM start the WM ``` cmd='tuigreet -cmd dbus-launch wayfire' ``` or type ` dbus-launch wayfire` in tty - gvfs works. - but obs-studio can't take screen record (no `capture screen source (pipewire)` appears), cant' start virtual camera. ``` error: Failed to inhibit: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: on path org.freedesktop.portal.Inhibit object not found“/org/freedesktop/portal/desktop”interface ``` - some program fails, like celluloid can't be started by GUI, both in thunar or wofi. but can be started by terminal, with the same error reported above. all packages like xdg-desktop-portal , xdg-desktop-portal-wlr already installed.