I'm running Ubuntu Gnome 13.10 and I'm having the following problem. After booting my computer, gdm displays as expected and I can choose which account to log in to. However, if I then log out, I do not get the login screen any more, with instead just some text, similar to the problem described in here.
After logging out, I've found that Xorg is taking 100% CPU, and killing this process causes gdm to start up as usual again. One hacky solution I have found is to restart gdm after a session has finished by adding
killall -9 Xorg
I'm using the nVidia proprietary driver on a laptop, with the laptop screen switched off and two external monitors (maybe a little unusual). A similar problem is described in here, but this solution does not fix the problem.
So my question is, has anybody experienced this or something similar? What is the cause? And is there a better solution than just killing Xorg at the end of every session?