In my case, the problem was caused by a file named "gnome-wm.desktop" at "~/.local/share/applications/" and was solved after deleting it. The content of this file was:
"[Desktop Entry]
Exec=gnome-wm
Hidden=true
Name=Window Manager
NoDisplay=true
Type=Application
X-GNOME-Autostart-Notify=true
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Product=gnome-session
X-GNOME-Bugzilla-Version=2.32.0
X-GNOME-Provides=windowmanager
X-Ubuntu-Gettext-Domain=gnome-session-2.0"
In my case, the problem was caused by a file named "gnome-wm.desktop" at "~/.local/ share/applicati ons/" and was solved after deleting it. The content of this file was: Autostart- Notify= true Bugzilla- Bugzilla= GNOME Bugzilla- Component= general Bugzilla- Product= gnome-session Bugzilla- Version= 2.32.0 Provides= windowmanager Gettext- Domain= gnome-session- 2.0"
"[Desktop Entry]
Exec=gnome-wm
Hidden=true
Name=Window Manager
NoDisplay=true
Type=Application
X-GNOME-
X-GNOME-
X-GNOME-
X-GNOME-
X-GNOME-
X-GNOME-
X-Ubuntu-