Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Linux Fedora 25 login screen loop

  1. #1
    Island Regular
    Join Date
    Mar 2017
    Location
    VA
    Posts
    34

    Linux Fedora 25 login screen loop

    Saturday I went to wake the machine up and got no response.
    Did a hard reboot, took some time to reboot, but it eventually recovered and came up and seemed ok.

    Received a system notification Sunday morning about low disk space.
    Logged in and found /home at 100%, never a good thing, tried running: sudo du -sh /* to see if I could locate the offending dir(s)... no luck, just a lot of "permission denied".

    Thought maybe a reboot would restore sudo, that's when it went south real fast.

    Apparently there is a GRUB login loop issue that may occur when Xwin system crashes while a sudo command is in progress (but I think F25 uses Wayland so not sure if it's still the case?).

    I can select the user, type in the password, it looks like it's logging in, but returns to the userid screen.

    I'm assuming the first unresponsive episode Saturday is what started it.

    Can't really find a fix for it at the moment, and the couple fixes I did find are over my head... so I guess I'll rebuild it.

    Luckily everything is backed up nightly.

    If you're read this far, sorry for the ramble, but that was the low point of my weekend, did get some antenna wiring done and a lot of yard work before it got hot.

    Ok, now where did I put that F25 usb iso?

    Dan
    <sig section under construction>

  2. #2
    Volcano Tamer n2ize's Avatar
    Join Date
    Dec 2007
    Location
    Crestwood, New York
    Posts
    33,728
    How is your drive partitioned ? Is everything just under one root partition ? Or do you have separate partitions for /usr, /, /usr/local, /home, etc ?? Did you try installing and running "bleachbit" ?? It enables you do find and delete cached files, temporary files, and other files that are not critical to a functioning system yet are taking up disc space. Otherwise, when the root partition fills up to 100% things start acting funny and/or not functioning at all.
    I keep my 2 feet on the ground, and my head in the twilight zone.

  3. #3
    Island Regular
    Join Date
    Mar 2017
    Location
    VA
    Posts
    34
    Partitions: /, /boot, /home /swap

    I had bleachbit installed, but my issues was the login loop. It never let me past the password screen.

    Machine is mostly rebuilt, was not too bad... some small nits, but will work through them.

    I'm done upgrades (23 to 25) by not reformatting the /home partition, just the other 3 and re-installed the s/w.

    Dan
    <sig section under construction>

  4. #4
    Volcano Tamer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,556
    Drop to a tty, and log in as root. If the root account isn't enabled, reboot into emergency mode (Or, single user). From there, clean up /home.

    You cannot login as a normal user, because normal files cannot be created in your home dir.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  5. #5
    Island Regular
    Join Date
    Mar 2017
    Location
    VA
    Posts
    34
    KC2UGV,

    Thanks for the suggestion. I hope it doesn't happen again, but I should have troubleshot it more when it also happened on a VM. Maybe then I'd have been able to recover this last time. I also need to work at the cmd line more.

    Btw, did F25 make it so root cannot access the GUI server? If I try to bring up a gui text editor or gui file manager with sudo it can't connect to the display. It's actually good, because it forces me to drop to the cli, but was wondering.

    Thanks.

  6. #6
    Volcano Tamer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,556
    Quote Originally Posted by N3XJN View Post
    KC2UGV,

    Thanks for the suggestion. I hope it doesn't happen again, but I should have troubleshot it more when it also happened on a VM. Maybe then I'd have been able to recover this last time. I also need to work at the cmd line more.

    Btw, did F25 make it so root cannot access the GUI server? If I try to bring up a gui text editor or gui file manager with sudo it can't connect to the display. It's actually good, because it forces me to drop to the cli, but was wondering.

    Thanks.
    Ah, didn't realize you had it fixed already :)

    To bring up a gui app with root perms, use gksudo, it does all the magic with the backend.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  7. #7
    Island Regular
    Join Date
    Mar 2017
    Location
    VA
    Posts
    34
    Thanks, I'll give that a try.
    It's odd that I used to be able to just - sudo gedit -or- sudo dolphin - with F23, but that stopped when I jumped to F25... oh well, will give gksudo a try.

    Btw, the XYL and I supported Sweet Meteor O'Death 2016, even have the "Voted for..." swag.
    Dan - N3XJN
    <this sig is under construction>

  8. #8
    Volcano Tamer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,556
    Quote Originally Posted by N3XJN View Post
    Thanks, I'll give that a try.
    It's odd that I used to be able to just - sudo gedit -or- sudo dolphin - with F23, but that stopped when I jumped to F25... oh well, will give gksudo a try.

    Btw, the XYL and I supported Sweet Meteor O'Death 2016, even have the "Voted for..." swag.
    I might be incorrect, but I believe in between F23 and F25, the switch to Wayland was done.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  9. #9
    Volcano Tamer n2ize's Avatar
    Join Date
    Dec 2007
    Location
    Crestwood, New York
    Posts
    33,728
    Quote Originally Posted by N3XJN View Post
    Thanks, I'll give that a try.
    It's odd that I used to be able to just - sudo gedit -or- sudo dolphin - with F23, but that stopped when I jumped to F25... oh well, will give gksudo a try.

    Btw, the XYL and I supported Sweet Meteor O'Death 2016, even have the "Voted for..." swag.
    Fedora Linux (and Linux in general) has certainly changed since I first started using it in the late 80's /early 90's when it was called "Red Hat Linux". In those days it was pretty much mandatory that you would have to compile the kernel to add additional hardware support (i.e. sound cards, modems, etc.) These days I haven't had to recompile a kernel in years.

    As far as being unable to run GUI apps as root by default I recall that going out the window as early as Fedora 20 or 21. In early versions I could just log in as root via "su root" and it would drop me into a shell from which I could just start X via "startx" and I would be in a GUI session as root from which I could launch any GUI apps. Actually dissallowing that by default does make things quite a bit safer.
    I keep my 2 feet on the ground, and my head in the twilight zone.

  10. #10
    Island Regular
    Join Date
    Mar 2017
    Location
    VA
    Posts
    34
    Yes, Wayland came in F25 I believe and recent reading this morning it's Wayland causing the issue with sudo... even broke gksudo if I read correctly. Would nee to login with classic Gnome.

    Oh well. If it forces me to use the cmd line more, for the better.
    Dan - N3XJN
    <this sig is under construction>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •