[PATCH xinit 2/3] startx: Under Linux start X on the current VT

Hans de Goede hdegoede at redhat.com
Tue Mar 25 07:02:45 PDT 2014


Hi,

On 03/25/2014 02:50 PM, Julien Cristau wrote:
> On Tue, Mar 25, 2014 at 12:56:35 +0100, Hans de Goede wrote:
> 
>> When we let X allocate a new VT, systemd-logind will not recognize any
>> processes running on this VT as belonging to a valid session (since there
>> was no pam session opened on that tty).
>>
>> This causes problems like PolicyKit denials for these processes.
>>
>> ConsoleKit under Linux has been deprecated for a few years now and is no
>> longer being maintained, so simply make this the default under Linux.
>>
> That sounds like a bad idea.  If people want policykit to be happy, they
> should just use a display manager, IMO.

Well people disagree:
https://bugzilla.redhat.com/show_bug.cgi?id=806491

> Sharing a VT between X and something else smells like trouble.

It is not shared, X simply takes over the VT until startx exits again,
and we've been doing this in Fedora for years without issues.

Regards,

Hans


More information about the xorg-devel mailing list