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

Hans de Goede hdegoede at redhat.com
Sat Apr 5 03:09:15 PDT 2014


Hi,

On 04/04/2014 11:40 PM, Julien Cristau wrote:
> On Thu, Mar 27, 2014 at 14:18:14 +0100, Mark Kettenis wrote:
>
>> What you're basically saying is that on a modern Linux systems, the
>> historic behaviour where X allocates a new VT and occupies it is no
>> longer wanted.  This raises several questions:
>>
>> 1. Is there consensus among the various Linux distros that this really
>>     is the desired default behaviour?
>>
> I think it's going to surprise people.  I'm certainly used to being able
> to switch back to the console after running startx.  Now maybe it's not
> as big a deal as I fear, and we'll get used to the new behaviour, but I
> don't even know what the upside is...

There are 2 reasons for this change:

1) It is needed to make Xorg run without root rights
2) The old behavior creates a new session-id (as returned by getsid()),
without registering it with PAM, this breaks session managers such
as systemd-logind.

Regards,

Hans


More information about the xorg-devel mailing list