{"id":1635,"date":"2013-05-10T15:36:51","date_gmt":"2013-05-10T15:36:51","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=1635"},"modified":"2013-05-10T15:36:51","modified_gmt":"2013-05-10T15:36:51","slug":"disable-gnome-startup-in-centos","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=1635","title":{"rendered":"Disable Gnome startup in Centos"},"content":{"rendered":"<p>GDM is the GNOME Display Manager, a graphical login program for Redhat, RHEL, Fedora and CentOS Linux based systems. The X Window System by default uses the XDM display manager which needs editing files. GDM allows to customize login using GUI based tools. It also supports customization with themes.<\/p>\n<p><a href=\"http:\/\/www.cyberciti.biz\/faq\/howto-uninstall-gdm-centos-fedora-redhat-linux\/centos-gdm\/\" rel=\"attachment wp-att-8800\"><img loading=\"lazy\" decoding=\"async\" title=\"CentOS GNOME Display Manager\" alt=\"Fig.01: CentOS GNOME Display Manager\" src=\"http:\/\/files.cyberciti.biz\/uploads\/faq\/2010\/09\/centos-gdm.jpg\" width=\"500\" height=\"380\" \/><\/a><\/p>\n<p>Fig.01: CentOS GNOME Display Manager<\/p>\n<p>&nbsp;<\/p>\n<h2>Method # 1:\u00a0Delete GDM and X Window<\/h2>\n<p>Type the following command:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">#\u00a0&lt;a href=&quot;http:\/\/www.cyberciti.biz\/faq\/rhel-centos-fedora-linux-yum-command-howto\/&quot;&gt;yum groupremove &quot;X Window System&quot;&lt;\/a&gt;<\/div><\/div>\n<p>Reboot the systems:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\"># reboot<\/div><\/div>\n<h2>Method # 2: Disable GDM and X Windows Login\u00a0For All Sessions<\/h2>\n<p>Edit \/etc\/inittab, enter:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\"># vi \/etc\/inittab<\/div><\/div>\n<p>Find:<\/p>\n<pre>id:5:initdefault:<\/pre>\n<p>Replace with:<\/p>\n<pre>id:3:initdefault:<\/pre>\n<p>Save and close the file. Stop currently running GUI session:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\"># init 3<\/div><\/div>\n<h2>Method # 3: Temporarily Disable GDM and X Windows Login ForCurrent Sessions<\/h2>\n<p>Just type the following command:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\"># init 3<\/div><\/div>\n<p>To get back to GUI login session again, enter:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\"># init 5<\/div><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GDM is the GNOME Display Manager, a graphical login program for Redhat, RHEL, Fedora and CentOS Linux based systems. The X Window [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1635","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1635"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1635\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}