I installed llvm4.0 in order to get a Python package working. Once I had that going, I uninstalled older versions of llvm. Now, this seems to have caused problems with the desktop.
Upon boot, I see a graphical login prompt (splash?) which works. After this, I get a black screen with a working mouse, and it doesn't seem to load the desktop.
So far I have tried: dist-upgrade, dpkg --configure -a, reinstalled llvm3.4 and 3.8, installed libegl1-mesa. I had an error about a missing dri_i985.so (not sure this is the exact name) in the Xorg log, but I think I fixed that.
A seemingly related issue is that, after going to the command line with ctrl+alt+F1, when I try returning to a graphics environment with ctrl+alt+f7, it seems to be hanged at "Restoring resolver state...". It was suggested elsewhere to add "acpi=force" to the grub config file, but this did not work either.
What are the relevant log files I should be looking at? There are no errors showing in /var/log/Xorg.0.log