<?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=2186&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] elogind package bug]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2186</link>
		<description><![CDATA[The most recent posts in [SOLVED] elogind package bug.]]></description>
		<lastBuildDate>Sun, 01 Jul 2018 17:10:33 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] elogind package bug]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10577#p10577</link>
			<description><![CDATA[<p>I guess that&#039;s more related to XFCE than X itself then. I am running icewm with neither elogind or consolekit (obviously using xserver-xorg-legacy and needs_root_rights=yes) without problems here.</p>]]></description>
			<author><![CDATA[dummy@example.com (devuser)]]></author>
			<pubDate>Sun, 01 Jul 2018 17:10:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10577#p10577</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] elogind package bug]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10575#p10575</link>
			<description><![CDATA[<p>I read what looked like the relevant sections of the release notes and thought I understood them. Guess not.<br />When I next logged in after applying the changes described above, it was rejected with:</p><div class="codebox"><pre><code>[278857.622] (EE) systemd-logind: failed to get session: Launch helper exited with unknown return code 1</code></pre></div><p>I eventually found that with my configuration - xserver-xorg-legacy (with needs_root_rights=yes), XFCE4, console login, and calling startx from .bash_profile - I had to use consolekit for things to work.</p><p>Here is the section I had trouble with:</p><div class="quotebox"><blockquote><div><p>### Starting X from a console (TTY)</p><p>In Devuan 2.0 ASCII, the X server no longer requires to be run with<br />root privileges. As a consequence, there are some additional<br />requirements to be met when launching X directly from a TTY (i.e.,<br />through &#039;xinit&#039; or &#039;startx&#039;), especially on systems upgraded from<br />Devuan Jessie.</p><p>In Devuan 2.0 ASCII it is sufficient to install &#039;elogind&#039; and<br />&#039;libpam-elogind&#039;, and then use either &#039;startx&#039; or &#039;xinit&#039; as usual<br />from a regular user account. In this case, the Xorg log file will be<br />available under &#039;~/.local/share/xorg/&#039;.<br />...<br />Alternatively, it is still possible to run X with setuid root. In this<br />case, you need to install `xserver-xorg-legacy` and ensure that the<br />file &#039;/etc/X11/Xwrapper.config&#039; contains the (uncommented) line:</p><p>&#160; &#160; needs_root_rights=yes</p></div></blockquote></div><p>?</p>]]></description>
			<author><![CDATA[dummy@example.com (bbatten)]]></author>
			<pubDate>Sun, 01 Jul 2018 16:33:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10575#p10575</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] elogind package bug]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10369#p10369</link>
			<description><![CDATA[<p>Have you read the <span class="bbu"><a href="https://files.devuan.org/devuan_ascii/Release_notes.txt" rel="nofollow">Release Notes</a></span>?</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Sun, 24 Jun 2018 21:04:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10369#p10369</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] elogind package bug]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=10368#p10368</link>
			<description><![CDATA[<p>I&#039;ve been getting this error:</p><div class="codebox"><pre><code>Jun 24 12:47:38 Pentium90 dbus[3632]: [system] Activated service &#039;org.freedesktop.login1&#039; failed: Cannot launch daemon, file not found or permissions invalid</code></pre></div><p>&quot;locate org.freedesktop.login1&quot; shows:</p><div class="codebox"><pre><code>/usr/share/dbus-1/system-services/org.freedesktop.login1.service
/usr/share/dbus-1/system.d/org.freedesktop.login1.conf
/usr/share/polkit-1/actions/org.freedesktop.login1.policy</code></pre></div><p>&quot;dpkg -S&quot; shows &quot;/usr/share/dbus-1/system-services/org.freedesktop.login1.service&quot; to be part of elogind. That file has:</p><div class="codebox"><pre><code>[22] bryan: cat /usr/share/dbus-1/system-services/org.freedesktop.login1.service#  This file is part of elogind.
#
#  elogind is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[D-BUS Service]
Name=org.freedesktop.login1
Exec=/usr/lib/elogind/elogind --daemon
User=root
[23] bryan:</code></pre></div><p>Unfortunately <span class="bbc">/usr/lib/elogind/elogind</span> does not exist. Instead, there is <span class="bbc">/usr/lib/elogind/elogind-cgroups-agent</span>, which is listed as part of the <span class="bbc">elogind</span> package.<br />I changed the Exec line to read <span class="bbc">Exec=/usr/lib/elogind/elogind-cgroups-agent --daemon</span>. Things seem to be OK. I&#039;ll post a little later with an update on results.</p>]]></description>
			<author><![CDATA[dummy@example.com (bbatten)]]></author>
			<pubDate>Sun, 24 Jun 2018 20:49:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=10368#p10368</guid>
		</item>
	</channel>
</rss>
