From: Ray Strode Date: Tue, 31 Jan 2012 18:47:12 +0000 (-0500) Subject: login: lock down input devices on extra seats X-Git-Tag: v40~25 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8906b207d11b4e23be9d00cba7ecc80814e66b1f;p=elogind.git 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. --- 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);