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.
This commit is contained in:
committed by
Lennart Poettering
parent
b3e0604274
commit
8906b207d1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user