Open Aaron-Junker opened 2 years ago
Try dbus-launch nautilus
If that works, make it permanent by putting export $(dbus-launch)
in ~/.profile
or ~/.zprofile
and restart wsl using wsl --shutdown
in PS/cmd.
Now simply nautilus
or launching from Windows' start menu should work.
Had the same issue and your comment saved me, dude. Thank you very much!!!
Environment
Steps to reproduce
Nautilus logs:
Nautilus Logs
``` On start: ** (org.gnome.Nautilus:307): WARNING **: 09:38:58.367: Error on getting connection: Failed to load SPARQL backend: Could not connect: Connection refused (org.gnome.Nautilus:307): libunity-CRITICAL **: 09:38:58.431: unity-launcher.vala:157: Unable to connect to session bus: Could not connect: Connection refused Everytime I do something of the things mentioned above: (org.gnome.Nautilus:307): dconf-WARNING **: 09:39:09.018: failed to commit changes to dconf: Could not connect: Connection refused (org.gnome.Nautilus:307): GLib-GIO-CRITICAL **: 09:39:14.221: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed ```WSL logs:
wslg logs.zip
Expected behavior
It works and shows preferences.
Actual behavior
It can't save preferences and it always shows error messages.