[PATCH 2/2] systemd-logind: Only use systemd-logind integration together with keeptty

Hans de Goede hdegoede at redhat.com
Sat Jan 24 00:33:53 PST 2015


Hi,

On 23-01-15 17:05, Ray Strode wrote:
> Hi,
>
>>> The fix for this is easy, we must not use systemd-logind integration when
>>> not using KeepTty, or iow we may only use systemd-logind integration together
>>> with KeepTty.
>> I think this behaviour should be documented in the man page. And maybe even
>> printf here that "-keeptty provided, disabling systemd-logind" as an Info.
> Should say '-keeptty not provided, disabling systemd-logind' right?
> i.e. you need both?
> But I wonder if a better tact would be to just implicitly assume
> -keeptty if systemd-logind
> is being used?

That is not going to fly, some people don't care about X running as
root, start in "runlevel 3" and want to do stuff like:

startx -- vt7

Which means X must open a new tty and take control of that tty.

I know this is not a very compelling use case, but at least from an
upstream pov we do not want to break any existing use-cases.

Regards,

Hans


More information about the xorg-devel mailing list