Password Login Loop, 16.04.1 LTS Xenial Xerus
My PC is an HP Pavilion 15-p264-na, Which uses an AMD A10 processor and an ATI Radeon 7620G GPU (Please correct me if I'm wrong). I'm still a rookie when it comes to Linux, but here goes:
I have recently upgraded from Ubuntu 14.04 LTS, and the PC is triple boot with Windows 10 and Kali Linux as well, with GRUB used for booting. I have not been able to log in Ubuntu with my usual account, although I can still access the Guest account. I have trawled for solutions but purging and reinstalling lightdm with the ctrl + alt + f1 and other function keys did not work. There are some solutions and suggestions for Nvidia users whose problems were traced back to their drivers but unfortunately I have found barely anything on ATI. Also, I have tried the Xauthority solution posted at:http://www.linuxslaves.com/2016/05/3...ogin-loop.html but unfortunately Ubuntu cannot find an Xauthority file to begin with when I tried this. Please could anybody suggest ideas as to work around this? I can post error logs and the like to help if you can tell me how to generate them. |
Quote:
Did you miss your . ? |
Sorry I didn't mention earlier, no, I haven't forgotten the '.' before Xauthority. But it seems the problem here is that when I execute ls -lah in the terminal there is no line that ends with .Xauthority when there is supposed to be.
|
This file will be created when X starts.
|
Does this happen automatically or do I have to run a different command? Because if it happens automatically I have yet to see a .Xauthority file. If it requires another method would you know how I would do it?
|
It happens automatically, since it starts with a dot it is hidden in normal view. When Xorg exits it cleans up.
|
Thank you. But if it has automatically created a .Xauthority file and this is not acknowledged in the ctrl+alt+f3 terminal then would you have an idea of what should I do next?
|
Never do this type of upgrades because system can crash without any easy solution.
Around web I search this problem and If I remember well in past I have a similar problem , I think that the problem can be present to you by the lightdm maybe if your kill and restart the lightdm the login can go → sudo service lightdm stop sudo service lightdm start try login Or maybe rm ~/.Xauthority sudo killall Xorg sudo service lightdm restart Allways certify that you in on the /home /user Try also a text mode login to see if startx report other messages. And take a look here about lightdm → http://askubuntu.com/questions/22350...n-a-login-loop chown username:username .Xauthority I hope you can solve this. |
Any logs to see that might say what is failing? When you say you can't log in that makes me wonder if user and not gui issue.
Can try to su to your normal user from terminal. |
Sorry I haven't updated you in a while, I've been fairly busy this week.
I apologise as I foolishly overlooked that I hadn't cd'd my way into /home/user/ prior to doing chown user:user .Xauthority, and now the terminal does not return the message saying that .Xauthority does not exist, which is probably a good sign (correct me if I'm wrong). Unfortunately this hasn't solved the problem; after restarting, I still get the same black screen with the single line mentioning the sda6 partition before looping back to the login screen. I have purged lightdm and will reinstall and reconfigure it when I can get Ubuntu connected to the Internet with an Ethernet cable, which I will do soon. As for the error log mentioned by jefro: .Would a .xsession-errors log be appropiate? .If yes, what is the exact command to bring up the log in the ctrl+alt+f3 terminal? .Being unable to login, I won't be able to copy and paste it here in Ubuntu. Should I post a photo on this thread if that is possible? .If .xsession-errors is not the right log, then are there others you would like to see? Also, I don't know if this would help in any way, but I've noticed that after choosing Ubuntu in the GRUB menu, the screen cuts to black and it takes a long time to reach the login screen, usually around or over 1 minute. Does this have anything to do with the looping screen? Thanks everybody for your patience. |
Quote:
Code:
sudo apt-get install pastebinit Code:
pastebinit /home/user1/.xsession-errors It might be easier to do that from the gui in the guest account. Does the guest account have sudo access, as well? If so, run Code:
sudo chown -R user1:user1 /home/user1/ Code:
sudo adduser guest sudo |
I am very sorry for wasting your time and effort, but I have been unable to connect to the Internet even with an Ethernet cable. I have tried other methods to do this but to no avail. So I have decided to reinstall Ubuntu as I reckon this would be a faster solution. I greatly appreciate all of your help and patience, and once again very sorry.
|
Quote:
Thanks for you, to put here your problem because other people maybe can have same problem so any question like this and others or problem is welcome to here - because with any related problem the community know him and then other people know this content and maybe can help or not. Cheers.You are allways welcome here . :) |
All times are GMT -5. The time now is 04:11 AM. |