xserver/hw/xfree86/os-support/linux
Hans de Goede c88a325899 systemd-logind: Only use systemd-logind integration together with keeptty
systemd-logind integration does not work when starting X on a new tty, as
that detaches X from the current session and after hat systemd-logind revokes
all rights any already open fds and refuses to open new fds for X.

This means that currently e.g. "startx -- vt7" breaks, and breaks badly,
requiring ssh access to the system to kill X.

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.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Aaron Plattner <aplattner@nvidia.com>
2015-06-03 11:31:47 +02:00
..
int10 int10: Fix error check for pci_device_map_legacy 2015-03-13 12:31:21 +10:00
Makefile.am xfree86: Clean up some more alpha awareness 2014-09-16 11:58:53 -04:00
linux.h linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
lnx_acpi.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
lnx_agp.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_apm.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
lnx_bell.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
lnx_ev56.c xfree86: Remove MMIO_ONB* and friends 2014-07-28 12:19:01 -07:00
lnx_init.c linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
lnx_kmod.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_platform.c config: Replace OdevAttributes linked list with struct 2014-07-17 17:10:48 -07:00
lnx_video.c xfree86: Clean up some more alpha awareness 2014-09-16 11:58:53 -04:00
systemd-logind.c systemd-logind: Only use systemd-logind integration together with keeptty 2015-06-03 11:31:47 +02:00