<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Ubuntu Linux stop / disable GNOME GUI ~ X.org</title> <atom:link href="http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: todd</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-66786</link> <dc:creator>todd</dc:creator> <pubDate>Fri, 13 Jan 2012 13:32:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-66786</guid> <description>Let me fix some formatting...
In the current release of Ubuntu upstart is used in place of init, so one should edit the files in /etc/init and &lt;em&gt;not&lt;/em&gt; modify any rc scripts (i.e. sysv-rc-conf, rcconf, update-rc are all no-no&#039;s). I can&#039;t speak to previous releases of Ubuntu, so I don&#039;t mean to suggest the original article is incorrect.
Rather than renaming /etc/init/lightdm.conf (or gdm.conf, kdm.conf, etc, as the case may be) you should create /etc/init/lightdm.override and put in it one line with just the word &lt;strong&gt;manual&lt;/strong&gt; - this will prevent upstart from starting the job automatically, and will allow it only to be started manually (hence the &quot;manual&quot; keyword). You should also remove the &lt;strong&gt;quiet&lt;/strong&gt;, &lt;strong&gt;splash&lt;/strong&gt; and &lt;strong&gt;vt.handoff=7&lt;/strong&gt; kernel parameters from your GRUB configuration - to do so, edit /etc/default/grub, change &lt;strong&gt;GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash&quot;&lt;/strong&gt; to &lt;strong&gt;GRUB_CMDLINE_LINUX_DEFAULT=&quot;&quot;&lt;/strong&gt; and run /usr/sbin/update-grub.
Ubuntu boots into runlevel 2 by default, so in my system I&#039;ve got it setup so that X does &lt;em&gt;not&lt;/em&gt; start in runlevel 2, but will in runlevel 3, 4 and 5 (which used to be the case in the days of old) - if you want to take that approach, change your /etc/init/lightdm.override file to:
&lt;pre&gt;
start on (filesystem
and runlevel [!026]
and started dbus
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udev-fallback-graphics)
stop on runlevel [0126]
&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Let me fix some formatting&#8230;</p><p>In the current release of Ubuntu upstart is used in place of init, so one should edit the files in /etc/init and <em>not</em> modify any rc scripts (i.e. sysv-rc-conf, rcconf, update-rc are all no-no&#8217;s). I can&#8217;t speak to previous releases of Ubuntu, so I don&#8217;t mean to suggest the original article is incorrect.</p><p>Rather than renaming /etc/init/lightdm.conf (or gdm.conf, kdm.conf, etc, as the case may be) you should create /etc/init/lightdm.override and put in it one line with just the word <strong>manual</strong> &#8211; this will prevent upstart from starting the job automatically, and will allow it only to be started manually (hence the &#8220;manual&#8221; keyword). You should also remove the <strong>quiet</strong>, <strong>splash</strong> and <strong>vt.handoff=7</strong> kernel parameters from your GRUB configuration &#8211; to do so, edit /etc/default/grub, change <strong>GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet splash&#8221;</strong> to <strong>GRUB_CMDLINE_LINUX_DEFAULT=&#8221;"</strong> and run /usr/sbin/update-grub.</p><p>Ubuntu boots into runlevel 2 by default, so in my system I&#8217;ve got it setup so that X does <em>not</em> start in runlevel 2, but will in runlevel 3, 4 and 5 (which used to be the case in the days of old) &#8211; if you want to take that approach, change your /etc/init/lightdm.override file to:</p><pre>
start on (filesystem
              and runlevel [!026]
              and started dbus
              and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
                      or stopped udev-fallback-graphics)
stop on runlevel [0126]
</pre>]]></content:encoded> </item> <item><title>By: todd</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-66785</link> <dc:creator>todd</dc:creator> <pubDate>Fri, 13 Jan 2012 13:29:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-66785</guid> <description>I realize this post is a couple years old, but it still shows up at the top of the search results in Google, so I suppose it&#039;s worth having accurate information.
In the current release of Ubuntu upstart is used in place of init, so one should edit the files in /etc/init and &lt;em&gt;not&lt;/em&gt; modify any rc scripts (i.e. sysv-rc-conf, rcconf, update-rc are all no-no&#039;s). I can&#039;t speak to previous releases of Ubuntu, so I don&#039;t mean to suggest the original article is incorrect.
Rather than renaming /etc/init/lightdm.conf (or gdm.conf, kdm.conf, etc, as the case may be) you should create /etc/init/lightdm.override and put in it one line with just the word &lt;pre&gt;manual&lt;/pre&gt; (without the quotes) - this will prevent upstart from starting the job automatically, and will allow it only to be started manually (hence the &quot;manual&quot; keyword). You should also remove the &lt;pre&gt;quiet&lt;/pre&gt;, &lt;pre&gt;splash&lt;/pre&gt; and &lt;pre&gt;vt.handoff=7&lt;/pre&gt; kernel parameters from your GRUB configuration - to do so, edit /etc/default/grub, change &lt;pre&gt;GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash&quot;&lt;/pre&gt; to &lt;pre&gt;GRUB_CMDLINE_LINUX_DEFAULT=&quot;&quot;&lt;/pre&gt; and run /usr/sbin/update-grub.
Ubuntu boots into runlevel 2 by default, so in my system I&#039;ve got it setup so that X does &lt;em&gt;not&lt;/em&gt; start in runlevel 2, but will in runlevel 3, 4 and 5 (which used to be the case in the days of old) - if you want to take that approach, change your /etc/init/lightdm.override file to:
&lt;blockquote&gt;
start on (filesystem
and runlevel [!026]
and started dbus
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udev-fallback-graphics)
stop on runlevel [0126]
&lt;/blockquote&gt;</description> <content:encoded><![CDATA[<p>I realize this post is a couple years old, but it still shows up at the top of the search results in Google, so I suppose it&#8217;s worth having accurate information.</p><p>In the current release of Ubuntu upstart is used in place of init, so one should edit the files in /etc/init and <em>not</em> modify any rc scripts (i.e. sysv-rc-conf, rcconf, update-rc are all no-no&#8217;s). I can&#8217;t speak to previous releases of Ubuntu, so I don&#8217;t mean to suggest the original article is incorrect.</p><p>Rather than renaming /etc/init/lightdm.conf (or gdm.conf, kdm.conf, etc, as the case may be) you should create /etc/init/lightdm.override and put in it one line with just the word<pre>manual</pre><p> (without the quotes) &#8211; this will prevent upstart from starting the job automatically, and will allow it only to be started manually (hence the &#8220;manual&#8221; keyword). You should also remove the<pre>quiet</pre><p>,<pre>splash</pre><p> and<pre>vt.handoff=7</pre><p> kernel parameters from your GRUB configuration &#8211; to do so, edit /etc/default/grub, change<pre>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"</pre><p> to<pre>GRUB_CMDLINE_LINUX_DEFAULT=""</pre><p> and run /usr/sbin/update-grub.</p><p>Ubuntu boots into runlevel 2 by default, so in my system I&#8217;ve got it setup so that X does <em>not</em> start in runlevel 2, but will in runlevel 3, 4 and 5 (which used to be the case in the days of old) &#8211; if you want to take that approach, change your /etc/init/lightdm.override file to:</p><blockquote><p> start on (filesystem<br
/> and runlevel [!026]<br
/> and started dbus<br
/> and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1<br
/> or stopped udev-fallback-graphics)</p><p>stop on runlevel [0126]</p></blockquote> ]]></content:encoded> </item> <item><title>By: adam</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-64879</link> <dc:creator>adam</dc:creator> <pubDate>Fri, 25 Nov 2011 13:35:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-64879</guid> <description>Thanks, that i was looking for too. Only this working in 11.10</description> <content:encoded><![CDATA[<p>Thanks, that i was looking for too. Only this working in 11.10</p> ]]></content:encoded> </item> <item><title>By: kurinchilion</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-63966</link> <dc:creator>kurinchilion</dc:creator> <pubDate>Sat, 29 Oct 2011 22:17:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-63966</guid> <description>good &amp; detailed post</description> <content:encoded><![CDATA[<p>good &amp; detailed post</p> ]]></content:encoded> </item> <item><title>By: HansBKK</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-61988</link> <dc:creator>HansBKK</dc:creator> <pubDate>Mon, 29 Aug 2011 06:52:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-61988</guid> <description>Zaid is DA MAN!!
only thing that worked on Natty 11.04
hope I didn&#039;t screw up my system trying all the other stuff I found.
startx gets you in manually once you&#039;ve logged in to that beautiful black and white console</description> <content:encoded><![CDATA[<p>Zaid is DA MAN!!</p><p>only thing that worked on Natty 11.04</p><p>hope I didn&#8217;t screw up my system trying all the other stuff I found.</p><p>startx gets you in manually once you&#8217;ve logged in to that beautiful black and white console</p> ]]></content:encoded> </item> <item><title>By: Zaid</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-61443</link> <dc:creator>Zaid</dc:creator> <pubDate>Wed, 10 Aug 2011 07:31:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-61443</guid> <description>Rename gdm.conf to gdm.disabled
file location: etc/init</description> <content:encoded><![CDATA[<p>Rename gdm.conf to gdm.disabled</p><p>file location: etc/init</p> ]]></content:encoded> </item> <item><title>By: mate</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-59524</link> <dc:creator>mate</dc:creator> <pubDate>Thu, 19 May 2011 22:40:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-59524</guid> <description>I have used the command as stated above (update-rc.d -f remove/defaults) with great success. I have not used it in Ubuntu 11.4 yet?
Sometimes people have problem with display drivers or what have you and need Not to get on the GUI until they&#039;ve solved the problem. So this is a great tool in fact once I made a little script out of it.</description> <content:encoded><![CDATA[<p>I have used the command as stated above (update-rc.d -f remove/defaults) with great success. I have not used it in Ubuntu 11.4 yet?<br
/> Sometimes people have problem with display drivers or what have you and need Not to get on the GUI until they&#8217;ve solved the problem. So this is a great tool in fact once I made a little script out of it.</p> ]]></content:encoded> </item> <item><title>By: phil</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-55577</link> <dc:creator>phil</dc:creator> <pubDate>Sat, 12 Feb 2011 22:09:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-55577</guid> <description>lol linux people pwned with terminals long before Windows people did.</description> <content:encoded><![CDATA[<p>lol linux people pwned with terminals long before Windows people did.</p> ]]></content:encoded> </item> <item><title>By: Junaid</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-50208</link> <dc:creator>Junaid</dc:creator> <pubDate>Tue, 19 Oct 2010 12:35:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-50208</guid> <description>Thanks... You&#039;re a real blessing. I&#039;m new to this stuff.</description> <content:encoded><![CDATA[<p>Thanks&#8230; You&#8217;re a real blessing. I&#8217;m new to this stuff.</p> ]]></content:encoded> </item> <item><title>By: ASaavedra</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-50179</link> <dc:creator>ASaavedra</dc:creator> <pubDate>Mon, 18 Oct 2010 16:03:11 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-50179</guid> <description>Junaid, you mean a console terminal? If using GNome simply go to Applications &gt; Accesories &gt; Terminal</description> <content:encoded><![CDATA[<p>Junaid, you mean a console terminal? If using GNome simply go to Applications &gt; Accesories &gt; Terminal</p> ]]></content:encoded> </item> <item><title>By: Junaid</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-50174</link> <dc:creator>Junaid</dc:creator> <pubDate>Mon, 18 Oct 2010 14:56:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-50174</guid> <description>Hi... Is there anyway I can just access a command prompt line like in Windows? And still be on the gui/gdm?</description> <content:encoded><![CDATA[<p>Hi&#8230; Is there anyway I can just access a command prompt line like in Windows? And still be on the gui/gdm?</p> ]]></content:encoded> </item> <item><title>By: ASaavedra</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-44609</link> <dc:creator>ASaavedra</dc:creator> <pubDate>Wed, 11 Nov 2009 22:18:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-44609</guid> <description>SaltwaterC: sysv-rc-conf is such a great tool, thanks for the tip! A. Saavedra</description> <content:encoded><![CDATA[<p>SaltwaterC: sysv-rc-conf is such a great tool, thanks for the tip! A. Saavedra</p> ]]></content:encoded> </item> <item><title>By: SaltwaterC</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-41275</link> <dc:creator>SaltwaterC</dc:creator> <pubDate>Tue, 21 Apr 2009 09:13:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-41275</guid> <description>&lt;code&gt;sudo apt-get install sysv-rc-conf ; sudo sysv-rc-conf&lt;/code&gt;
rcconf looks like an unfinished product besides sysv-rc-conf.</description> <content:encoded><![CDATA[<p><code>sudo apt-get install sysv-rc-conf ; sudo sysv-rc-conf</code></p><p>rcconf looks like an unfinished product besides sysv-rc-conf.</p> ]]></content:encoded> </item> <item><title>By: rkaneknight</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-40554</link> <dc:creator>rkaneknight</dc:creator> <pubDate>Mon, 02 Mar 2009 18:13:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-40554</guid> <description>I&#039;ve had a horrible time removing the GUI from Ubuntu 8  Maybe I have the wrong version, but I finally ran into this site, and installed and ran rcconf and removed gdm and a few other things related to X and some other stuff I didn&#039;t think I needed.  I&#039;m running this as a VM so the last thing I need is a bulky GUI slowing things down.  waiting for reboot...  Woot, finally a regular login prompt.  A couple errors came on the screen, but I don&#039;t care, as long as I don&#039;t have a GUI taking away my ram.</description> <content:encoded><![CDATA[<p>I&#8217;ve had a horrible time removing the GUI from Ubuntu 8  Maybe I have the wrong version, but I finally ran into this site, and installed and ran rcconf and removed gdm and a few other things related to X and some other stuff I didn&#8217;t think I needed.  I&#8217;m running this as a VM so the last thing I need is a bulky GUI slowing things down.  waiting for reboot&#8230;  Woot, finally a regular login prompt.  A couple errors came on the screen, but I don&#8217;t care, as long as I don&#8217;t have a GUI taking away my ram.</p> ]]></content:encoded> </item> <item><title>By: erkko</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-39806</link> <dc:creator>erkko</dc:creator> <pubDate>Mon, 12 Jan 2009 17:27:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-39806</guid> <description>I shall second to Bryce. And to add insult to injury: when trying to temporarily suspend some services this way, on might end up with pretty screwed system.
sudo update-rc.d -f gdm remove -- this removes all links to /etc/init.d/gdm and if you did not pay attention to their original sequence numbers... try to remove gdm this way and restore it afterwards. default restore method, you suggested, will use sequence number 20 for start and kill, original for ubuntu gdm is btw 30 for start and 01 for kill.
And because disabling gdm by itself really is not enough, one has to disable usplash also. When you use this same-old default remove -command and later on wanna restore gdm &amp; usplash, you&#039;ll end up with both of them started at the same sequence and this also means no mouse/keyboard while sitting at gdmgreeter login...
Nice enough?
commands for restoring such systems original condition would be:
update-rc.d -f gdm remove
update-rc.d -f usplash remove
update-rc.d -f gdm defaults 30 01
update-rc.d -f usplash defaults 98 02
use sudo, if need be.</description> <content:encoded><![CDATA[<p>I shall second to Bryce. And to add insult to injury: when trying to temporarily suspend some services this way, on might end up with pretty screwed system.<br
/> sudo update-rc.d -f gdm remove &#8212; this removes all links to /etc/init.d/gdm and if you did not pay attention to their original sequence numbers&#8230; try to remove gdm this way and restore it afterwards. default restore method, you suggested, will use sequence number 20 for start and kill, original for ubuntu gdm is btw 30 for start and 01 for kill.</p><p>And because disabling gdm by itself really is not enough, one has to disable usplash also. When you use this same-old default remove -command and later on wanna restore gdm &amp; usplash, you&#8217;ll end up with both of them started at the same sequence and this also means no mouse/keyboard while sitting at gdmgreeter login&#8230;</p><p>Nice enough?</p><p>commands for restoring such systems original condition would be:</p><p>update-rc.d -f gdm remove<br
/> update-rc.d -f usplash remove<br
/> update-rc.d -f gdm defaults 30 01<br
/> update-rc.d -f usplash defaults 98 02</p><p>use sudo, if need be.</p> ]]></content:encoded> </item> <item><title>By: Bryce Harrington</title><link>http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-37714</link> <dc:creator>Bryce Harrington</dc:creator> <pubDate>Mon, 31 Mar 2008 23:11:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/prevent-xorg-from-starting-in-linux/#comment-37714</guid> <description>This command should not be used by users to disable gdm:
sudo update-rc.d -f gdm remove
While it may seem to work, that&#039;s just a side effect.  This is a packager&#039;s tool, not an administration tool.
A better approach (recommended to me by slangasek, the Ubuntu release manager) is:
mv /etc/rc2.d/S30gdm /etc/rc2.d/disabled-S30gdm
mv /etc/rc2.d/K30gdm /etc/rc2.d/disabled-K30gdm</description> <content:encoded><![CDATA[<p>This command should not be used by users to disable gdm:</p><p>sudo update-rc.d -f gdm remove</p><p>While it may seem to work, that&#8217;s just a side effect.  This is a packager&#8217;s tool, not an administration tool.</p><p>A better approach (recommended to me by slangasek, the Ubuntu release manager) is:</p><p> mv /etc/rc2.d/S30gdm /etc/rc2.d/disabled-S30gdm<br
/> mv /etc/rc2.d/K30gdm /etc/rc2.d/disabled-K30gdm</p> ]]></content:encoded> </item> </channel> </rss>
