Whenever I boot up Ubuntu, it shows the purple screen, then cuts to black. Before this happened, I was editing the Xsession file, by adding a few more lines that started up dwm and added something to it's taskbar. I also added a custom.desktop file in the xsessions folder, that launched the .xsession file.
Is there any way to fix what happened? Or at least a way I can edit the xsessions file?
recovery mode
is not the same as @Braiam told you. In recovery mode you should first re-mount the root and/or home partition(s) in read-write mode. Try the console way as Braiam told you. – NickTux Aug 25 '13 at 04:52