{"id":1162,"date":"2020-11-08T12:49:34","date_gmt":"2020-11-08T12:49:34","guid":{"rendered":"https:\/\/naich.net\/wordpress\/?p=1162"},"modified":"2020-11-08T12:49:34","modified_gmt":"2020-11-08T12:49:34","slug":"ubuntu-20-04-lts-login-loop-fixed","status":"publish","type":"post","link":"https:\/\/naich.net\/wordpress\/index.php\/ubuntu-20-04-lts-login-loop-fixed\/","title":{"rendered":"Ubuntu 20.04 LTS Login Loop &#8211; Fixed!"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"alignright size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/naich.net\/wordpress\/wp-content\/uploads\/2020\/11\/ubuntu2004-desktop-1024x768.jpg\" alt=\"\" class=\"wp-image-1165\" width=\"295\" height=\"221\"\/><\/figure><\/div>\n\n\n\n<p>I have just upgrade 18.04 to 20.04, which went fine. But when I tried to log in, it would just dump me back at the login screen again. Looking through the logs I saw the line <\/p>\n\n\n\n<p><strong>(EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)<\/strong><\/p>\n\n\n\n<p>The permissions for \/dev\/tty7 were fine. <a href=\"https:\/\/gist.github.com\/alepez\/6273dc5220c1c5ec5f3f126e739d58bf\">Various<\/a> pages suggested solutions like removing .Xauthority, editing \/etc\/X11\/Xwrapper.config, re-configuring gdm3 or uninstalling and reinstalling gdm3 and ubuntu-desktop-simple.  <a href=\"https:\/\/letsfoss.com\/ubuntu-20-04-login-loop-fix\/\">This place<\/a> has got loads that didn&#8217;t work for me.<\/p>\n\n\n\n<p>Anyway, long story short &#8211; I noticed that there was a big delay logging in to a console. Sometimes this can be because it&#8217;s trying to mount a remote filesystem with NFS and timing out. I had 4 entries &#8211; two of which were for a computer which was turned off. They both had the &#8220;noauto&#8221; flag set, meaning they shouldn&#8217;t be mounted automatically but they were still messing up the login procedure. Commenting them out fixed the problem and I could log in normally.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have just upgrade 18.04 to 20.04, which went fine. But when I tried to log in, it would just dump me back at the login screen again. Looking through the logs I saw the line (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied) The permissions for \/dev\/tty7 were fine. Various pages suggested solutions [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74],"tags":[114,113],"class_list":["post-1162","post","type-post","status-publish","format-standard","hentry","category-geek","tag-login-loop","tag-ubuntu-20-04"],"_links":{"self":[{"href":"https:\/\/naich.net\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/naich.net\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/naich.net\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/naich.net\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/naich.net\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=1162"}],"version-history":[{"count":4,"href":"https:\/\/naich.net\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1162\/revisions"}],"predecessor-version":[{"id":1167,"href":"https:\/\/naich.net\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/1162\/revisions\/1167"}],"wp:attachment":[{"href":"https:\/\/naich.net\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=1162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/naich.net\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=1162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/naich.net\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=1162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}