24cbb47ca8
Seats other than seat0 need custom configuration. Provide that with a default configuration file so we can share it across distros. This file intentionally does not end in .conf so it won't get picked up by the server after a normal installation. gdm, or whatever starts up the servers will have to explicitly specifiy this config file. This file replaces the one currently written by systemd's multi-seat-x binary: http://cgit.freedesktop.org/systemd/systemd/tree/src/login/multi-seat-x.c CC: Lennart Poettering <lennart@poettering.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
19 lines
598 B
Plaintext
19 lines
598 B
Plaintext
# This is the default configuration for servers on seat-1 and above.
|
|
#
|
|
# Start the server with -config non-seat0.conf.multi-seat, or alternatively
|
|
# rename the file to end in .conf and put it in the standard config
|
|
# directory (though it will apply to _all_ seats!).
|
|
#
|
|
# * Disable VT switching with Ctrl-Alt-F1
|
|
# * Force a grab on all input devices to detach them from the VT subsystem
|
|
# to avoid event leakage.
|
|
|
|
Section "ServerFlags"
|
|
Option "DontVTSwitch" "on"
|
|
EndSection
|
|
|
|
Section "InputClass"
|
|
Identifier "Force input devices to seat"
|
|
Option "GrabDevice" "on"
|
|
EndSection
|