2

Possible Duplicate:
Cannot get past login screen

I keep trying to log in on start up, typing my password and pressing enter. But it doesn't go through. I just get kicked back to the login screen. I know I don't have the password wrong. Have I done something to lock myself out?

I was messing around with Macchanger before this happened. Just wlan0. nothing else. Used sudo a couple of times. Did nothing as root.

2 Answers2

0

Keep Shift pressed when GRUB runs. It should bring you to the GRUB menu.

There you can choose to edit default boot option. Append ' single' (without quotes) to the end of the kernel prompt and choose to continue.

The system should boot into root shell. If your username is 'username' (without quotes), you can change password to the one you know and reboot into normal session:

# passwd username
Enter password:
Confirm password:
# reboot
yanychar
  • 652
0

I had a similar problem recently. I found out that one of the files in my profile was owned by root instead of my user.

As mentioned in the other comments, get to a command line and check the ownership of the files, especially ~/.Xauthority, they should be owned by your user.

If not, take ownership with: sudo chown : ~/.Xauthority

Where <user> is your user id.