After a crash and restart, my Ubuntu 16.04 desktop environment doesn't work - no launcher, no dash, nothing except a wallpaper. I can drop in a terminal by Ctrl+Alt+T, and then I follow the steps marked as answer here, that is
- reinstall
compizconfig-settings-manager - enable unity in
ccsm
These steps above completed without error, however, problem persists. I also tried the following
export DISPLAY=:0
sudo dconf reset -f /org/compiz/
However I got the following error from dconf:
GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code17: Cannot open dconf database: invalid gvdb header
The ubuntu runs in a virtualbox in a MacOS 10.10 host. This should not be the problem because the desktop works as expected if I login in as Guest. The problem must be that something of my account is corrupted. Any advice is appreciated.
Update
I finally fixed the problem after hours of trial-and-error. Here is the solution for me:
sudo apt install --reinstall unity
rm -r .Xauthority .ICEauthority .config/.compiz-1 .config/dconf