<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4314&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] How to change system to boot to text login instead of gui]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4314</link>
		<description><![CDATA[The most recent posts in [SOLVED] How to change system to boot to text login instead of gui.]]></description>
		<lastBuildDate>Tue, 04 May 2021 12:41:24 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29608#p29608</link>
			<description><![CDATA[<div class="quotebox"><cite>bai4Iej2need wrote:</cite><blockquote><div><p>....</p><p>b) avoid the graphical login<br />edit /etc/init.d/slim (i have lightdm so I show you what I did) <br />do with your editor<br />vi&#160; /etc/init.d/lightdm<br />shift the &quot;2&quot; from line Default-Start to the line Default-Stop<br />result must look like this</p><div class="codebox"><pre><code>#! /bin/sh
### BEGIN INIT INFO
# Provides:          lightdm
# Should-Start:      console-screen kbd acpid dbus hal consolekit
# Required-Start:    $local_fs $remote_fs x11-common
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     3 4 5
# Default-Stop:      0 1 2 6
# Short-Description: Light Display Manager
# Description:       Debian init script for the Light Display Manager
### END INIT INFO</code></pre></div><p>now do </p><div class="codebox"><pre><code>update-rc.d lightdm remove
update-rc.d lightdm defaults</code></pre></div><p>should apply similarly to slim<br />worked on my desktops</p><p>do</p><div class="codebox"><pre><code>init 3 </code></pre></div><p>to start your graphical login</p><p>BR</p></div></blockquote></div><p>This did indeed work for slim also.</p><p>I also found the reason I was not getting a console login prompt was because I had added a rc.local entry and it was hanging, when I removed the entry the console login appeared as expected.</p><p>Thanks to everyone for their help.</p>]]></description>
			<author><![CDATA[dummy@example.com (hdt551)]]></author>
			<pubDate>Tue, 04 May 2021 12:41:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29608#p29608</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29607#p29607</link>
			<description><![CDATA[<p>Ah, not sure then, in that case. I&#039;ve only ever installed full devuan with slim and devuan desktop once. Every other time it&#039;s either an ultra-minimal netinstall with lightdm and it&#039;s lightdm-gtk-greeter, or a conversion from LMDE 2 or 3, with lightdm being the default dm there, and using either slick-greeter or lightdm-gtk-greeter.</p><p>If you upgrade LMDE2 to LMDE3 and apt-mark hold sysvinit-core, you end up with dual boot where sysv manages to go graphical but systemd doesn&#039;t. Can&#039;t figure out how to keep this config through to buster/beowulf, sadly.,</p>]]></description>
			<author><![CDATA[dummy@example.com (MLEvD)]]></author>
			<pubDate>Tue, 04 May 2021 12:37:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29607#p29607</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29605#p29605</link>
			<description><![CDATA[<p>Simply disable your Login-Manager (xdm, lightdm, gdm, slim - whatever you use). Now your booting ends up at a non-graphical login. Alt+ctrl+F1/2/3... gives virtual screens, again without GUI.<br />If you want to start Xorg via startx, you may need the .xinitrc file. Link your .xsession to .xinitrc or create a new file. In the simplest case your .xinitrc contains only the call of&#160; the window-manager of your choice, maybe &quot;exec xfce4-session&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (berni51)]]></author>
			<pubDate>Tue, 04 May 2021 09:37:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29605#p29605</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29604#p29604</link>
			<description><![CDATA[<p>Hi<br />If you dont get a login Prompt, check your /etc/inittab<br />look at these lines</p><div class="codebox"><pre><code>...
# The default runlevel.
id:2:initdefault:
....
# Format:
#  &lt;id&gt;:&lt;runlevels&gt;:&lt;action&gt;:&lt;process&gt;
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty&#039;s go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6</code></pre></div><p>the 6 lines shall not be commented out.</p><p>in Runlevels 4 5 you have only one text console !</p><p>b) avoid the graphical login<br />edit /etc/init.d/slim (i have lightdm so I show you what I did) <br />do with your editor<br />vi&#160; /etc/init.d/lightdm<br />shift the &quot;2&quot; from line Default-Start to the line Default-Stop<br />result must look like this</p><div class="codebox"><pre><code>#! /bin/sh
### BEGIN INIT INFO
# Provides:          lightdm
# Should-Start:      console-screen kbd acpid dbus hal consolekit
# Required-Start:    $local_fs $remote_fs x11-common
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     3 4 5
# Default-Stop:      0 1 2 6
# Short-Description: Light Display Manager
# Description:       Debian init script for the Light Display Manager
### END INIT INFO</code></pre></div><p>now do </p><div class="codebox"><pre><code>update-rc.d lightdm remove
update-rc.d lightdm defaults</code></pre></div><p>should apply similarly to slim<br />worked on my desktops</p><p>do</p><div class="codebox"><pre><code>init 3 </code></pre></div><p>to start your graphical login</p><p>BR</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Tue, 04 May 2021 09:32:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29604#p29604</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29601#p29601</link>
			<description><![CDATA[<p>Hi, I wonder if when you are at the non-login point, what happens if you &quot;ctrl-alt-F(1 to 7)? Do you get a login prompt?</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Tue, 04 May 2021 08:12:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29601#p29601</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29596#p29596</link>
			<description><![CDATA[<p>I edited /etc/inittab and set the default runlevel to 3<br />On boot, it shows it is going into runlevel 3 but still doesn&#039;t give a console prompt.<br />However, if I ssh into it and run init 4 then init 3, the console then displays a login prompt.</p>]]></description>
			<author><![CDATA[dummy@example.com (hdt551)]]></author>
			<pubDate>Tue, 04 May 2021 00:37:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29596#p29596</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29594#p29594</link>
			<description><![CDATA[<p>I tried this:</p><p>apt install lightdm<br />change line in /etc/default/grub to:<br />GRUB_CMDLINE_LINUX=&quot;text&quot;<br />run update-grub<br />apt remove slim</p><p>On reboot, I see a [warn] message from lightdm saying it found &#039;text&#039; in kernel command line and would not start.</p><p>Same result as before when I disabled slim, there is no login prompt so something is missing which gives the console login prompt.</p>]]></description>
			<author><![CDATA[dummy@example.com (hdt551)]]></author>
			<pubDate>Tue, 04 May 2021 00:24:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29594#p29594</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29593#p29593</link>
			<description><![CDATA[<div class="quotebox"><cite>MLEvD wrote:</cite><blockquote><div><p>You mean on restartup or startup? For restartup, uninstalling the graphical greeter is perfectly acceptable. To change at startup you&#039;d have to login as single user and uninstall or disable the greeter</p></div></blockquote></div><p>By startup I mean when booting up.&#160; <br />I found when I disabled slim, it did not go into graphics mode but it also didn&#039;t give me a login prompt.&#160; It was still possible to ssh into the machine though.</p><p>It isn&#039;t possible to uninstall slim, when I try that, apt wants to remove most of the OS (or at least everything to do with graphics).</p>]]></description>
			<author><![CDATA[dummy@example.com (hdt551)]]></author>
			<pubDate>Tue, 04 May 2021 00:05:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29593#p29593</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29591#p29591</link>
			<description><![CDATA[<div class="quotebox"><cite>hdt551 wrote:</cite><blockquote><div><p>Just need to figure out how to disable it on startup (I don&#039;t want to completely uninstall it).</p></div></blockquote></div><p>You mean on restartup or startup? For restartup, uninstalling the graphical greeter is perfectly acceptable. To change at startup you&#039;d have to login as single user and uninstall or disable the greeter</p><p>A hack, to disable it, is to create a large file that leaves you with enough free disk space to boot but not enough to run the greeter. When you get your login, rm that file, and you can stay right there, or startx.</p>]]></description>
			<author><![CDATA[dummy@example.com (MLEvD)]]></author>
			<pubDate>Mon, 03 May 2021 23:17:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29591#p29591</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29590#p29590</link>
			<description><![CDATA[<p>It looks like:<br />update-rc.d slim disable<br />stops it from running on boot but I also don&#039;t get a login prompt.</p><p>I will try sysv-rc-conf and see now that goes.</p>]]></description>
			<author><![CDATA[dummy@example.com (hdt551)]]></author>
			<pubDate>Mon, 03 May 2021 23:16:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29590#p29590</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29589#p29589</link>
			<description><![CDATA[<p>I think debian configures all run-levels 2-5 the same, so you&#039;ll need to change one of them, say 3, to boot up without starting a display manager (<span class="bbc">slim</span>).</p><p>There are many ways to do so. For example, you might install <span class="bbc">sysv-rc-conf</span> and run that in a terminal so as to &quot;untick&quot; the box for slim at run level 3, and then reboot with grub set to use run level 3.</p><p>I haven&#039;t tried this myself but I believe it&#039;s sufficient to avoid slim at boot up.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 03 May 2021 23:13:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29589#p29589</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29588#p29588</link>
			<description><![CDATA[<p>I am using slim and is most likely the reason why the grub command doesn&#039;t seem to work for me.</p><p>Just need to figure out how to disable it on startup (I don&#039;t want to completely uninstall it).</p>]]></description>
			<author><![CDATA[dummy@example.com (hdt551)]]></author>
			<pubDate>Mon, 03 May 2021 22:53:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29588#p29588</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29587#p29587</link>
			<description><![CDATA[<p>I&#039;ve now updated my earlier reply. It works with lightdm and hence with display managers that use lightdm. I think it was also present as a gludge in gdm. If you use something else (slim?) it may not work.</p>]]></description>
			<author><![CDATA[dummy@example.com (Marjorie)]]></author>
			<pubDate>Mon, 03 May 2021 22:42:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29587#p29587</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29586#p29586</link>
			<description><![CDATA[<p>Unfortunately setting GRUB_CMDLINE_LINUX =&quot;text&quot; or &quot;3&quot; doesn&#039;t work for me.<br />It is recognizing the change, if it set it to &quot;1&quot;, it does indeed go into single user mode.<br />(I am running update-grub after the change)</p><p>I can see the word runlevel 3 scroll by just before it switches to the gui login.</p>]]></description>
			<author><![CDATA[dummy@example.com (hdt551)]]></author>
			<pubDate>Mon, 03 May 2021 22:29:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29586#p29586</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to change system to boot to text login instead of gui]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29585#p29585</link>
			<description><![CDATA[<p>I have this working in Beowulf with lightdm and Cinnamon.</p><p>I have a GRUB_CMDLINE_LINUX=&quot;text&quot; in /etc/default/grub.</p><p>I assume that you ran update-grub to change /boot/grub/grub.cfg?</p><p>This should have put a &#039;text&#039; parameter in the linux /vmlinux.. line of your grub.cfg&#039;s menuentry.</p><p>This will start you in text mode, not sure if this will then permit you to successfully run startx - it is implemented as a simple trap in the lightdm init script (/etc/init.d/lightdm):</p><div class="codebox"><pre><code>case &quot;$1&quot; in
  start)
        CONFIGURED_DAEMON=$(basename &quot;$(cat $DEFAULT_DISPLAY_MANAGER_FILE 2&gt; /dev/null)&quot;)
        if grep -wqs text /proc/cmdline; then
            log_warning_msg &quot;Not starting Light Display Manager (lightdm); found &#039;text&#039; in kernel commandline.&quot;
        elif [ -e &quot;$DEFAULT_DISPLAY_MANAGER_FILE&quot; ] &amp;&amp; \
           [ &quot;$HEED_DEFAULT_DISPLAY_MANAGER&quot; = &quot;true&quot; ] &amp;&amp; \
           [ &quot;$CONFIGURED_DAEMON&quot; != lightdm ] ; then
                log_action_msg &quot;Not starting Light Display Manager; it is not the default display manager&quot;
        else
                log_daemon_msg &quot;Starting Light Display Manager&quot; &quot;lightdm&quot;
                start-stop-daemon --start --quiet --pidfile /var/run/lightdm.pid --name lightdm --exec $DAEMON -b|| echo -n &quot; already running&quot;
                log_end_msg $?
        fi
  ;;</code></pre></div><p>In my case this is on my mail server and I just run it headless and ssh -X into it from my desktop PC. Graphics mode (Cinnamon desktop) is installed as I used it when configuring the server and it&#039;s there if I were to need to work on the server with a keyboard and screen plugged in on my desk.</p>]]></description>
			<author><![CDATA[dummy@example.com (Marjorie)]]></author>
			<pubDate>Mon, 03 May 2021 22:23:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29585#p29585</guid>
		</item>
	</channel>
</rss>
