(org.gnome.Nautilus:2448): libunity-CRITICAL **: 21:53:29.422: unity-inspector.vala:96: Unable to connect to session bus: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
(org.gnome.Nautilus:2448): dconf-WARNING **: 21:53:29.473: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
(org.gnome.Nautilus:2448): dconf-WARNING **: 21:53:29.473: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
(org.gnome.Nautilus:2448): WARNING : 21:53:29.484: Unable to get contents of the bookmarks file: Error opening file /home/zzdywc/.gtk-bookmarks: No such file or directory
(org.gnome.Nautilus:2448): WARNING : 21:53:29.484: Unable to get contents of the bookmarks file: Error opening file /home/zzdywc/.gtk-bookmarks: No such file or directory
(org.gnome.Nautilus:2448): dconf-WARNING **: 21:53:29.501: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
(org.gnome.Nautilus:2448): dconf-WARNING **: 21:53:33.785: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
(org.gnome.Nautilus:2448): dconf-WARNING **: 21:53:33.785: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
If you run 'sudo apt install dbus-x11' your GUI apps should work. Somehow the WSL system is not flagging dbus-x11 as a required dependency of x11/GUI apps.
Environment
Steps to reproduce
WSL logs:
Expected behavior
no warning show.
Actual behavior
not only nautilus have this problem,I test gedit gtkwave etc,every app that I use are same.
(org.gnome.Nautilus:2448): WARNING : 21:53:29.340: Error on getting connection: Failed to load SPARQL backend: Error spawning command line ?dbus-launch --autolaunch= --binary-syntax --close-stderr?: Child process exited with code 1
(org.gnome.Nautilus:2448): libunity-CRITICAL **: 21:53:29.421: file unity-launcher.c: line 1618: unexpected error: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1 (g-spawn-exit-error-quark, 1)
(org.gnome.Nautilus:2448): libunity-CRITICAL **: 21:53:29.421: unity_launcher_entry_dbus_impl_construct: assertion 'conn != NULL' failed
(org.gnome.Nautilus:2448): libunity-CRITICAL **: 21:53:29.422: unity-inspector.vala:96: Unable to connect to session bus: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
(org.gnome.Nautilus:2448): dconf-WARNING **: 21:53:29.473: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
(org.gnome.Nautilus:2448): dconf-WARNING **: 21:53:29.473: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
(org.gnome.Nautilus:2448): CRITICAL : 21:53:29.483: update_dbus_opened_locations: assertion 'dbus_object_path' failed
(org.gnome.Nautilus:2448): WARNING : 21:53:29.484: Unable to get contents of the bookmarks file: Error opening file /home/zzdywc/.gtk-bookmarks: No such file or directory
(org.gnome.Nautilus:2448): WARNING : 21:53:29.484: Unable to get contents of the bookmarks file: Error opening file /home/zzdywc/.gtk-bookmarks: No such file or directory
(org.gnome.Nautilus:2448): CRITICAL : 21:53:29.501: update_dbus_opened_locations: assertion 'dbus_object_path' failed
(org.gnome.Nautilus:2448): dconf-WARNING **: 21:53:29.501: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
(org.gnome.Nautilus:2448): dconf-WARNING **: 21:53:33.785: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1
(org.gnome.Nautilus:2448): dconf-WARNING **: 21:53:33.785: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch= --binary-syntax --close-stderr”: Child process exited with code 1