What is Login Loop Problem

This is a very common problem while using CentOS or Ubuntu in Desktop system or Server system. You may restart your system and give password for login, then suddenly you cannot login to the user even if you are giving a right password. Even you will see there is no other errors are there showing in the system. Even you cannot be able to login using the Root user and password. The system is stucked basically in the login process, this is basically called login loop problem.

Why does this happens

There is no one reason of this scenario. This can happen due to many many different reason as we see. Sometimes there is permission got changes in the user profile, it happens. Sometimes the launch of the Graphical interface crashes during the login and this problem occurs. Lot of users complained that in their VPS server or Dedicated server or cloud server where they are using the CentOS or Ubuntu as Operating system, they are facing  this issue. But in the mostly server based environment you will not find any GUI, mostly CLI for the working. So there is no right reason why this happens, mostly you have to do hit and trial for the solution of the problem.

What are the possible Solutions

Try 1

If you find that noticed that some commands not working on terminal which can be opened via CTRL+ALT+F4 on login screen. Put Log in : root  Pass: root password.  This will open the # prompt there.

Then have opened a file under /etc/profile.d with root privileges

#/bin/nano /etc/profile.d/fix.sh

and added command to set missing definitions to PATH

export PATH=$PATH:/bin:/usr/local/bin:/usr/bin

Then Do the reboot.

Try 2

You can either create a new user or there are other ways to solve this problem. First login into

1
tty

by pressing CTRL+ALT+F1`

Note: Press ALT+F7 to come out from

1
tty

Solution 1: Reset the Unity and Compiz

  1. Download Unity Reset tool from here.Note: It should work with Ubuntu 14.04, 13.10 and 13.04.
  2. Reset Unity using the following command
    1
    $ unity-reset

Solution 2: Reinstall Ubuntu Desktop (i.e Unity)

1
sudo apt-get install --reinstall ubuntu-desktop

Solution 3: Install other Desktop Environment like,Gnome, KDE..etc

Now, I suggest you try Gnome Desktop. It also looks cool.

1
sudo apt-get install gnome-shell ubuntu-gnome-desktop

After trying any solution, just reboot your system.

Try 3

Press Ctrl+Alt+F3 and login into the shell.

Now run ls -lA. If you see the line

1
$-rw-------  1 root root   53 Nov 29 10:19 .Xauthority

then you need to do chown username:username .Xauthority and try logging in (you may also need to do the same for for .ICEauthority).

Else, do ls -ld /tmp. Check for the first 10 letters in the left: they should read exactly so: drwxrwxrwt.

1
$drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp

Else, you need to do sudo chmod a+wt /tmp and check again with restart.

Conclusion

Login Loop is a very annoying problem to the users. There is no fix reason for this issue. This occurs anytime. Even this three way outs are mostly people found solution. There are also other way out possible. Even sometime you may had to reinstall the whole system to recovery this.

If you find the article useful for you, please share your friends who can get help while facing problem. ‘

Please share your feedback on the comments.

1
 
1
 

Cheap Soccer Kits From Huge Manufacturers
The outlook for New York Giants defensive end Jason Pierre-Paul turned https://www.alljerseysports.com grimmer this previous week faculty football jerseys when youngsters football jerseys it was revealed the accidents he suffered to his hand during a July four fireworks incident had been much Detroit Lions jerseys worse than initially thought. sells the newest Low-cost football Jerseys and training merchandise from around the can buy cheap Soccer Jersey,Wholesale Soccer Jersey,discount Soccer Jerseyand some low cost soccer super star Jersey similar Barcelona football shirts to Low cost Messi Jerseyhere. We’re certain we’ll have the proper football kits for your workforce. We offer a variety of awards Chelsea football shirts suitable for children’s and youth football.
Our number of clearanced Staff Sports Gear ranges from Jerseys and T-Shirts to in style Philadelphia Eagles jerseys Coaches Polos and Sideline Hats. Low cost Genuine Cheap Football Jerseys Factory Liverpool football shirts Wholesale USA On-line Outlet From China Free Shipping,Wholesale NHL Hockey Jerseys Low-cost And Wholesale Nike NFL Football Jerseys Cheap And Wholesale Buffalo Bills jerseys Low cost And Wholesale Soccer Jerseys Low cost For Sale.

LEAVE A REPLY

Please enter your comment!
Please enter your name here