I urgently need to reset Compiz to its default settings because my desktop doesn't show the Dash or menu bar.

When I type:

dconf reset -f /org/compiz/

It says:

error: Cannot autolaunch D-Bus without X11 $DISPLAY

  dconf reset [-f] PATH

Reset a key or a dir. -f is required for dirs.

   PATH          Either a KEY or DIR
   KEY           A key path (starting, but not ending with '/')
   DIR           A directory path (starting and ending with '/')

What to do next?

Best regards

  • 1
    I am wondering why gsettings would require X11 at all.
    – queeg
    Feb 9, 2022 at 20:22

2 Answers 2

export DISPLAY=:0.0

if you see

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Can't open display: :0.0


xhost +

You could replace your current instance of compiz with the following command from a tty.

DISPLAY=:0 compiz --replace

You can probably also do:

DISPLAY=:0 dconf reset -f /org/compiz/
  • down vote accept It didn't work DISPLAY=:0 compiz --replace compiz (core) - Info: Loading plugin: core compiz (core) - Info: Starting plugin: core No protocol specified compiz (core) - Fatal: Couldn't open display :0 compiz (core) - Info: Stopping plugin: core compiz (core) - Info: Unloading plugin: core DISPLAY=:0 dconf reset -f /org/compiz error: Error spawning command line 'dbus-launch --autolaunch=68be4fa5ac7f2cedb6855a8b5558734d --binary-syntax --close-stderr': Child process exited with code 1
    – bruno
    Jul 9, 2015 at 0:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .