diff options
author | Ray Strode <rstrode@redhat.com> | 2012-01-31 13:47:12 -0500 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-31 20:00:36 +0100 |
commit | 8906b207d11b4e23be9d00cba7ecc80814e66b1f (patch) | |
tree | 9cf008133adc04036823880e70824119a3c631d0 /src/login | |
parent | b3e06042740e31d098fa5b629d4204db9fe556cb (diff) |
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.
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/multi-seat-x.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/login/multi-seat-x.c b/src/login/multi-seat-x.c index d0845e7cae..7133e026dc 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); |