Ask Your Question

login loop, cannot log in!

asked 2016-01-11 10:09:36 -0500

fortsimba_16 gravatar image

updated 2016-01-11 13:58:26 -0500

I just rebooted my system after a week and now whenever i boot it up i am directed to the same login screen however i can no longer log in. I didn't have any password on my account so used to hit enter to login but now it just reloads the same login screen again. I cannot login with any other user because i don't have any other and login with root isn't allows. Moreover whenever i try to log in through terminal with root, it shows the last login time for an instant and then restart the session and asks me for my password again. Any help would be appreciated.

UPDATE: As i was searching for solutions to this problem i came across a person running ubuntu who had a similar issue and his was caused by some problem with samba. I think my issue might also be related to this because i remember running a cifs mount and then forgetting to unmount it. Could my problem be because of this and if it is then how should i fix it if i cannot log in?

UPDATE: I am running fedora 23 workstation edition, kernel 4.2.8-300.fc23.x84_64 running GNOME. Booting from a live CD just hangs at the splash screen, i will try it again on another computer to confirm

edit retag flag offensive close merge delete


Welcome to ask.fedora. In order for anybody here to help you, we're going to need more information than you've given us. Please edit your question to tell us which version of Fedora you're using and what Desktop Environment (DE). If you don't know, or just took the default, you're probably using Gnome. Also, have you tried booting from a LiveUSB/CD, and if so, what happens?

sideburns gravatar imagesideburns ( 2016-01-11 13:51:07 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-12 17:09:14 -0500

fortsimba_16 gravatar image

updated 2016-01-13 05:25:47 -0500

Well, no solution.

I'll write out all the steps I tried:

Terminal from login screen: correct password restarts terminal and asks for a password again

Grub selection:all 4 (including rescue have same result)

Live CD boot:rescue mode asks for password of root during boot. No password works

Live CD mount:cannot mount sda, sda1, sda2, sda3,sda4,loop1,loop2 and all other drives shown with fdisk -l. Shows busy or cannot chroot because no /bin/bash and all other files inside are un-editable (read only) or system generated files which reset upon boot.

Booting into single user mode:same results as terminal from login screen

Other information:

Grub looks ordinary

Boot sequence is mostly ordinary except some failed to start kernel module errors (unfixable from other forums solutions)

I'm gonna chalk this up to a pre-release testing software bug. If anyone else has any answers or fixes please post here for reference.

EDIT: for some things i may have forgotten, i followed 18 pages of google search results 45 articles across fedora and ubuntu. (And yes i disabled the previous solution if i got a new error). I have brainstormed this for more than 30 hours straight, most of it before posting because i dont like to post unnecessarily.

edit flag offensive delete link more


Of course you can't mound /dev/sda; that's your entire hard drive, not a partition. What you probably want to mount is /dev/sda1, if it isn't already mounted. Please edit either the question or answer with the results of fdisk -l as run in the live environment. BTW, if this issue were a "pre-release testing software bug," F23 wouldn't have been released as this would have been a show-stopper bug.

sideburns gravatar imagesideburns ( 2016-01-12 18:02:57 -0500 )edit

BTW i think this might have been a 1 in a million case since this hasn't happened to anyone else apparently ever (at least on forums). The similar result error users can still log in through terminal.

fortsimba_16 gravatar imagefortsimba_16 ( 2016-01-13 05:00:59 -0500 )edit

Check to see if /mnt/sysimage exists because if it does, your root filesystem is already mounted.

sideburns gravatar imagesideburns ( 2016-01-13 13:12:42 -0500 )edit

/mnt/sysimage does not initially exist, this might be because i don't enter the password correctly on boot.

fortsimba_16 gravatar imagefortsimba_16 ( 2016-01-13 18:04:25 -0500 )edit

The LiveUSB doesn't ask for your password and doesn't know what it is. You won't have /mnt/sysimage if you're booting from your hard drive. Sorry, I forgot to mention this.

sideburns gravatar imagesideburns ( 2016-01-13 18:20:28 -0500 )edit

Question Tools


Asked: 2016-01-11 10:09:36 -0500

Seen: 1,416 times

Last updated: Jan 13 '16