error: No se puede iniciar automáticamente D-Bus sin X11 $DISPLAY

error: No se puede iniciar automáticamente D-Bus sin X11 $DISPLAY

Necesito urgentemente restablecer Compiz a su configuración predeterminada porque mi escritorio no muestra el tablero ni la barra de menú.

Cuando escribo:

dconf reset -f /org/compiz/

Dice:

error: Cannot autolaunch D-Bus without X11 $DISPLAY

Usage:
  dconf reset [-f] PATH

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

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

¿Qué hacer a continuación?

Atentamente

Respuesta1

export DISPLAY=:0.0

si tú ves

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

Error: Can't open display: :0.0

entonces

xhost +

Respuesta2

Podrías reemplazar tu instancia actual de compiz con el siguiente comando desde un tty.

DISPLAY=:0 compiz --replace

Probablemente también puedas hacer:

DISPLAY=:0 dconf reset -f /org/compiz/

información relacionada