<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5421&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] autologin tty on runit]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5421</link>
		<description><![CDATA[The most recent posts in [SOLVED] autologin tty on runit.]]></description>
		<lastBuildDate>Sun, 25 Dec 2022 15:51:33 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] autologin tty on runit]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39557#p39557</link>
			<description><![CDATA[<p>Oops, sorry, my mistake.</p><p>The relevant file is at <span class="bbc">/etc/sv/getty-tty?/run</span>. I think. Give me a minute to check...</p><p>EDIT: yup, that seems to work:</p><div class="codebox"><pre><code>#!/bin/sh -euC

# Disable service, if /dev/tty{N} does not exist. See #914788.
if ! test -c /dev/tty1 ; then
   rm /etc/service/getty-tty1
   exit 0
fi

pgrep -x getty -t tty1 &amp;&amp; exit 163
pgrep -x agetty -t tty1 &amp;&amp; exit 163
! type fgetty &gt;/dev/null 2&gt;&amp;1 || exec chpst -P fgetty tty1
exec chpst -P agetty -a empty 38400 tty1 linux</code></pre></div><p>Replace <span class="bbc">empty</span> with the actual username though, ofc.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 25 Dec 2022 15:51:33 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39557#p39557</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] autologin tty on runit]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39556#p39556</link>
			<description><![CDATA[<p>I am running devuan chimaera and i dont have the &quot;/etc/inittab&quot; file i am using runit init system and i think its using getty by default.</p>]]></description>
			<author><![CDATA[dummy@example.com (selo384)]]></author>
			<pubDate>Sun, 25 Dec 2022 15:41:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39556#p39556</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] autologin tty on runit]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39555#p39555</link>
			<description><![CDATA[<p>Edit /etc/inittab, here&#039;s the relevant section for my version in Alpine:</p><div class="codebox"><pre><code># Set up a couple of getty&#039;s
tty1::respawn:/sbin/agetty -a empty 38400 tty1
tty2::respawn:/sbin/getty 38400 tty2
tty3::respawn:/sbin/getty 38400 tty3
tty4::respawn:/sbin/getty 38400 tty4
tty5::respawn:/sbin/getty 38400 tty5
tty6::respawn:/sbin/getty 38400 tty6</code></pre></div><p>^ So that runs <span class="bbc">agetty</span> with the autologin option for my user on TTY1.</p><p>Obviously Devuan&#039;s file is different (I think it uses <span class="bbc">agetty</span> by default) but the principle is the same.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 25 Dec 2022 15:31:44 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39555#p39555</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] autologin tty on runit]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=39554#p39554</link>
			<description><![CDATA[<p>Hello i have a question what is the parameters to set the autologin on getty tty on runit init system?</p>]]></description>
			<author><![CDATA[dummy@example.com (selo384)]]></author>
			<pubDate>Sun, 25 Dec 2022 15:12:53 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=39554#p39554</guid>
		</item>
	</channel>
</rss>
