Da mesi in cui chiudo il coperchio del laptop ma sono ancora collegato a un monitor, il server X mi lascia da console.
Hai qualche consiglio su come eseguire il debug?
Forse questa parte del diario di X potrebbe aiutare?
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)