{"id":9725,"date":"2020-01-12T16:11:15","date_gmt":"2020-01-12T16:11:15","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=9725"},"modified":"2024-04-24T12:13:21","modified_gmt":"2024-04-24T12:13:21","slug":"login-loop-auto-login-enabled-in-ubuntu-19-10-with-nvidia-driver","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/01\/login-loop-auto-login-enabled-in-ubuntu-19-10-with-nvidia-driver\/","title":{"rendered":"Fix Login Loop After Auto Login Enabled in Ubuntu"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-6050\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/07\/nvidia-logo245.png\" alt=\"Nvidia Linux driver\" width=\"245\" height=\"250\" \/><\/p>\n<p><b>UPDATE: The bug mentioned in this tutorial has been fixed, since Ubuntu 20.04!<\/b><\/p>\n<p>For <b>Ubuntu 19.10 with NVIDIA proprietary driver<\/b> installed, enabling user automatic login may cause infinite login loop.<\/p>\n<p>This is a known <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/gdm3\/+bug\/1845801\" target=\"_blank\" rel=\"noopener\">gdm3 bug<\/a>. Thanks to Martin, a workaround is to remove &#8220;splash&#8221; from the linux cmdline in Grub options.<\/p>\n<p><b>1.)<\/b> If you&#8217;re now at the login screen, press <b>Ctrl+Alt+F3<\/b> on keyboard to switch to tty3 command console. And type your username and password to login.<\/p>\n<p><b>2.)<\/b> If you can&#8217;t switch to tty3 command console, reboot, and choose <code>recovery mode<\/code> in grub boot menu (Advanced options).<\/p>\n<p>Then select &#8216;root &#8211; Drop to root shell prompt&#8217; and hit Enter. And run command to get write permission:<\/p>\n<pre style=\"border: none;\">mount -o rw,remount \/<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4302\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/recovery-mode.jpg\" alt=\"Recovery Mode Root Prompt\" width=\"600\" height=\"317\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/recovery-mode.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/recovery-mode-300x158.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>3.)<\/b> run command to edit grub options:<\/p>\n<pre style=\"border: none;\">sudo nano \/etc\/default\/grub<\/pre>\n<p>The command opens the configuration file with <code>nano<\/code> command line text editor. There scroll down and find out the line says:<\/p>\n<p><i>There may be more parameters in the double quotes. Leave them without change if exist.<\/i><\/p>\n<pre style=\"background: none;\">GRUB_CMDLINE_LINUX_DEFAULT=\"quiet <b>splash<\/b>\"<\/pre>\n<p>All you need to do is remove <b>splash<\/b> from the quotes. So it will be:<\/p>\n<pre style=\"background: none;\">GRUB_CMDLINE_LINUX_DEFAULT=\"quiet\"<\/pre>\n<p>Press <b>Ctrl+X<\/b>, then type <b>y<\/b> and hit Enter to save changes.<\/p>\n<p><b>4.)<\/b> Finally refresh grub options via command:<\/p>\n<pre style=\"border: none;\">sudo update-grub<\/pre>\n<p>And reboot your computer via <code>reboot<\/code> command, or run <code>exit<\/code> to exit to menu if you&#8217;re in recovery mode.<\/p>","protected":false},"excerpt":{"rendered":"<p>UPDATE: The bug mentioned in this tutorial has been fixed, since Ubuntu 20.04! For Ubuntu 19.10 with NVIDIA proprietary driver installed, enabling user automatic login may cause infinite login loop. This is a known gdm3 bug. Thanks to Martin, a workaround is to remove &#8220;splash&#8221; from the linux cmdline in Grub options. 1.) If you&#8217;re [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1865],"class_list":["post-9725","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-login-loop"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=9725"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9725\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=9725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=9725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=9725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}