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

Asked by AT

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

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

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.

Revision history for this message
AT (tokelove) said :
#2

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

What did I do wrong?

Revision history for this message
AT (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

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

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

Revision history for this message
AT (tokelove) said :
#5

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

Revision history for this message
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.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#7

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.

Regards.

Can you help with this problem?

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

To post a message you must log in.