Failed to commit changes to dconf: the connection is closed

using gedit failed to commit changes to dconf: The connection is closed

error scenario: this error occurs while using the gedit test.c command to edit a test.c document, but the document can open normally.

solution: not met this situation before, thought it was gedit program configuration file loaded to failure, restart the virtual machine directly, and then open the file will still appear this mistake, now is under the root, considering that may be caused by permission problems wrong, switch to the ordinary user directory, and restart the virtual machine, use again is not an error.

error message is as follows:

(gedit:4653): GLib-GIO-CRITICAL **: 01:46:10.281: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(gedit:4653): dconf-WARNING **: 01:46:10.319: failed to commit changes to dconf: The connection is closed

(gedit:4653): dconf-WARNING **: 01:46:10.326: failed to commit changes to dconf: The connection is closed
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)

(gedit:4653): dconf-WARNING **: 01:46:10.676: failed to commit changes to dconf: The connection is closed

(gedit:4653): dconf-WARNING **: 01:46:10.677: failed to commit changes to dconf: The connection is closed

(gedit:4653): dconf-WARNING **: 01:46:10.679: failed to commit changes to dconf: The connection is closed

** (gedit:4653): WARNING **: 01:50:22.009: Set document metadata failed: Setting attribute metadata::gedit-position not supported

(gedit:4653): dconf-WARNING **: 01:50:22.031: failed to commit changes to dconf: The connection is closed

Read More: