[PATCH xinit v3 3/3] startx: Under Linux start X on the current VT
connor.behan at gmail.com
Fri Apr 4 12:35:35 PDT 2014
On 04/04/14 05:39 AM, Peter Hutterer wrote:
> On Mon, Mar 31, 2014 at 03:51:46PM +0200, 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.
>> Note we do not pass in the vt if the user has specified an alternative server
>> to start, as the vtX argument is only valid for the Xorg server, likewise we
>> omit it if the user has specified any other server arguments.
>> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
So this would cause an unrelated option like -nolisten tcp to change the
VT on which X runs? I think this violates the principle of least surprise.
I would prefer a patch that checks if X is setuid root. If so, use VT7
because that's what everyone is used to. If not, use the current VT.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 555 bytes
Desc: OpenPGP digital signature
More information about the xorg-devel