Page 1 of 1

Unable to Login after update

Posted: Fri Jan 25, 2013 5:16 am
by Vineet
I was updating login in Mint14, but it failed. Now I can't login, with the message "Your session lasted less than 10 seconds..".

Thanks

Re: Unable to Login after update

Posted: Fri Jan 25, 2013 7:14 am
by viking777
This sometimes happens when the file ~/.dmrc has become corrupted. Next time you get to the login window DO NOT login, just hit Ctl/Alt/F1 then login to the command prompt as user - root, password - your sudo password.

Now run the following command:

Code: Select all

rm /home/yourusername/.dmrc
You obviously have to substitute your real username there. The file you have just deleted will be regenerated next login .

Then run

Code: Select all

shutdown -r now
This will reboot. Now try and login by the usual login window.

Re: Unable to Login after update

Posted: Fri Jan 25, 2013 7:48 am
by Vineet
I did:

rm /home/vineet/.dmrc
shutdown -r now

But no effect

Re: Unable to Login after update

Posted: Fri Jan 25, 2013 8:11 am
by viking777
Must be something else then, I don't know what though.