Tuesday, August 29, 2017
Unable to see the LOGIN Screen after Startup
Unable to see the LOGIN Screen after Startup
If you are also facing the same problem , following is the solution.
1. Go to Advanced options for Ubuntu.
Fig. 1 |
2. Select the recovery mode.
Fig. 2 |
3.Select the root option from the recovery menu.
Fig. 3 |
4.After selecting the root option you will get the command line. Enter the following commands:
$ sudo dpkg-reconfigure lightdm
After running the above command you may get either the fig. 5 screen or fig. 4 screen followed by screen 5.
Fig. 4 |
Fig. 5 |
Now one more issue you can face when you select lightdm or any of the display manager.
If you get the following error run the following command else restart the system:
"Read-only file system error while selecting any of the display manager."
For that, you can run the following command :
$ mount -o remount /
and then again run the following command:
$ sudo dpkg-reconfigure lightdm
5.And then run the exit command. Restart the system. You will get the login screen.
6. Now one more issue may arise: It may be possible that you get the login screen but you may not be able to login into your system. It may be possible even after entering the correct username and password you get only the login screen. For that you need to follow the below steps:
Press Ctrl+Alt+F3 and login into the shell.Now runls -lah
. If in the output the line-rw------- 1 root root 53 Nov 29 10:19 .Xauthority
then you need to dochown username:username .Xauthority
and try logging in.Else, dols -ld /tmp
. Check for the first 10 letters in the left: they should read exactly so:drwxrwxrwt
.drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp
Else, you need to dosudo chmod a+wt /tmp
and check again.If not both, Id recommend you either
dpkg-reconfigure lightdm
- or uninstall, reinstall it.
Now press Alt+-> until you reach the login screen again, and restart.
In case if you need any assistance just put up the comment and I will look into it.
References:
http://askubuntu.com/questions/223501/ubuntu-gets-stuck-in-a-login-loop
http://askubuntu.com/questions/139491/how-to-i-change-from-gdm-to-lightdm
download file now