Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: ubuntu 16.04 stuck on login loop

  1. #1
    Join Date
    Sep 2007
    Location
    israel
    Beans
    323
    Distro
    Ubuntu 16.04 Xenial Xerus

    Question ubuntu 16.04 stuck on login loop

    I have a computer With Ubuntu 16.04 that stuck on login loop


    Pretty similar to what appears in this Link
    https://www.youtube.com/watch?v=OG4deLa_vK8

    I tried what he recommended but did not work

    I also tried what they recommended in the comments (to remove Nvidia's drivers)
    Also did not worked

    I do not have access to the Desktop

    how do i fix this so i will have access to my desktop
    Last edited by offir; August 3rd, 2017 at 05:31 AM.

  2. #2
    Join Date
    Jun 2010
    Location
    Underneath!
    Beans
    381
    Distro
    Xubuntu Development Release

    Re: ubuntu 16.04 stuck on login loop

    Hiya , so what've tried so far is , reinstalling xorg and xorg server and then installing ubuntu-desktop for Unity ..


    when you switch to a virtual console , run

    sudo apt-get remove --purge nvidia-*


    This is the equivalent of searching for "additional drivers": sudo ubuntu-drivers list
    then use:
    sudo ubuntu-drivers autoinstall
    After autoinstal , switch to another VT , Ctrl+Alt+F6

    sudo service lightdm restart

    now switch back to X with Ctrl+Alt+F7 , login .. did you reached the desktop ..!

    if you're still unable to login, then i suppose it's time to replace lightdm display manger and try login in with GDM or Slim , or SDDM ..

    again , from a VT , :

    sudo apt-get install gdm

    sudo service lightdm stop

    sudo dpkg-reconfigure lightdm

    the package configuration window will show ..

    select gdm instead of lightdm, press Tab to move to OK, and press Enter.

    then $ sudo reboot
    GNU / Linux Being a newbie is no excuse for being lazy! I'm only exuding positive energy, And Always Learning Something. IRC'in Freenode #ubuntu / sary SSHin' with mosh



  3. #3
    Join Date
    Sep 2007
    Location
    israel
    Beans
    323
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: ubuntu 16.04 stuck on login loop

    It did not work
    Now I do not get to the desktop either
    It keeps doing a loop as if it's trying to get to the desktop
    I tried to press Ctrl + Alt + F1-6
    But i can not
    I do not have the time to enter a user name and password
    Because it's all the time in the loop

  4. #4
    Join Date
    Jun 2010
    Location
    Underneath!
    Beans
    381
    Distro
    Xubuntu Development Release

    Re: ubuntu 16.04 stuck on login loop

    Did you install the Nvidia's driver using the .run file !
    GNU / Linux Being a newbie is no excuse for being lazy! I'm only exuding positive energy, And Always Learning Something. IRC'in Freenode #ubuntu / sary SSHin' with mosh



  5. #5
    Join Date
    Jun 2010
    Location
    Underneath!
    Beans
    381
    Distro
    Xubuntu Development Release

    Re: ubuntu 16.04 stuck on login loop

    You don't happen to have an xorg.conf.XXXXXXXX in use, or do you!

    if you purged Nvidia-* , then nouveau is loaded to be used ..

    You didn't conform , did you replaced lightdm with GDM!
    Last edited by BenginM; August 3rd, 2017 at 10:54 AM.
    GNU / Linux Being a newbie is no excuse for being lazy! I'm only exuding positive energy, And Always Learning Something. IRC'in Freenode #ubuntu / sary SSHin' with mosh



  6. #6
    Join Date
    Jun 2010
    Location
    Underneath!
    Beans
    381
    Distro
    Xubuntu Development Release

    Re: ubuntu 16.04 stuck on login loop

    Are you able to boot into recovery mode ,and drop to a root shell !

    https://wiki.ubuntu.com/RecoveryMode


    And for future reference , this is how one's supposed to install Nvidia's driver :

    https://help.ubuntu.com/community/Bi...erHowto/Nvidia
    GNU / Linux Being a newbie is no excuse for being lazy! I'm only exuding positive energy, And Always Learning Something. IRC'in Freenode #ubuntu / sary SSHin' with mosh



  7. #7
    Join Date
    Sep 2007
    Location
    israel
    Beans
    323
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: ubuntu 16.04 stuck on login loop

    Did you install the Nvidia's driver using the .run file !
    I've done all the commands you've written

    You didn't conform , did you replaced lightdm with GDM!
    yes i did


    Are you able to boot into recovery mode ,and drop to a root shell !

    https://wiki.ubuntu.com/RecoveryMode
    I did not know how
    I'll try it

  8. #8
    Join Date
    Sep 2007
    Location
    israel
    Beans
    323
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: ubuntu 16.04 stuck on login loop

    Are you able to boot into recovery mode ,and drop to a root shell !

    https://wiki.ubuntu.com/RecoveryMode
    I just tried it
    And I have a possibility

    What options do I have to choose and what to do exactly

  9. #9
    Join Date
    Jun 2010
    Location
    Underneath!
    Beans
    381
    Distro
    Xubuntu Development Release

    Re: ubuntu 16.04 stuck on login loop

    I still don't know how you have installed the nvidia driver, so i can't guide you , did you used the additional drivers GUI section or used the nvidia installer .run file from nvidia.com!
    GNU / Linux Being a newbie is no excuse for being lazy! I'm only exuding positive energy, And Always Learning Something. IRC'in Freenode #ubuntu / sary SSHin' with mosh



  10. #10
    Join Date
    Sep 2007
    Location
    israel
    Beans
    323
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: ubuntu 16.04 stuck on login loop

    I still don't know how you have installed the nvidia driver, so i can't guide you , did you used the additional drivers GUI section or used the nvidia installer .run file from nvidia.com!
    These are the steps I have taken

    when in logging desk top

    Ctrl + Alt + F1
    then
    Code:
    sudo apt-get remove --purge nvidia-*
    then
    Code:
    sudo ubuntu-drivers autoinstall
    Ctrl+Alt+F6
    Code:
    sudo service lightdm restart
    It did not work so I tried the second part

    Ctrl + Alt + F1
    Code:
    sudo apt-get install gdm
    Code:
    sudo service lightdm stop
    Code:
    sudo dpkg-reconfigure lightdm
    i select gdm instead of lightdm

    then
    Code:
     sudo reboot
    That's it

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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