After deciding to use zsh, I started using the GUI again, as it supports Powerline fonts for the oh my zsh theme. Anyways, I used
sudo raspi-config and set the boot option to GUI with required login. After restarting, I noticed a small box in the top right of the screen. Clicking on it brought up a menu with three desktop environments:
Openbox, with Default XSession selected. I decided to try LXDE, and after logging in I was greeted with LXDE. I went back to the login screen and selected
Openbox. Logging in presented me with a grey screen and a mouse. After a few minutes of waiting, I decided to reboot, so I went to a TTY and typed
I switched the DE back to
Default XSession and tried to log in. It just went back to the login. So I changed Boot to GUI autologin, and tried again. It just went to the login. I tried rebooting to CLI and typing
startx, but it stopped and said that it shut down the X server.
If it helps, I'm using Raspbian.