I updated my Ubuntu 14.04 but after update it not starting after login and the login screen page will repeat thanks
Asked
Active
Viewed 73 times
0
1 Answers
0
This might be related to an ownership or a permission issue: if you have access to TTY using Ctr + alt + F1 (or F2, F3 ... ,F6). Login there: type your login when prompted for it, hit return
, you will then be prompted for your password. Type it and hit return
. Once you successfully logged in, try the following solutions:
.Xauthority
ownership issue- Type
ls -lah
. - Look at the line containing
.Xauthority
. - If it owned by
root
than type:sudo chown YourUsername:YourUsername .Xauthority
- Type
.
ownership issue- Type
ls -lahr
. - Look at the line containing only
.
. - If it owned by
root
than type:sudo chown YourUsername:YourUsername .
- Type
/temp
permission issue- Type
ls -ld /tmp
. - If the permission do no look like
drwxrwxrwt
- Type
sudo chmod a+wt /tmp
- Type
Just try deleting
.Xauthority
(by typingsudo rm .Xauthority
)lightdm is acting up -> complete reinstall
- Make sure you are connected to internet with DHCP on!
- Log in in the TTY and type the following commands:
sudo apt-get purge lightdm
sudo apt-get update
sudo apt-get install lightdm
dpkg-reconfigure lightdm
sudo shutdown -r now
#to restart the computer

Prolix
- 345
-
thanks friends . what happen after delete .Xauthority? I don't want lose my information and my programs . excuse me I'm beginner in linux – sajad Nov 02 '15 at 10:45
-
You will not lose anything. The file will be recreated properly after rebooting the computer. – Prolix Nov 02 '15 at 10:57
-
when I use tty I get: mohsen-system-prudect-name login: and when I use your commands system wants password and i input password and system type: login incorrect – sajad Nov 02 '15 at 11:21
-
nothing happend. I cheked and did all even delete .xauthoruty but yet can't login – sajad Nov 02 '15 at 12:31
-
The
login incorrect
message means that either the login OR/AND the password is incorrect! Check for caps and use the numbers from the top instead of the numpad. The commands I gave you will prompt you for password because of thesudo
requiring administrator rights. If you type the wrong password you will have the messageSorry, try again
. – Prolix Nov 02 '15 at 13:19 -
I did all of those that you told above. .xauthority and . both are mohsen mohsen. also /tmp permition is the same as you told. and i deleted .auhturity too but any way i have the problem as i had... what can i do any more? – sajad Nov 02 '15 at 13:43
-
Ok that's strange. When you are logged in in TTY mode, what happens if you type
sudo sevice lightdm restart
? – Prolix Nov 02 '15 at 13:50 -
nothing!! only go to login page and ask password and the same problem. I enter password and after few second again back to login and ask me password – sajad Nov 03 '15 at 08:34
-
Ok. I added a 5th step in the answer that might help but you need a working Internet connection for it. – Prolix Nov 03 '15 at 09:54
-
-
unfortunatly I go to recovery mode and use dpkg Icon. and now I have only a black scrin and can't login to tty too – sajad Nov 03 '15 at 11:24
-
I think I got lost my ubuntu!!!! how I can fix It?? without loosing my information and my programs – sajad Nov 03 '15 at 12:38
-
Ok. That is now a whole different problem. Don't panic! The easiest way is to save what you can from your documents and reinstall Ubuntu. You can find in this answer a step by step approach to save your
home
directory before reinstalling. If you have documents that you would like to keep in other folders, make sure to copy them as well. Take your time. You can also get a list from recently installed, updated... packages in/var/log/dpkg.log*
and a history of apt-get in/var/log/apt/history.log*
to help you restore most of them. – Prolix Nov 03 '15 at 12:47
sudo rm .Xauthority
and reboot. – Neil Nov 02 '15 at 09:15Ctr
+alt
+F1
. It will prompt you for login and password. – Prolix Nov 02 '15 at 09:42