A very frustrating thing happened today. To give you a little background, I had been running Dropbox and a few other programs prior on my CrunchBang box (Debian based).
It seems that some of the processes were taking more than the amount of memory I prefer. So, I performed a system reboot. Once the box came back to the login screen I entered my necessary credentials. After that, to my horror the screen went blank/dark grey!!!
I did a hard reboot as the box didn't seem to respond to commands. Once it came back I noted that it would let me switch to command line terminal view (virtual console). It appeared all my files where intact. But, I really need my GUI back.
Any ideas on what may have happened? Or what I might try to do to fix this? This CrunchBang install is only a few days old, it doesn't matter since it's not working. I've also tried launching the X server by running:
Still nothing happens, just the blank screen. If I Control+C it terminates the X server and returns back to the command prompt.
Solution UPDATE (11/22/13):
Come to find out, my problem was simply that my default x-session-manager got switched to "lxsession" (which was configured to display a blank screen by default apparently). I'm not sure why but that's what happened. I'm thinking maybe one of the system updates changed the default x-session manager configuration. The following command allows you to change the defualt x-session manager(atleast in debian):
sudo update-alternatives --config x-session-manager
Something like this will be the ouput:
There are 2 choices for the alternative x-session-manager (providing /usr/bin/x-session-manager). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/bin/lxsession 49 auto mode 1 /usr/bin/lxsession 49 manual mode * 2 /usr/bin/openbox-session 40 manual mode Press enter to keep the current choice[*], or type selection number:
The output of that command will allow you to switch between all installed x-session managers. Thanks all!