I have done extensive search for the answer to this problem:
On the login in page, after tying password, my screen turns dark for a second and becomes the login page again. the guest account doesn't work either.
what I have done:
in tty1:
sudo rm /home/wks-403/.Xauthority
sudo reboot
or
in tty1:
sudo chown -R $USER:$USER $HOME
Then press CTRL+ALT+F7 and try to log in
or change from lightdm to gdm, in tty1:
sudo dpkg-reconfigure gdm
but none works on my laptop.
the parameters of my laptop:
thinkpad x-61 32bit
graphic card: Intel Corp. Mobile GM965/GL960 integrated Graphics Controller
Thanks for your suggestions!!
update by suggestions from 'Still a kid',
input "sudo startx"
Fatal server error
Sever is already active for display 0
If this server is no longer running , remove /tem/.X0-lock
please consult the THe X.Org Foundation support for help
ddxSigGiveUp: Closing Log
Invalid MIT-MAGIC-COOKIE-1 KEYInvalid MIT-MAGIC-COOKIE-1 keyxinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
I delete /tmp/.X0-lock
and startx
cannot establish any listening sockets -Make sure an X server sin't already running
I am lost on what to do…please help.
The following is the info in /var/log/lightdm/lightdm.log
http://paste.ubuntu.com/5697791/
I notice there is messages saying 'Greeter quit', so I look at /var/log/x-0-greeter.log
:
http://paste.ubuntu.com/5697781/
there are warnings and CRITICAL info.
I suspect this is due to graphic cards, but It doesn't help after I updating my graphic card drivers.
Best Answer
try something like this, check this link