<?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=6500&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Want to use startx instead of slim]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6500</link>
		<description><![CDATA[The most recent posts in [SOLVED] Want to use startx instead of slim.]]></description>
		<lastBuildDate>Sun, 17 Mar 2024 19:16:56 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=49021#p49021</link>
			<description><![CDATA[<p>If putting an underscore in something in /etc/init.d does not work, then uninstall it.<br />If startx is problematic and you need to install xserver-xorg-legacy and edit /etc/Xwrapper.config, so be it.<br />Of course a fool will say that legacy is a catastrophic vulnerability.</p>]]></description>
			<author><![CDATA[dummy@example.com (bilhook)]]></author>
			<pubDate>Sun, 17 Mar 2024 19:16:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=49021#p49021</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=49011#p49011</link>
			<description><![CDATA[<p>OK, I resolved my &quot;issues&quot; installing a minimal</p><p>&#160; devuan_daedalus_5.0.1_amd64_netinstall.iso</p><p>I put the &quot;sysvinit&quot; version on /dev/sda6, and &quot;runit&quot; on /dev/sda7.&#160; In both cases, the &quot;Software selection&quot; consisted just &quot;standard system utilities&quot; [ie no &quot;Desktop Environment&quot;], and installation completed.&#160; After installation, I added xorg, openbox, tint2, lxterminal, and was able to &quot;startx&quot; to produce a welcome &quot;black screen&quot; that I can work with!</p><p>I don&#039;t know why I found this so difficult, but thanks for your patience.</p>]]></description>
			<author><![CDATA[dummy@example.com (jacksprat)]]></author>
			<pubDate>Sun, 17 Mar 2024 08:54:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=49011#p49011</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48998#p48998</link>
			<description><![CDATA[<p>Another method to get text mode with sysv, I just did this procedure, quite simple.<br />I opened </p><div class="codebox"><pre><code>sysv-rc-conf</code></pre></div><p>, for </p><div class="codebox"><pre><code>runlevel 4</code></pre></div><p> I removed the flag to run tdm, this is my display manager. Closed </p><div class="codebox"><pre><code>sysv-rc-conf</code></pre></div><p> and ran the </p><div class="codebox"><pre><code>telinit 4</code></pre></div><p> command.<br />Received a text screen with an invitation. I entered, the free command showed about 290 KB of occupied memory, in graphical mode about 490 KB.<br />To return to graphical mode, the command </p><div class="codebox"><pre><code>telinit 2</code></pre></div><p>Now, to enter in text mode, you just need to select </p><div class="codebox"><pre><code>runlevel 4</code></pre></div><p>.</p>]]></description>
			<author><![CDATA[dummy@example.com (aluma)]]></author>
			<pubDate>Sat, 16 Mar 2024 14:39:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48998#p48998</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48997#p48997</link>
			<description><![CDATA[<p>@fsmithred,@rolfie:&#160; whether I disable ALL X11 Software during installation or run &quot;update-service --remove /etc/sv/slim&quot; in the full XFCE4, reboot hangs.&#160; In the latter, ctrl-alt-f2 allows tty login, and startx produces a functioning X11 desktop.&#160; In neither of these cases have I done anything out of the ordinary.</p><p>Intel Core 2350M laptop.&#160; I can&#039;t remember the command to list graphics card, but that can&#039;t be important.</p>]]></description>
			<author><![CDATA[dummy@example.com (jacksprat)]]></author>
			<pubDate>Sat, 16 Mar 2024 14:08:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48997#p48997</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48995#p48995</link>
			<description><![CDATA[<div class="quotebox"><cite>$jacksprat wrote:</cite><blockquote><div><p> In the interim, I tried install [on a different partition] without any X11 packages, just Console stuff, and on reboot it stopped [hung] after the message &quot;Starting bluetooth:&#160; bluetoothd&quot;.&#160; I guess no-one tried that yet.</p></div></blockquote></div><p>I done that on all my latest Devuan installations including Daedalus to be able to set up the graphical desktop my way. I use netinstalls and disable anything else but the standard system utilities in the sw selection, and do a reboot past the final steps including the grub install. Never had any issues, it simply worked. Independent from if I have network or not, on real HW or in a VM. The console should come up, sometimes when firmware is missing with not so nice graphics, but still readable. No Intel or NVidea involved though, pure AMD stuff. <br />Have you left out something, skipped an important step during expert install? What kind of PC we are talking about? efi or legacy install? What did you modify versus the procedure described here: <a href="https://www.devuan.org/os/documentation/install-guides/daedalus/install-devuan" rel="nofollow">https://www.devuan.org/os/documentation … all-devuan</a> ?</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sat, 16 Mar 2024 12:30:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48995#p48995</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48994#p48994</link>
			<description><![CDATA[<p>@fsmithred:&#160; thanks, I will try that.&#160; Tried it and it hung after the message saying that the network manager was starting.&#160; I switched to tty2, and was able to login, but I am not sure what other daemons I have to prevent from running so that it will just work.</p><p>In the interim, I tried install [on a different partition] without any X11 packages, just Console stuff, and on reboot it stopped [hung] after the message &quot;Starting bluetooth:&#160; bluetoothd&quot;.&#160; I guess no-one tried that yet.</p>]]></description>
			<author><![CDATA[dummy@example.com (jacksprat)]]></author>
			<pubDate>Sat, 16 Mar 2024 11:54:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48994#p48994</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48993#p48993</link>
			<description><![CDATA[<p>@Andre: My solution keeps the user in a multi-user non-graphical session, not single-user. Only the display-manager gets disabled. Other services continue running.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 16 Mar 2024 11:12:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48993#p48993</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48992#p48992</link>
			<description><![CDATA[<p>Oh, I see, @fsmithread,<br />you were 1 minute and 1 sec quicker than I was.<br />Thanks. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Sat, 16 Mar 2024 10:59:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48992#p48992</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48991#p48991</link>
			<description><![CDATA[<p>In the past, with initsysv, there used to be a file /etc/inittab.<br />Therin are the lines :</p><div class="codebox"><pre><code># The default runlevel.
id:2:initdefault:</code></pre></div><p>Change it to </p><div class="codebox"><pre><code># The default runlevel.
id:1:initdefault:</code></pre></div><p>And your system will start up to runlevel 1 (no graphics, kind of single-user mode.</p><p>This file exists in Devuan 5 (Daedalus) with my OpenRC as the init system. I don&#039;t know how about Runit.</p><p>And, besides, you can always come back to a text console using Ctrl-Alt-F1 (or F2 or...) and then type (as root) </p><div class="codebox"><pre><code>init 1</code></pre></div><p>.<br />That&#039;s old Unix school.&#160; Good luck.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Sat, 16 Mar 2024 10:55:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48991#p48991</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48990#p48990</link>
			<description><![CDATA[<p>I would have done it this way instead: </p><div class="codebox"><pre><code>update-service --remove /etc/sv/slim</code></pre></div><p> which would not remove /etc/sv/slim but would remove the symbolic link, /etc/runit/runsvdir/default/slim. I just tested this with lightdm instead of slim, and it worked fine. Be aware that it will kill your graphical session. I&#039;m running in qemu, and it left me with a black screen. Might be different on real hardware. I rebooted and got a console login screen. And startx works.</p><p>Also note that in debian/devuan, runit will use the sysvinit script if there are no runit scripts for a service. I don&#039;t know if this has anything to do with your problem, but maybe it&#039;s a useful clue.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 16 Mar 2024 10:54:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48990#p48990</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48989#p48989</link>
			<description><![CDATA[<p>I could be wrong, but you are trying to break runlevel 2-5 to get runlevel 1.<br /><a href="https://dev1galaxy.org/viewtopic.php?id=4108" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=4108</a><br />To be honest, I don’t quite understand why this is necessary.</p>]]></description>
			<author><![CDATA[dummy@example.com (aluma)]]></author>
			<pubDate>Sat, 16 Mar 2024 08:40:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48989#p48989</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48986#p48986</link>
			<description><![CDATA[<p>Thanks GlennW, but this looks like it doesn&#039;t apply to Runit, but I&#039;ll&#160; study it further.</p>]]></description>
			<author><![CDATA[dummy@example.com (jacksprat)]]></author>
			<pubDate>Fri, 15 Mar 2024 21:57:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48986#p48986</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48985#p48985</link>
			<description><![CDATA[<p>Hi, see this post...</p><p><a href="https://dev1galaxy.org/viewtopic.php?id=5538" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=5538</a></p><p>the talk is about having X start as a non-root init. But it is workable.</p><p>You may have to read it all to glean the most workable edits for Devuan.</p><p>I hope this helps.</p><p>ps, I had it working with open-rc init system.</p><div class="quotebox"><blockquote><div><p>## Head_on_a_Stick<br />The default Xfce desktop for Devuan uses SLiM or LightDM and both run X under the root user so both are vulnerable to this exploit.</p><p>Starting the desktop via GDM or startx will cause X to be run under the normal user and so avoid this vulnerability completely.</p><p>To switch to startx either remove or disable (eg, update-rc.d slim disable) the display manager and add this line to the end of ~/.profile (or ~/.bash_profile if you use bash and have that file already) to start the desktop automatically after log in at TTY1:</p><p>[ &quot;$(tty)&quot; = /dev/tty1 ] &amp;&amp; exec startx</p><p>To change the default desktop for all users run this command:</p><p># update-alternatives --config x-session-manager</p><p>To change the default desktop on a per-user basis create a file at ~/.xsession containing the commands needed to start that desktop, as per <a href="https://wiki.debian.org/Xsession" rel="nofollow">https://wiki.debian.org/Xsession</a>.</p><p>Or just switch to Wayland :-)</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Fri, 15 Mar 2024 21:38:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48985#p48985</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Want to use startx instead of slim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48984#p48984</link>
			<description><![CDATA[<p>New install of &quot;devuan_daedalus_5.0.1_amd64_netinstall.iso&quot; with XFCE4 as the Desktop.&#160; That all worked, but I wanted to remove the &quot;slim&quot; Display Manager and login from the tty, starting X11 with &quot;startx&quot;.&#160; &#160;Have done this with Runit on Void Linux in the past, but thought I could achieve this on Devuan by moving /etc/runit/default/slim&#160; to /etc/sv-old/ [from another system, not live].&#160; However, when I reboot, the system hangs during the init phase.&#160; I couldn&#039;t see why&#160; this wouldn&#039;t &quot;just work&quot;.&#160; Can someone that has done this before me say what I am missing?&#160; Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (jacksprat)]]></author>
			<pubDate>Fri, 15 Mar 2024 20:47:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48984#p48984</guid>
		</item>
	</channel>
</rss>
