Desde os meses em que fecho a tampa do laptop, mas ainda estou conectado a um monitor, o servidor X me solta no console.
Você tem algum conselho sobre como depurar?
Talvez esta parte do X log possa ajudar?
319 [ 57825.755] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
320 [ 57825.755] (II) No input driver specified, ignoring this device.
321 [ 57825.755] (II) This device may have been added with another device file.
322 [ 57825.755] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
323 [ 57825.755] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
324 [ 57825.755] (II) Using input driver 'evdev' for 'Sleep Button'
325 [ 57825.755] (**) Sleep Button: always reports core events
326 [ 57825.755] (**) evdev: Sleep Button: Device: "/dev/input/event4"
327 [ 57825.755] (--) evdev: Sleep Button: Vendor 0 Product 0x3
328 [ 57825.755] (--) evdev: Sleep Button: Found keys
329 [ 57825.755] (II) evdev: Sleep Button: Configuring as keyboard
330 [ 57825.755] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input5/event4"
331 [ 57825.755] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
Tags intel-graphics xorg debian lid