xserver-multidpi/hw/xfree86
Laércio de Sousa 46cf2a6093 xfree86: Keep a non-seat0 X server from touching VTs (#71258)
Updated patch following Hans de Goede's advice.

If -seat option is passed with a value different from seat0,
X server won't call xf86OpenConsole().

This is needed to avoid any race condition between seat0 and
non-seat0 X servers. If a non-seat0 X server opens a given VT
before a seat0 one which expects to open the same VT, one can
get an inactive systemd-logind graphical session for seat0.

This patch was first tested in a multiseat setup with multiple
video cards and works quite well.

I suppose it can also make things like DontVTSwitch and -sharevts
meaningless for non-seat0 seats, so it may fix bug #69477, too.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=71258
       https://bugs.freedesktop.org/show_bug.cgi?id=69477 (maybe)

See also: http://lists.x.org/archives/xorg-devel/2013-October/038391.html
          https://bugzilla.redhat.com/show_bug.cgi?id=1018196

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-01-29 15:28:55 -08:00
..
common xfree86: Keep a non-seat0 X server from touching VTs (#71258) 2014-01-29 15:28:55 -08:00
ddc Merge remote-tracking branch 'dlespiau/20131216-4k' 2014-01-22 11:32:35 -08:00
dixmods Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
doc dix: Remove refs to mi backing store from docs 2012-09-23 10:31:39 -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
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 xfree86/man: document AutoAddGPU 2013-08-01 14:45:56 +10:00
modes xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08:00
os-support Ignore a couple of format-nonliteral warnings 2014-01-22 19:56:31 -08:00
parser xfree86: Fix -Wshadow warnings 2014-01-22 19:56:31 -08: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 xfree86: Move sdksyms generation to ddx toplevel 2011-06-23 05:28:31 -07:00
Makefile.am xfree86: Don't complain when the SDK dependency file doesn't exist yet 2014-01-12 10:14:50 -08:00
sdksyms.sh xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00