<?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=2282&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2282</link>
		<description><![CDATA[The most recent posts in HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable).]]></description>
		<lastBuildDate>Sat, 14 Sep 2019 02:48:47 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=17834#p17834</link>
			<description><![CDATA[<p>This can be shrunk into a few lines:</p><div class="codebox"><pre><code>sudo apt-get install --no-install-recommends libpolkit-gobject-elogind-1-0 policykit-1
sed -i -r -e &#039;/session\s+optional\s+pam_systemd\.so/s/systemd/elogind/;&#039; /etc/pam.d/lightdm-greeter</code></pre></div><p>Unfortunately my normal mitigations for automating the apt-get are not recommended, because of the propensity for policykit and the elogind packages to conflict with major packages, and the admin should always review what is about to be removed.<br />If you truly want an unattended process for this task:</p><div class="codebox"><pre><code>sudo apt-get install -y -q -o Dpkg::Options::=&quot;--force-confdef&quot; -o Dpkg::Options::=&quot;--force-confold&quot; -o Dpkg::Options::=&quot;--force-overwrite&quot; --no-install-recommends libpolkit-gobject-elogind-1-0 policykit-1
sed -i -r -e &#039;/session\s+optional\s+pam_systemd\.so/s/systemd/elogind/;&#039; /etc/pam.d/lightdm-greeter</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Sat, 14 Sep 2019 02:48:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=17834#p17834</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12770#p12770</link>
			<description><![CDATA[<p>I thought I should post a follow-up to my previous message to explain my situation a little better. Back in 2017 I created a customized live CD based on Debian Jessie, but <em>without</em> systemd. While testing my live CD, I discovered that the &quot;Restart&quot; and &quot;Shut Down&quot; buttons in Xfce were not working properly. Since I built my live CD with &quot;Recommends&quot; (recommended packages) disabled, I figured that I must be missing some semi-important package(s). After a little research, I guessed that installing <strong>policykit-1</strong> might fix the problem, and I was right.</p><p>To reiterate, this solution worked for me:</p><div class="codebox"><pre><code># aptitude update
# aptitude install policykit-1</code></pre></div><p>That&#039;s it!</p><p>That systemd-free Debian Jessie was installed in a VM, and later on it was dist-upgraded to Devuan ASCII. The upgrade went smoothly, and afterward LightDM continued to work normally. I don&#039;t know what the best solution to this problem is, but I thought I should chime in with my experience in case the information is helpful to someone.</p><p>Phil</p>]]></description>
			<author><![CDATA[dummy@example.com (pcalvert)]]></author>
			<pubDate>Tue, 13 Nov 2018 00:23:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12770#p12770</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12750#p12750</link>
			<description><![CDATA[<div class="codebox"><pre><code> ,------+-----.  
 |   Please   |  
 | wiki this. |  
 `------+-----´   
     _  |  _
    ò.ó/|\°v°
   (|_|   |_|\
----^-^---^-^---</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (yeti)]]></author>
			<pubDate>Sun, 11 Nov 2018 08:38:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12750#p12750</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12748#p12748</link>
			<description><![CDATA[<div class="quotebox"><cite>fred43 wrote:</cite><blockquote><div><p>Step 1:<br />Check that<br />&#160; &#160;<span class="bbc">libpam-elogind, elogind, libelogind0, libpolkit-backend-elogind-1-0,<br />&#160; &#160;libpolkit-gobject-elogind-1-0 and policykit-1</span> is *installed*.</p></div></blockquote></div><p>I am using LightDM and I don&#039;t have those packages installed, <em>except</em> for <strong>policykit-1</strong>. I am also using Xfce, and the &quot;Restart&quot; and &quot;Shut Down&quot; buttons work fine. Is there something else broken that I&#039;ve missed?</p><p>Phil</p>]]></description>
			<author><![CDATA[dummy@example.com (pcalvert)]]></author>
			<pubDate>Sun, 11 Nov 2018 02:58:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12748#p12748</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12388#p12388</link>
			<description><![CDATA[<p>Thank you for the HOWTO. I have to install lxdm to get power/restart buttons work with Cinnamon. Now lightdm works. I did have to edit lightdm configuration to achieve the desired options, though.<br /><a href="https://dev1galaxy.org/viewtopic.php?pid=12387#p12387" rel="nofollow">https://dev1galaxy.org/viewtopic.php?pid=12387#p12387</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Debuser2018)]]></author>
			<pubDate>Mon, 22 Oct 2018 06:26:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12388#p12388</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12382#p12382</link>
			<description><![CDATA[<p>From various user installs that point to the fact, is it as simple that LightDM=elogind and slim=consolekit?&#160; Is it that the login manager is what really matters in regards to the polkit, and the subsequent desktop environment doesnt care?&#160; Has anyone experienced an install combination that doest adhere to this rule?</p>]]></description>
			<author><![CDATA[dummy@example.com (dxrobertson)]]></author>
			<pubDate>Sun, 21 Oct 2018 23:55:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12382#p12382</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12361#p12361</link>
			<description><![CDATA[<p><a href="https://dev1galaxy.org/viewtopic.php?pid=12356" rel="nofollow">https://dev1galaxy.org/viewtopic.php?pid=12356</a></p><p>I installed Devuan 2 + MATE, which defaults to Slim display manager.<br />To see users list at the graphic login interface, I needed to switch to LightDM, and it worked with only this command:</p><div class="codebox"><pre><code>sudo apt-get install lightdm libpolkit-backend-elogind-1-0</code></pre></div><p>(reboot and shutdown work)<br />Today I&#039;ve edited /etc/pam.d/lightdm-greeter to replace the use of pam_systemd.so by pam_elogind.so , although I don&#039;t know what it is necessary for.</p><p>Devuan 2 needs some packages fix to allow a cleaner switch between Slim and LightDM:</p><ul><li><p>lightdm should deped on libpolkit-backend-elogind-1-0</p></li><li><p>slim should deped on libpolkit-backend-consolekit-1-0</p></li><li><p>task-mate-desktop should depend on any of libpolkit-backend-consolekit-1-0 | libpolkit-backend-elogind-1-0</p></li></ul><p>Without this last fix, installing libpolkit-backend-elogind-1-0 it&#039;s also removed task-mate-desktop and some other packages are suggested for autoremoval: gnome-orca speech-dispatcher libreoffice-gtk3 etc.</p>]]></description>
			<author><![CDATA[dummy@example.com (narcisgarcia)]]></author>
			<pubDate>Sun, 21 Oct 2018 10:20:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12361#p12361</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11197#p11197</link>
			<description><![CDATA[<div class="quotebox"><cite>Andre4freedom wrote:</cite><blockquote><div><p>Hello fred43 and all<br />fred43, you are a genius, your solution works perfectly well on a fresh ascii-install. I tested it with Cinnamon and OpenRC. I&#039;m delighted the lightdm is the display manager by default now.<br />Thank you, well done!</p></div></blockquote></div><p>It is the default for Cinnamon.&#160; Xfce uses slim etc.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Thu, 09 Aug 2018 21:24:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11197#p11197</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11196#p11196</link>
			<description><![CDATA[<p>Hello fred43 and all<br />fred43, you are a genius, your solution works perfectly well on a fresh ascii-install. I tested it with Cinnamon and OpenRC. I&#039;m delighted the lightdm is the display manager by default now.<br />Thank you, well done!</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Thu, 09 Aug 2018 20:13:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11196#p11196</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11137#p11137</link>
			<description><![CDATA[<p>Thanks for the feedback.</p><p>Yes, it would be nice and helpful if a MATE user could verify that the outlined procedure also works for that environment.</p>]]></description>
			<author><![CDATA[dummy@example.com (fred43)]]></author>
			<pubDate>Sun, 05 Aug 2018 11:09:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11137#p11137</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11120#p11120</link>
			<description><![CDATA[<p>I can verify this as I just performed a LightDM with XFCE install myself.&#160; I first installed LightDM and then the xfce4 package.&#160; Had the normal permission problems associated with libpolkit, I then replaced consolkit with elogind and all is well.&#160; </p><p>I have tested both LightDM + elogind with KDE as well as XFCE and both work.&#160; I wonder if LightDM + elogind works with MATE, anyone test it?&#160; From looking at the release notes, it appears slim is who likes consolekit.&#160; It would be nice to completely replace consolekit with elogind.</p>]]></description>
			<author><![CDATA[dummy@example.com (dxrobertson)]]></author>
			<pubDate>Sat, 04 Aug 2018 18:43:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11120#p11120</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11119#p11119</link>
			<description><![CDATA[<p>I don&#039;t mind at all. Thank you.</p>]]></description>
			<author><![CDATA[dummy@example.com (fred43)]]></author>
			<pubDate>Sat, 04 Aug 2018 13:04:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11119#p11119</guid>
		</item>
		<item>
			<title><![CDATA[Re: HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11116#p11116</link>
			<description><![CDATA[<p>Very nice first post!&#160; Thank you.&#160; I imagine that quite a few users will get sent here to sort things out.</p><p>Hope you don&#039;t mind that I played a bit with the formatting to make it easier to read.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Sat, 04 Aug 2018 09:18:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11116#p11116</guid>
		</item>
		<item>
			<title><![CDATA[HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=11114#p11114</link>
			<description><![CDATA[<p>Preamble:</p><p>IMHO, using &quot;elogind and friends&quot; has the potential of making life a<br />little bit easier for the Devuan nosystemd-DE developers/maintainers.</p><p>Have you swapped out &#039;slim&#039; for &#039;lightdm&#039; (with libpam-elogind) and<br />consequently the reboot and shutdown does not work as advertised?</p><p>Don&#039;t despair, it can be fixed in 3 easy steps.</p><p>-----<br />Do the following as Root</p><p>Step 1:<br />Check that<br />&#160; &#160;<span class="bbc">libpam-elogind, elogind, libelogind0, libpolkit-backend-elogind-1-0,<br />&#160; &#160;libpolkit-gobject-elogind-1-0 and policykit-1</span> is *installed*.</p><p>and make sure that<br />&#160; &#160;<span class="bbc">consolekit, libpolkit-backend-consolekit-1-0,<br />&#160; &#160;libpolkit-gobject-consolekit-1-0, libck-connector0 and<br />&#160; &#160;libpam-ck-connector</span> is *uninstalled*</p><p>Step 2:<br />Then go to /etc/pam.d/ and edit the file lightdm-greeter to look thus:</p><div class="codebox"><pre><code>   #added &#039;#&#039;
   #session   optional pam_systemd.so
   #added a new line
   session   optional pam_elogind.so</code></pre></div><p>Step 3:<br />Reboot the system<br />-----</p><p>You can now reboot or shutdown from the Lighdm or from the Xfce4 DE just<br />like in the olden days but now with &quot;elogind and friends&quot; in place. BTW,<br />the command &#039;who&#039; is also working correctly.</p>]]></description>
			<author><![CDATA[dummy@example.com (fred43)]]></author>
			<pubDate>Sat, 04 Aug 2018 08:27:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=11114#p11114</guid>
		</item>
	</channel>
</rss>
