[SOLVED]Unable to boot into KDE4

Hello. This morning I did a few updates and I afterwards I noticed that I couldn't delete a document. I then rebooted my laptop and tried logging in and now it won't let me boot into KDE. The message was:
Then after I click on the OK button a pop-up comes up saying:
I then booted into IceWM and it worked. I then installed LXDE through the Terminal in order to see if my files were still there and it worked.
Any ideas on how to fix this so I can boot into KDE??
EDIT: I've attached the file ".xsession-errors"
- Code: Select all
The following installation problem was detected while trying to start KDE:
No write access to $HOME directory (/home/mark).
KDE is unable to start.
Then after I click on the OK button a pop-up comes up saying:
- Code: Select all
Could not start ksmserver. Check your installation.
I then booted into IceWM and it worked. I then installed LXDE through the Terminal in order to see if my files were still there and it worked.
Any ideas on how to fix this so I can boot into KDE??
EDIT: I've attached the file ".xsession-errors"