At least in my case, what happens is that .Xauthority is owned by root after running startx (as root). A workaround:
sudo rm ~/.Xauthority I am not sure to which extent this constitutes a bug, though. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1176304 Title: If I run 'startx' then I cannot login again to my account. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1176304/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp