{"id":629,"date":"2019-12-06T08:17:13","date_gmt":"2019-12-06T08:17:13","guid":{"rendered":"http:\/\/blog.davcloud.top\/?p=629"},"modified":"2020-02-13T22:13:18","modified_gmt":"2020-02-13T22:13:18","slug":"solve-loop-in-removed-slice-user-slice-of-gdm","status":"publish","type":"post","link":"https:\/\/blog.davcloud.top\/?p=629","title":{"rendered":"Solve loop in removed slice user slice of gdm"},"content":{"rendered":"\n<h2>Abstract<\/h2>\n\n\n\n<p>This article aims to solve the problem of loop in &#8220;removed slice user slice of gdm&#8221; on Ubuntu 16.04 when the system is startup.<\/p>\n\n\n\n<p class=\"has-text-color has-vivid-green-cyan-color\">Note: Though this is for Ubuntu 16.04.6, it may still adapt to the similar version like Ubuntu 18.04.<\/p>\n\n\n\n<h2>Reason<\/h2>\n\n\n\n<p>It is because of the failure load of Nvidia drivers or lack of dependences. If try to run the command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nvidia-smi<\/code><\/pre>\n\n\n\n<p>It will feedback that it cannot communicate with the Nvidia drivers.<\/p>\n\n\n\n<h2>Step 1. Startup with recovery mode<\/h2>\n\n\n\n<p>Startup with recovery mode to repair system. Details can be found in Step 1 of the article below.<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress aligncenter wp-block-embed is-type-wp-embed is-provider-davcloud-blog\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"v6ZLaLzTZm\"><a href=\"https:\/\/blog.davcloud.top\/?p=469\">Remove unity desktop and install gnome instead on Ubuntu 16.04<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Remove unity desktop and install gnome instead on Ubuntu 16.04&#8221; &#8212; davcloud_Blog\" src=\"https:\/\/blog.davcloud.top\/?p=469&#038;embed=true#?secret=sROIv1PEx5#?secret=v6ZLaLzTZm\" data-secret=\"v6ZLaLzTZm\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2>Step 2. Enable network and check system<\/h2>\n\n\n\n<p>Enable network and run &#8220;dpkg&#8221; to repair broken packages as Step 2 and Step 5 in the article above.<\/p>\n\n\n\n<h2>Step 3. Resume and try to startup<\/h2>\n\n\n\n<p>Choose &#8220;resume&#8221; and try to startup. If the gnome desktop loaded again successfully, the tutorial is finished here.<\/p>\n\n\n\n<p>If not, please continue to check Nvidia driver as below.<\/p>\n\n\n\n<h2>Step 4. Start terminal with root in recovery mode<\/h2>\n\n\n\n<p>Enable network again and start the terminal with root, with Step 3 Part 1 in the referenced article above.<\/p>\n\n\n\n<h2>Step 5. Uninstall Nvidia drivers<\/h2>\n\n\n\n<p>Uninstall Nvidia driver with the command below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo \/usr\/bin\/nvidia-uninstall<\/code><\/pre>\n\n\n\n<p>Or with another command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install autoremove --purge nvidia*<\/code><\/pre>\n\n\n\n<p>Then run the command to remove unuseful dependences:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt autoremove<\/code><\/pre>\n\n\n\n<h2>Step 6. Reinstall Nvidia drives<\/h2>\n\n\n\n<p>Refer to Step 3 of the article below:<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress aligncenter wp-block-embed is-type-wp-embed is-provider-davcloud-blog\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"nSkFL9fAW0\"><a href=\"https:\/\/blog.davcloud.top\/?p=304\">Install Nvidia driver on Ubuntu 16.04<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Install Nvidia driver on Ubuntu 16.04&#8221; &#8212; davcloud_Blog\" src=\"https:\/\/blog.davcloud.top\/?p=304&#038;embed=true#?secret=wKlqd1z6zT#?secret=nSkFL9fAW0\" data-secret=\"nSkFL9fAW0\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2>Step 7. Reboot<\/h2>\n\n\n\n<p>Reboot the computer and it is OK now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Abstract This article aims to solve the problem of loop in &#8220;removed slice user slice of gdm&#8221; on Ubuntu 16.04 when the system is startup. Note: Though this is for Ubuntu 16.04.6, it may still adapt to the similar version like Ubuntu 18.04. Reason It is because of the failure load of Nvidia drivers or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[127,112,25],"_links":{"self":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts\/629"}],"collection":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=629"}],"version-history":[{"count":23,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts\/629\/revisions"}],"predecessor-version":[{"id":1163,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts\/629\/revisions\/1163"}],"wp:attachment":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}