startx doesn't work

Solution 1:

I found a solution for me: Well, I hope someone can use my answer:

I changed my password, reinstalled xserver-xorg by typing: sudo apt-get install --reinstall xorg

After a reboot it worked for me. Notice: I removed the .XAuthority files in /home/username by: sudo rm /home/username/.XAuthority*

to get a shell try Strg-Alt-F1 when you turn on your computer. I actually got my write-rights back by using clear in recovery mode.

Hopefully, this answer can help others as well.

Solution 2:

I got this message too, in my case the X server was indeed already running, I just had to switch to terminal 7 (the first GUI terminal) by pressing CTRL + ALT + F7.