<?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=4876&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4876</link>
		<description><![CDATA[The most recent posts in [SOLVED] Login screen appear after 4 min after setting nftable rules..]]></description>
		<lastBuildDate>Mon, 14 Feb 2022 18:55:49 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34659#p34659</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>We don&#039;t need no stinkin&#039; display manager...</p></div></blockquote></div><p>There is comfort and beauty (sometimes) in a display manager.&#160; <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> Art matters . . .</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Mon, 14 Feb 2022 18:55:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34659#p34659</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34656#p34656</link>
			<description><![CDATA[<p>LightDM runs X under the root user but GDM or console logins run X under the normal user, which is *much* better.</p><p>To start the graphical desktop automatically after login at TTY1 add this line to the end of ~/.profile:</p><div class="codebox"><pre><code>[ &quot;$(tty)&quot; = /dev/tty1 ] &amp;&amp; exec startx</code></pre></div><p>We don&#039;t need no stinkin&#039; display manager...</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 14 Feb 2022 17:48:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34656#p34656</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34655#p34655</link>
			<description><![CDATA[<p>I am using lightdm with Mate or Cinnamon, no issues, uses elogind.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Mon, 14 Feb 2022 17:32:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34655#p34655</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34647#p34647</link>
			<description><![CDATA[<p>To be able to boot in console I have just done a <span class="bbc">apt purge slim</span> <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>So I can confirm the delay problem was coming indeed from Slim.</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Mon, 14 Feb 2022 06:03:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34647#p34647</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34646#p34646</link>
			<description><![CDATA[<p>Thanks HOAS,</p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>SLiM is ancient, unmaintained and it doesn&#039;t support login sessions correctly. It probably has several other bugs as well thanks to 8 years of code rot.</p><p>Do you still experience the delay with (for example) GDM?</p></div></blockquote></div><p>I didn&#039;t tried yet, talking about display manager aka login manager, does someone have any recommendation for one that work well with devuan ? That is <a href="https://en.wikipedia.org/wiki/GNU_General_Public_License" rel="nofollow">gpl </a>? and lightweight ?</p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>How about a plain console login?</p></div></blockquote></div><p>I edited the grub command at boot with key e -&gt;<br /><span class="postimg"><img src="https://i.imgur.com/DQoz5bR.png" alt="DQoz5bR.png" /></span></p><p>and added <span class="bbc">3</span> at the end of the line <span class="bbc">Linux&#160; /boot/vmlinuz.....</span> but this is not working -&gt; it launch slim still.</p><p>So I tried with the option: <strong>Advanced options for devuan GNU/Linux</strong> then <strong>(recovery mode)</strong> that option have no delay to login with console. But I guess in that mode a lot of services are down ?</p><p>How can I login (normally 5) in console without Slim ?</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Mon, 14 Feb 2022 05:49:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34646#p34646</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34578#p34578</link>
			<description><![CDATA[<p>SLiM is ancient, unmaintained and it doesn&#039;t support login sessions correctly. It probably has several other bugs as well thanks to 8 years of code rot.</p><p>Do you still experience the delay with (for example) GDM? How about a plain console login?</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Fri, 11 Feb 2022 17:38:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34578#p34578</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34566#p34566</link>
			<description><![CDATA[<p>Still the same issue with</p><p><span class="bbc">nft list ruleset</span></p><div class="codebox"><pre><code>table ip6 Tip6 {
         chain chPR{
                   type filter hook prerouting priority filter; policy drop;
         }
}
table ip Tip {
         chain chIN{
                   type filter hook input priority filter; policy drop;
                   ct state established,related accept
                   iifname &quot;lo&quot; accept
         }
}</code></pre></div><p>on the other hand</p><div class="codebox"><pre><code>table ip Tip {
         chain chIN{
                   type filter hook input priority filter; policy drop;
                   ct state established,related accept
                   iifname &quot;lo&quot; accept
         }
}</code></pre></div><p>work !, but WHY slim would require IPv6 🤨 ?</p><p>I&#039;ve cleared <strong>/var/log/messages</strong> before testing, and nothing generate new messages.</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Fri, 11 Feb 2022 07:53:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34566#p34566</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34565#p34565</link>
			<description><![CDATA[<p>Hi HOAS,</p><p>Thanks for your reply,</p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>... @OP: what are you trying to achieve with that configuration?</p></div></blockquote></div><p> This is not my final config, but the start. Excluding everythings then make some exceptions. (opening only the necessary) <br />indeed I plan to add something like <span class="bbc">ct state {established, related} accept</span></p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>And the loopback device will also be blocked without</p><div class="codebox"><pre><code>    iifname lo accept</code></pre></div></div></blockquote></div><p>Hoo that I didn&#039;t think about it !! thx !</p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>I suspect the delay is due to either the loopback or internet block, check /var/log/messages for anything relevant.</p></div></blockquote></div><p>I will make make some tests and I will update this topics in the following hours.</p><p>Thanks again.👍</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Fri, 11 Feb 2022 05:18:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34565#p34565</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34549#p34549</link>
			<description><![CDATA[<p>^ +1</p><p>@OP: what are you trying to achieve with that configuration? It will not be possible to connect to the internet unless you allow tracked connections, like this:</p><div class="codebox"><pre><code>    ct state {established, related} accept</code></pre></div><p>And the loopback device will also be blocked without</p><div class="codebox"><pre><code>    iifname lo accept</code></pre></div><p>I suspect the delay is due to either the loopback or internet block, check /var/log/messages for anything relevant.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 10 Feb 2022 16:02:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34549#p34549</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34538#p34538</link>
			<description><![CDATA[<p>maybe just copy over the worksation.nft to <span class="bbc">/etc/nftables.conf</span> from<span class="bbc"> /usr/share/doc/nftables/examples/workstation.nft</span></p><p>backup your original nftables.conf before you do this.</p>]]></description>
			<author><![CDATA[dummy@example.com (hevidevi)]]></author>
			<pubDate>Thu, 10 Feb 2022 10:11:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34538#p34538</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34535#p34535</link>
			<description><![CDATA[<div class="quotebox"><cite>/var/log/slim.log wrote:</cite><blockquote><div><p>slim: waiting for X server to shut down</p><p>slim: waiting for x server to begin accepting connection<br />slim: Consolekit::open_session: unable to open session: The name org.freedesktop.ConsoleKit was not provided by any .service<br />slim: falling back to PAM session</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Thu, 10 Feb 2022 06:35:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34535#p34535</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34533#p34533</link>
			<description><![CDATA[<p>I made few test and this issue occur if </p><div class="codebox"><pre><code>chain input {
             type filter hook input priority 0; policy drop;
}</code></pre></div><p>or / and </p><div class="codebox"><pre><code>chain output{
             type filter hook output priority 0; policy drop;
}</code></pre></div><p>has/have policy set to drop...</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Thu, 10 Feb 2022 06:12:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34533#p34533</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34532#p34532</link>
			<description><![CDATA[<p>Same behavior when I logout, ~4min before I can see the login screen 😭</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Thu, 10 Feb 2022 05:41:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34532#p34532</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Login screen appear after 4 min after setting nftable rules.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34514#p34514</link>
			<description><![CDATA[<p>Hi everyone,</p><p>I just <a href="https://dev1galaxy.org/viewtopic.php?id=4866" rel="nofollow">installed nftable</a> on my system (thanks to <a href="http://Head_on_a_Stick" rel="nofollow">Head_on_a_Stick </a>)</p><p>Now,when I edit the </p><p>default <strong>/etc/nftables.conf</strong></p><div class="codebox"><pre><code>#!/usr/sbin/nft -f

flush ruleset

table inet filter {
         chain input {
                   type filter hook input priority 0;
         }
         chain forward {
                   type filter hook forward priority 0;
         }
         chain output{
                   type filter hook output priority 0;
         }
}</code></pre></div><p>to</p><div class="codebox"><pre><code>#!/usr/sbin/nft -f

flush ruleset

table inet filter {
         chain input {
                   type filter hook input priority 0; policy drop;
         }
         chain output{
                   type filter hook output priority 0; policy drop;
         }
}</code></pre></div><p>I reboot then my screen is black for 4Min 24Sec before I finally see the login screen.<br />When I do a <span class="bbc">/user/sbin/nft -f /etc/nftables.conf</span> the rule apply with no delay.</p><p>so I guess something at boot is conflicting with this ruleset, but what ?</p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (SpongeBOB)]]></author>
			<pubDate>Wed, 09 Feb 2022 07:06:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34514#p34514</guid>
		</item>
	</channel>
</rss>
