<?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=3348&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / login / Display managers]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3348</link>
		<description><![CDATA[The most recent posts in login / Display managers.]]></description>
		<lastBuildDate>Sun, 01 Mar 2020 12:14:55 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: login / Display managers]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20295#p20295</link>
			<description><![CDATA[<p>Thanks for the reply.<br />I know about the profile or .bashrc configs (using Linux since +20 years).</p><p>The problem was there is no shutdown in /usr/sbin and since slim complained about rights last time I set it up, it didn&#039;t occur to me to use /sbin as a user.</p><p>In this specific case I also made quite move, I confess.<br />The old machine was running a debian 9 (stretch). I installed the new one with ascii as minimal install and then generated a list of all installed packages on the old machine, which I used to install all of them on the ascii installation.</p><p>Worked surprisingly well, even tough I had to change the tde-trinity sources. <br />Anyway it&#039;s running with slim and the sudoers config. (I need to prove, if I removed the standard sudo entry and removed the normal users from the sudo group).</p>]]></description>
			<author><![CDATA[dummy@example.com (mclien)]]></author>
			<pubDate>Sun, 01 Mar 2020 12:14:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20295#p20295</guid>
		</item>
		<item>
			<title><![CDATA[Re: login / Display managers]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20292#p20292</link>
			<description><![CDATA[<div class="quotebox"><cite>mclien wrote:</cite><blockquote><div><div class="codebox"><pre><code>/usr/sbin/</code></pre></div><p>is not set in the $PATH by default.</p></div></blockquote></div><p>That is also true for /sbin so the normal user&#039;s PATH would not include the commands you&#039;ve listed in /etc/sudoers</p><p>To include the {/usr{,/local},}/sbin directories for all users edit /etc/profile and change these lines:</p><div class="codebox"><pre><code>if [ &quot;`id -u`&quot; -eq 0 ]; then
  PATH=&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin&quot;
else
  PATH=&quot;/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games&quot;
fi
export PATH</code></pre></div><p>To:</p><div class="codebox"><pre><code>if [ &quot;`id -u`&quot; -eq 0 ]; then
  PATH=&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin&quot;
else
  PATH=&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games&quot;
fi
export PATH</code></pre></div><p>Or to include them for specific users add this line to ~/.profile:</p><div class="codebox"><pre><code>PATH=&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games&quot;</code></pre></div><p>Be sure to place that before the lines setting PATH to include the user&#039;s private bin.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 01 Mar 2020 11:04:35 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20292#p20292</guid>
		</item>
		<item>
			<title><![CDATA[Re: login / Display managers]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20288#p20288</link>
			<description><![CDATA[<p>Ignore that comment that the fix is for Ceres only. I can confirm that lightdm/mate with elogind works as well with ASCII 2.0 as Beowulf (comes that way out of the box) while consolekit causes problems. Gave me a hard time when setting up ASCII directly after release. There are some threads in this forum that deal with this problem.&#160; </p><p>rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sun, 01 Mar 2020 09:38:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20288#p20288</guid>
		</item>
		<item>
			<title><![CDATA[Re: login / Display managers]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20287#p20287</link>
			<description><![CDATA[<p>Well after a nights sleep I&#039;m a bit more calm.</p><p>Unfortunately the notebook is now not in my direct reach, I can&#039;t test directly (but I have the next Notebook to install lined up).<br />(the fix here was: install slim and make it the default login manager:</p><div class="codebox"><pre><code>dpkg-reconfigure slim</code></pre></div><p>and entries in sudoers:</p><div class="codebox"><pre><code># shutdown for users
%shutdown ALL=(root) NOPASSWD: /sbin/shutdown
%shutdown ALL=(root) NOPASSWD: /sbin/halt -p
%shutdown ALL=(root) NOPASSWD: /sbin/reboot</code></pre></div><p>But someone posted in the Debian forum it might be even easier to fix:</p><div class="codebox"><pre><code>/usr/sbin/</code></pre></div><p>is not set in the $PATH by default.</p><p>I was about to proof that, but figured, that there is no shutdown in /usr/sbin anyway...</p>]]></description>
			<author><![CDATA[dummy@example.com (mclien)]]></author>
			<pubDate>Sun, 01 Mar 2020 09:03:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20287#p20287</guid>
		</item>
		<item>
			<title><![CDATA[Re: login / Display managers]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20285#p20285</link>
			<description><![CDATA[<p>I have no input for you regarding slim; I&#039;m sorry.</p><p>What I do know about is using lightdm with elogind. Another forum user already found the solution: <a href="https://dev1galaxy.org/viewtopic.php?id=2282" rel="nofollow">HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable) / Documentation / Dev1 Galaxy Forum</a></p><p>My current solution, derived from the above link:</p><div class="codebox"><pre><code>#!/bin/sh
# Reference: https://bgstack15.wordpress.com/2019/09/01/devuan-with-lightdm-and-xfce-will-not-let-user-reboot-or-shutdown-from-user-session/
# Startdate: 2019-08-11

# only for devuan ceres
sudo apt-get install --no-install-recommends libpolkit-backend-elogind-1-0 policykit-1 lightdm lightdm-gtk-greeter

sudo 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>Sun, 01 Mar 2020 03:01:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20285#p20285</guid>
		</item>
		<item>
			<title><![CDATA[login / Display managers]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20280#p20280</link>
			<description><![CDATA[<p>I just had a really annoying time while I was installing (Devuan ascii) a notebook with several desktops (trinity, lxde, xfce, openbox).<br />Almost everything went fine, except, that it is nearly impossible to allow users to perform a shutdown/reboot, which is completly stupid on a notebook.<br />I spend hours trying to fix that via policykit. Usually I do it simply by allowing all users to perform these commands via a group shutdown and an entry in sudoers.<br />Except lightdm won&#039;t do that. Well in a way.. you have to logout first and then you can do it from the login promt.</p><p>My fix is to use slim, which I like better anyway, ...BUT I just learned right after implementing my fix, that slim is pretty much abandoned. Main statement is due to &quot;not beeing fully compatible with systemd&quot;.<br />So question is (from a non programmer): Will it stay in Devuan?&#160; <br />Or more general: Can&#039;t there be unmaintained software, which is still usefull and without objections to use? Or is there realy no such thing as a software, that is simply &quot;finished&quot;?</p><p>And if there is no way to keep slim alive? Is there any other login/display manager, which simply does the same in terms of shutdown/reboot by users?</p>]]></description>
			<author><![CDATA[dummy@example.com (mclien)]]></author>
			<pubDate>Sat, 29 Feb 2020 22:15:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20280#p20280</guid>
		</item>
	</channel>
</rss>
