From 8906b207d11b4e23be9d00cba7ecc80814e66b1f Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Tue, 31 Jan 2012 13:47:12 -0500 Subject: [PATCH] login: lock down input devices on extra seats We need to tell the X server to grab the keyboards and mice associated with a hotplugged seat, so that it doesn't have the ability to control the kernel vt consoles. --- src/login/multi-seat-x.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/login/multi-seat-x.c b/src/login/multi-seat-x.c index d0845e7ca..7133e026d 100644 --- a/src/login/multi-seat-x.c +++ b/src/login/multi-seat-x.c @@ -139,6 +139,11 @@ int main(int argc, char *argv[]) { "Section \"ServerFlags\"\n" " Option \"AutoAddDevices\" \"True\"\n" " Option \"AllowEmptyInput\" \"True\"\n" + " Option \"DontVTSwitch\" \"True\"\n" + "EndSection\n" + "Section \"InputClass\"\n" + " Identifier \"Force Input Devices to Seat\"\n" + " Option \"GrabDevice\" \"True\"\n" "EndSection\n", device_node); -- 2.30.2