"Oh no!" gnome-shell exiting on startup
Solution 1:
For me the solution was to rename the user directory, then recreate it empty and set proper permissions. After login I restored the important documents and settings. Later I figured the problem was caused because I restored the VHD from another computer, where the same VM was configured to use newer Hyper-V configuration 9.0 instead of 8.0. Upgrading the configuration would have been sufficient since it worked just fine right before I copied the VHD.