When logging in, it simply returns to the login screen.

Asked by Aaron Tokelove on 2013-03-08

When I try and log in, it flashed to the console for a second (and I spotted the last line said something like 'mountall: disconnected from plymouth' and then returned to the login screen.

When trying to su USER to that account, I get mount: Operation not permitted.

Any ideas? I created a new admin account for now, but the original account has all my files on it (that are encrypted)

If the problem can't be fixed, I don't mind reinstalling, as long as I can retrieve a few of my important files from the encrypted account (I have no idea how to do this)

Thank you in advance.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:

On the login screen press CTRL+ALT+F1 and login there and run:

sudo chown -R $USER:$USER $HOME

run it as given. This will ensure that your user is the owner of all of it's home. You can then press CTRL+ALT+F1 and log in.

Aaron Tokelove (tokelove) said : #2

sudo chown -R $toke:$toke $HOME returns chown: missing operand after ':'

What did I do wrong?

Aaron Tokelove (tokelove) said : #3

Ahh, it seems I wasn't supposed to change user to toke haha.

Okay, I've done as you said, but I still get the same problem when trying to log in

thats why i said "run it as given"......

Aaron Tokelove (tokelove) said : #5

Indeed. But since it didn't work do you have any other ideas?

Ubfan (ubfan1) said : #6

Try deleting from your home directory the (hidden) files .Xauthority and .xsession-errors
That might help.
Maybe check the .xsession-errors files before deleting it, it might have an error message.

Hi Aaron Tokelove,

hit CTRL+ALT+F1 and login from the console (username&password) .

Then apply the following commands

sudo service lightdm stop

rm ~/.Xauthority

sudo service lightdm start

Retest if you can login.

BE AWARE of the commands , you should apply them exactly. Be careful of the dot (before X) and capital first letter in Xauthority.
EVERYTHING of that little things matter in Linux.


Can you help with this problem?

Provide an answer of your own, or ask Aaron Tokelove for more information if necessary.

To post a message you must log in.