I cannot login to Crunchbang Linux. When I boot the computer, it goes to the login screen, and if I type the correct username+password combo, it goes to a black screen that reads "failed to execute login command" (if the password is incorrect, it rejects the combo correctly).
Booting into recovery mode, it logs me in fine. Once in, though, when I try to startx, it gives me a bunch of errors and fails:
_XSERVTransSocketUNIXCreateListener: ../SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: server already running Fatal server error: Cannot establish any listening sockets - Make sure an X server isn't already running Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. Invalid MIT-MAGIC-COOKIE-1 keygiving up. xinit: Resource temporarily unavailable (errno 11): unable to connect to X server xinitL No such process (errno 3): Server error.
If I try running openbox-session, I get:
Openbox-Message: Failed to open the display from the DISPLAY environment variable
Some threads I've found have suggested removing /tmp/X0-lock if no X server is running (and none is/was). However, this didn't help when I removed it.
Does anyone have any ideas on how to fix this? If it helps, $DISPLAY is empty.
EDIT: I have no xorg.conf file that I can find anywhere. I read that you don't actually need this after x has been setup, but could this be causing the problem?