<?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=1591&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / xserver-xorg-legacy in ascii]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=1591</link>
		<description><![CDATA[The most recent posts in xserver-xorg-legacy in ascii.]]></description>
		<lastBuildDate>Tue, 01 May 2018 12:05:50 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8703#p8703</link>
			<description><![CDATA[<p>Oh, so there is already a post concerning this mess. So i guess the best way to deal with this is to follow the steps fsmithred posted?</p><p>By the way there is this interesting snipped i stumbled upon at <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814394" rel="nofollow">https://bugs.debian.org/cgi-bin/bugrepo … bug=814394</a> </p><div class="quotebox"><blockquote><div><p>Julien Cristau on 2016/02/13 +0100 @11:30:30:<br />&gt; &gt; startx does not longer work after upgrade; `grep EE<br />&gt; &gt; Xorg.log&#039; shows:<br />&gt; &gt; <br />&gt; &gt;&#160; &#160; [&#160; 1463.840] (EE) systemd-logind: failed to get<br />&gt; &gt;&#160; &#160; session: The name org.freedesktop.login1 was not<br />&gt; &gt;&#160; &#160; provided by any .service files<br />&gt; <br />&gt; X requires logind ...</p><p>It&#039;s not supposed to, when using the X wrapper and<br />needs_root_rights=yes.&#160; <strong>There used to be an upstream patch that<br />even allowed X to start without this, and skip the ioperm check<br />(it&#039;s not actually needed with KMS), which Debian dropped,<br />because I guess they want to require everyone to use systemd.</strong></p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (devuser)]]></author>
			<pubDate>Tue, 01 May 2018 12:05:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8703#p8703</guid>
		</item>
		<item>
			<title><![CDATA[Re: xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8023#p8023</link>
			<description><![CDATA[<p>I cannot recall in which order I have <em>purged</em> various packages.<br />I do know xserver-xorg-legacy was purged last.<br />I do not think the order is important though.</p><p>I startx from console as a normal user.<br />xinit and Xorg processes run with that normal user.<br />I have currently the below packages installed; no polkit, no logind, only libdbus:</p><p>- libpam0g<br />- libpam-runtime<br />- libpam-modules<br />- libpam-modules-bin<br />- xorg<br />- xserver-xorg<br />- xserver-xorg-core<br />- xserver-xorg-input-libinput<br />- xserver-xorg-input-void<br />- xserver-xorg-video-dummy<br />- xserver-xorg-video-intel<br />- xserver-xorg-video-vesa<br />- x11-xserver-utils<br />- xserver-common<br />- login<br />- eudev<br />- libdbus-1-3</p><p>My apt sources.list point to ASCII:</p><div class="codebox"><pre><code># Devuan repositories
deb https://pkgmaster.devuan.org/merged ascii main
deb https://pkgmaster.devuan.org/merged ascii-updates main
deb https://pkgmaster.devuan.org/merged ascii-security main
deb https://pkgmaster.devuan.org/merged ascii-backports main</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (mmaglis)]]></author>
			<pubDate>Sun, 18 Mar 2018 08:26:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8023#p8023</guid>
		</item>
		<item>
			<title><![CDATA[Re: xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8013#p8013</link>
			<description><![CDATA[<p>- tried it again after removing the packages I installed. It stopped working.<br />- tried if after removing dbus. Didn&#039;t work.</p><p>- installed libpam-elogind, which pulled in elogind, dbus, and something else, but not the libpolkit libraries. It works again.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 17 Mar 2018 20:41:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8013#p8013</guid>
		</item>
		<item>
			<title><![CDATA[Re: xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=8009#p8009</link>
			<description><![CDATA[<p>Obviously, something has changed. I can confirm that it now works. I had to do a few things to get it to work...</p><p>- removed xserver-xorg-legacy<br />- disbled my display manager (lxdm)<br />- tried startx, it wouldn&#039;t start.</p><p>- added elogind<br />- still wouldn&#039;t start.</p><p>-tried it with lxdm. xorg and lxdm are running as root.</p><p>- added libpolkit-gobject-1-0-elogind and libpolkit-backend-1-0-elogind, which also pulled in libpam-elogind.<br /><strong>- startx works, and everything is running as user.</strong></p><p>- tried it with lxdm again. xorg and lxdm run as root.<br />- tried it with lightdm. xorg and lightdm run as root.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 17 Mar 2018 13:17:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=8009#p8009</guid>
		</item>
		<item>
			<title><![CDATA[Re: xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7980#p7980</link>
			<description><![CDATA[<p>I am running Devuan ASCII. I had the xserver-xorg-legacy installed so far, but decided to remove it and see if things work without it.</p><p>They do! I startx from console as normal user. xinit &amp; Xorg run as normal user. <br />No elogind, no polkit, no dbus here.<br />No issue.</p><p>I have not tried it with a display manager (e.g. slim) yet.<br />Have things changed recently?</p>]]></description>
			<author><![CDATA[dummy@example.com (mmaglis)]]></author>
			<pubDate>Fri, 16 Mar 2018 18:55:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7980#p7980</guid>
		</item>
		<item>
			<title><![CDATA[Re: xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=7304#p7304</link>
			<description><![CDATA[<p>Yes, </p><p>as I came also myself in xinit not running on&#160; a minimal install without systemd, policykit and consolekit,&#160; it turns out that&#160; xserver-xorg-legacy was build specifically for&#160; &quot;legacy&quot; debian setups without systemd :</p><div class="quotebox"><blockquote><div><p>xorg-server (2:1.17.3-1) unstable; urgency=medium</p><p>The Xorg server is no longer setuid root by default. This change reduces the<br />risk of privilege escalation due to X server bugs, but has some side effects:</p><p>* <span style="color: red">it relies on </span><strong>logind</strong> and <strong>libpam-systemd</strong><br />* it relies on a kernel video driver (so the userspace component doesn&#039;t<br />touch the hardware directly) -&gt;&#160; kernel mode setting (KMS)<br />* it <strong>needs X to run on the virtual console (VT) it was started from</strong><br />* it changes the location for storing the Xorg log from /var/log/ to<br />~/.local/share/xorg/</p><p><strong>On systems where those are not available, the new xserver-xorg-legacy package<br />is needed to allow X to run with elevated privileges.</strong> See the<br />Xwrapper.config(5) manual page for configuration details.</p><p>-- Julien Cristau &lt;jcristau@debian.org&gt; Tue, 27 Oct 2015 22:54:11 +0000</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (thierrybo)]]></author>
			<pubDate>Thu, 25 Jan 2018 22:36:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=7304#p7304</guid>
		</item>
		<item>
			<title><![CDATA[Re: xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=5085#p5085</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Yes, X has been running as root forever, and that only changed with stretch. I don&#039;t know the details of how systemd works with that, but the dependence of xorg on systemd also appeared with stretch.<br />...</p></div></blockquote></div><p>The one and the other change not be of the kind to put together as similar (not saying that you are doing so).<br />The change with Xorg is praisewothy (but probably came to be because the exploits went mad on Xorg...), the other change is sad as can be...<br /><span style="color: brown">fsmithred</span>, I just sent an email to dng mailing list (and to a few Devauners of the thread on Xorg, one of them being you).<br />And then I see this documentation post...<br />Good! Let&#039;s wait and see if my email to DNG ML appears at:<br />...<br />Gosh! It appeared! Phew! Feeling muuuch better now <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" />!<br />Here:</p><p>Subject: Re: [DNG] upgrade from Debian stretch to Devuan ascii?<br /><a href="https://lists.dyne.org/lurker/message/20170918.225154.55a6b4f1.en.html" rel="nofollow">https://lists.dyne.org/lurker/message/2 … f1.en.html</a></p><p>Readers here, take note that it is absolutely best for security of your Devuan boxen if you manage to use Xorg the new way, not as root!</p><p>Happy <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> !</p>]]></description>
			<author><![CDATA[dummy@example.com (miroR)]]></author>
			<pubDate>Mon, 18 Sep 2017 23:08:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=5085#p5085</guid>
		</item>
		<item>
			<title><![CDATA[Re: xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=5041#p5041</link>
			<description><![CDATA[<p>Yes, X has been running as root forever, and that only changed with stretch. I don&#039;t know the details of how systemd works with that, but the dependence of xorg on systemd also appeared with stretch. According to the linked video, the solution is to switch to wayland. (That&#039;s an over-simplified explanation. In fact, a lot of bugs have been fixed as a result of&#160; that guy&#039;s work.)</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Thu, 14 Sep 2017 11:46:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=5041#p5041</guid>
		</item>
		<item>
			<title><![CDATA[Re: xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=5040#p5040</link>
			<description><![CDATA[<p>Well, the display manager also launches Xorg as root:</p><div class="codebox"><pre><code>root      2109  1.7  1.2 469952 99548 tty7     Ssl+ 07:52   2:31 /usr/lib/xorg/Xorg -nolisten tcp -auth /var/run/slim.auth vt07</code></pre></div><p>Or am I wrong?</p><p>Btw: Is it intrinsic to systemd to run Xorg as user?</p><p>Is there any other solution as of now?</p>]]></description>
			<author><![CDATA[dummy@example.com (korgull)]]></author>
			<pubDate>Thu, 14 Sep 2017 08:20:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=5040#p5040</guid>
		</item>
		<item>
			<title><![CDATA[Re: xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=5020#p5020</link>
			<description><![CDATA[<p>The second step will cause the X server to be started as root, which is a really bad idea(TM). The first step might already do that (since Xwrapper defaults to &quot;auto&quot;).</p><p><a href="https://media.ccc.de/v/30C3_-_5499_-_en_-_saal_1_-_201312291830_-_x_security_-_ilja_van_sprundel" rel="nofollow">https://media.ccc.de/v/30C3_-_5499_-_en … n_sprundel</a> has an introduction to X server security.</p>]]></description>
			<author><![CDATA[dummy@example.com (hunger)]]></author>
			<pubDate>Tue, 12 Sep 2017 12:05:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=5020#p5020</guid>
		</item>
		<item>
			<title><![CDATA[xserver-xorg-legacy in ascii]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=5018#p5018</link>
			<description><![CDATA[<p>To get X to work in ascii and beyond...</p><p>1. Install xserver-xorg-legacy&#160; &#160;(This might be all you need to do.)</p><p>2. (maybe)<br />If you don&#039;t use a display manager (like slim or lightdm) and want to use &#039;startx&#039; to get a graphical session, you&#039;ll need to run this command once (or edit the file manually) </p><div class="codebox"><pre><code>echo &quot;needs_root_rights=yes&quot; &gt;&gt; /etc/X11/Xwrapper.config</code></pre></div><p>3. (you tell me. I predict there will be more needed in the future.)</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 12 Sep 2017 11:18:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=5018#p5018</guid>
		</item>
	</channel>
</rss>
