xserver/hw/xfree86
Hans de Goede dc48bd653c systemd-logind: Monitor systemd-logind going away
When we're using server managed-fds through systemd-logind, systemd-logind
*must* keep running while we are using it, as it does things like drmSetMaster
and drmDropMaster for us on vt-switch.

On a systemd-logind restart, we cannot simply re-connect since we will then
get a different fd for the /dev/dri/card# node, and we've tied a lot of
state to the old fd. I've discussed this with the systemd people, and in the
future there may be a restart mechanism were systemd-logind passed fds from
the old logind to the new logind. But for now there answer is simply:
"Don't restart systemd-logind", and there never really is a good reason to
restart it.

So to ensure unpleasentness if people do decide to restart systemd-logind
anyways (or when it crashes), monitor logind going away and make this a fatal
error. This avoids getting a hard-hung machine on the next vt-switch and will
hopefully quickly educate users to not restart systemd-logind while they have
an X session using it active.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-03-26 10:05:12 +10:00
..
common miinitext: introduce LoadExtensionList() to replace over LoadExtension() 2014-03-25 16:00:17 -07:00
ddc Merge remote-tracking branch 'dlespiau/20131216-4k' 2014-01-22 11:32:35 -08:00
dixmods miinitext: introduce LoadExtensionList() to replace over LoadExtension() 2014-03-25 16:00:17 -07:00
doc miinitext: introduce LoadExtensionList() to replace over LoadExtension() 2014-03-25 16:00:17 -07:00
dri xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
dri2 Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
exa xfree86/exa: xf86GetOptValString returns const char * now 2014-01-12 10:14:50 -08:00
fbdevhw xfree86/fbdevhw: Fix warnings 2014-01-12 10:14:50 -08:00
glamor_egl glamor: Add support for DRI3. 2014-03-05 13:10:24 -08:00
i2c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
int10 Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
loader Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
man Xorg: Add a suid root wrapper 2014-03-12 08:50:05 +01:00
modes edid: Add quirk for Sony Vaio Pro 13 2014-01-30 16:27:59 -08:00
os-support systemd-logind: Monitor systemd-logind going away 2014-03-26 10:05:12 +10:00
parser xfree86: unconstify driver in the XF86ConfInputClassRec 2014-02-05 14:32:23 +10:00
ramdac Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
shadowfb Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
utils Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vbe Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vgahw Link libvgahw with $(PCIACCESS_LIBS) as well 2014-01-29 15:21:55 -08:00
x86emu xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
.gitignore suid: add generated Xorg.sh to hw/xfree86/.gitignore 2014-03-26 09:48:18 +10:00
Makefile.am Buildsys: Create SUID_WRAPPER_DIR before using it 2014-03-26 09:54:16 +10:00
Xorg.sh.in Xorg: Add a suid root wrapper 2014-03-12 08:50:05 +01:00
sdksyms.sh xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xorg-wrapper.c Xorg: Add a suid root wrapper 2014-03-12 08:50:05 +01:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00