Nov 30, 2012 - Just log in here with your username and password. Then, type sudo apt-get install gdm. Let it install and type sudo dpkg-reconfigure gdm and follow the prompts to set it as your login manager. Press Ctrl + Alt + F7 to get back to the login screen which should now look different.
This didn't start out as a problem with the login loop. I was attempting a clean install of Ubuntu 16 and using the new feature that allows it to detect proprietary drivers for me.
I started off with this issue
When I attempted to use the recommended Nvidia Drivers, it caused the laptop to become unstable and freeze.
I attempted the remedy from that post and it resulted in a login loop.
I have attempted this
Tried this
I have tried locating and disabling secureboot, but there is no secureboot option in the bios. This is an HP DV2000 series laptop.
Nothing is helping
![Ubuntu Ubuntu](/uploads/1/2/5/6/125616603/279010798.jpg)
Can someone help?
edit:
Guest session does the same loop.
/var/log/Xorg.0.log
shows a lot of stuff, but I took a pic of what seems relevant HereThing is the driver I first tried that started this mess was 304 drivers and the 364 drivers were supposed to be the fix according to other posts.
More editing:
I purged the nvidia files and it came back to a blank desktop w/o the interfaces so I right clicked and restored a backup.. The sidebar came back and it was running gallium. I restarted and its the blank purple screen again.
I am thinking of just reinstalling and not using nvidia drivers. The software center is telling me I have a presario and i should use 304 drivers. Its not a presario. =( At least the software center provides a suggestion for the coprocessor driver which is nice.
Community♦
MoMoMoMo
9 Answers
If you've been successfully running 16.04 with your video driver before, but the login loop issue happens after the latest software update, try this, it worked for me after trying EVERYTHING else. This is the equivalent of searching for 'additional drivers':
then use:
For me, this updated the driver for my nvidia quadroFx 3800 in a way that using
sudo apt-get install nvidia-current
would not.After autoinstall, invoke another tty (ex. ctrl+alt+f1) and
DontLoseHopeDontLoseHope
In case you really want to use the drivers provided by Nvidia from their website (they solved cublas error CUBLAS_STATUS_NOT_INITIALIZED on my NVIDIA GTX980M), the only thing that worked for me was:
Press CTRL-ALT-F1
Uninstall any previous drivers:
Uninstall the drivers from the .run file:
This should remove the login loop, so now
reboot
and login normally.Apply only if you use lightdm,Press again CTRL-ALT-F1 and do:
I used all the default options, except for the opengl, where I said no. I don't know if this is important though.
And here is the important part: DO NOT reboot. Just do:
and press CTRL-ALT-F7 to login immediately after installation. This way I never saw a login loop again.
andoumandoum
I used to have this problem and I googled it all day all night and finally found the right site for solution. It looks like the problem lies in your laptop using NVIDIA Optimus. I solve this using
Follow this installation guide here for more info http://rajat-osgyan.blogspot.co.id/2016/04/how-to-install-latest-nvidia-drivers-on.html
Lewis LoofisLewis Loofis
I had the same problem with Ubuntu 14.04 and NVIDIA-304 driver.
This driver was updated from version 304.131 to 304.132 during one of the system updates. This new driver version was the source of my problem.
Reinstalling the old driver version (304.131) solved this. Everything works fine now.
For more Info see this Launchpad bug page
Here you can find driver 304.1:https://launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304/304.131-0ubuntu0.14.04.1On the right hand side of the page choose your build (amd 64 or i386), this will open the downloads page, where you can choose your download (mine was nvidia-304_304.131-0ubuntu0.14.04.1_i386.deb ).Download and copy to a USB stick.Power on the computer with the login Loop problem, open terminal, stop lightdm:
Purge NVIDIA drivers:
Plug in the USB stick with the downoaded file, run fdisk to identify your USB stick on the computer:
(mine was /dev/sdb1)
Mount the usb stick, but first create a mount point:
Mount the usb stick:
Check if the downloaded file is present:
Install the NVIDIA driver:
(please replace the file name with the one of your download)
Unmount USB stick:
Reboot system
Hope this helps.
d a i s y3,48588 gold badges2525 silver badges4747 bronze badges
JudexJudex
I had a similar issue after messing around with my screen configs in xorg.conf via the Nvidia-control panel. I had previously been running the currently latest drivers (at the time 381.09) on my 1080 with 3 screens with no problem. But once I restarted I got the login loop.
To fix I simply:
- opened a terminal ctrl-alt-f1
- moved my renamed my xorg.conf file
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf~
- Then restarted allowing the system to workout it's own config again.
This was a very quick fix - no need to reinstall drivers etc. Which I was keen to do to avoid messing up various dependents e.g. CUDA
Peter CoghillPeter Coghill
Called the customer service and finally the problem solved. I have 2 GPUs (Geforce 1080 and 1080Ti) on my SuperMicro workstation. After install the GPU driver in a proper way that needs to go into the tty mode and stop the lightdm, you need to plug out the VGA/DVI on the motherboard and plug the monitor cable to the GPU ports. In my case, plug to the DVI of GPU 1080Ti, the login loop problem solved.
Bruce YoBruce Yo
I have had similar problems on several computers since upgrading to 16.04. First of all make sure secure boot is disabled in computer BIOS. Older computers won't even have this option.
Can you get to a command prompt by hitting Ctrl-Alt-F4? If so type your username and then your password to login. From there try typing:
and enter password when asked.
If your system says you have NVIDIA graphics then type:
Wait until this finishes and then type:
Once complete type
sudo shutdown -r now
to restart the computer. You should be booting into a functional desktop.This can also fix a login loop issue on 16.04 or a black screen with cursor problem.
Andrea Lazzarotto6,07122 gold badges2626 silver badges4949 bronze badges
![Ubuntu 18 login loop Ubuntu 18 login loop](/uploads/1/2/5/6/125616603/169462008.png)
JoshJosh
I ran into the login loop problem running Ubuntu 16.04 on a Macbook Pro Retina bought in 2012.Over the years I have always been using the nvidia-304 driver from xorg-edgers that was going fine and mostly the only working option (with uefi boot). With the latest update (Nov 4 2016 on ubuntu 16.04) this driver stopped working and I spent long time trying to figure out the problems (I had nomodeset in boot options throughout).
My solution finally was to either 1) use nouveau (surprisingly because this never worked before) putting nouveau in /etc/modules and using a xorg.conf putting nouveau as device (but performance of this driver is suboptimal even on ordinary desktop activities) or 2) actually the latest nvidia driver nvidia-367 with no xorg.conf
Ubuntu rocksUbuntu rocks
Nuance: in my case I have a rather old gfx card - GTX280What I did:
- checked at nvidia.com which driver version supports my card, in mycase it was nvidia-340
service lightdm stop
apt-get purge lightdm
apt-get purge nvidia*
apt-get install nvidia-340
apt-get install lightdm
- restarted the system
I've noted that nvidia-367 installs gdm, so after nvidia drivers installation you will have both lightdm and gdm alongside, possibley it can be the key to the problem.
George Udosen22.9k1010 gold badges5252 silver badges7878 bronze badges
Raja_KajievRaja_Kajiev
protected by Community♦Nov 27 '17 at 14:45
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged driversnvidiagraphicsloginlightdm or ask your own question.
Last Tuesday, I performed an software update for Ubuntu and related software. Seeing how they required a reboot, I restarted my PC and went to log back in. Only to find that I could not log back in due to being kicked back to the login screen again and again.
Here were some symptoms before I tried to attempt a few fixes.
- Boot up was a bit slower than usual.
- There seem to be some screen color pixelation second before booting to the login screen. I presumed this has to do with some sort of graphics driver issue, since after I tried purging the NVIDIA drivers and reinstalling some different ones, that symptom has since disappeared.
I have looked around for a couple solutions thus far, though nothing concrete in terms of results except purging the NVIDIA drivers seemed to work. While I was able to login successfully after that, it messed up the UI to the extent that it rendered it unusable.
First it changed the font to something so tiny that it was difficult to read, and it also seemed to mess with the resolution as well. Additionally, I could no longer access the UI menu at the top of the screen upon logging in. So I was forced to shutdown and reinstall the NVIDIA drivers, which brought me back to step 1.
Tried a couple other things, including updating software to see if something was missed, but to no avail. Perhaps I missed a step.
I am still a relative newbie to using Ubuntu, so any help in step by step detail would be appreciated. I will provide additional details if requested.
EDIT March 31 2018 / 10:28 PM
Got some new logs that may be of interest. http://termbin.com/8wz4shttp://termbin.com/jzefhttp://termbin.com/7nck
First two are xorgs. The last is dmesg.
Forlanceabice
ForlanceabiceForlanceabice
1 Answer
I had something similar with my Mint 18 last evening after an upgrade of the package
virtualbox-guest-utils
. Solved it by removing all virtualbox packages: sudo apt-get remove virtualbox virtualbox-dkms virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
Followed by a reboot.
Not exactly a long term solution, but hopefully it will get you a usable PC until this get fixed.
ReyssorReyssor