<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 25, 2014 at 10:02 AM, Hans de Goede <span dir="ltr"><<a href="mailto:hdegoede@redhat.com" target="_blank">hdegoede@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<div class=""><br>
On 03/25/2014 02:50 PM, Julien Cristau wrote:<br>
> On Tue, Mar 25, 2014 at 12:56:35 +0100, Hans de Goede wrote:<br>
><br>
>> When we let X allocate a new VT, systemd-logind will not recognize any<br>
>> processes running on this VT as belonging to a valid session (since there<br>
>> was no pam session opened on that tty).<br>
>><br>
>> This causes problems like PolicyKit denials for these processes.<br>
>><br>
>> ConsoleKit under Linux has been deprecated for a few years now and is no<br>
>> longer being maintained, so simply make this the default under Linux.<br>
>><br>
> That sounds like a bad idea. If people want policykit to be happy, they<br>
> should just use a display manager, IMO.<br>
<br>
</div>Well people disagree:<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=806491" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=806491</a><br><div class=""></div></blockquote><div><br></div><div>From <a href="http://cgit.freedesktop.org/xorg/app/xinit/tree/startx.cpp">http://cgit.freedesktop.org/xorg/app/xinit/tree/startx.cpp</a>:<br>
<pre><code>XCOMM This is just a sample implementation of a slightly less primitive
XCOMM interface than xinit. It looks for user .xinitrc and .xserverrc
XCOMM files, then system xinitrc and xserverrc files, else lets xinit choose
XCOMM its default. The system xinitrc should probably do things like check
XCOMM for .Xresources files and merge them in, start up a window manager,
XCOMM and pop a clock and several xterms.
XCOMM
XCOMM Site administrators are STRONGLY urged to write nicer versions.</code></pre></div><div>I assume we can't tell people who are still using startx in 2014 to just stop using it?<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="">
> Sharing a VT between X and something else smells like trouble.<br>
<br>
</div>It is not shared, X simply takes over the VT until startx exits again,<br>
and we've been doing this in Fedora for years without issues.<br>
<br>
Regards,<br>
<br>
Hans<br>
<div class=""><div class="h5">_______________________________________________<br>
<a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>
Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel" target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> Jasper<br>
</div></div>