Kali on a Latitude 7490 INTEL UDH 620, BIOS flash update and everything. I removed NVIDIA drivers. I uninstalled ligthtdm and replaced it with xdm. I have plenty of swap on the SSD
I have
Code:
HandleLidSwitch=ignore in  /etc/systemd/logind.conf.
All the power settings are set to NEVER. display management is unchecked. The laptop won't stay on and I lose the screen, no back-light even, I plug hdmi to an external monitor but no signal. If I reboot and start with an accessible session and plug HDMI after boot, close the lid it stays on the external monitor. It doesn't make a difference whether the charger is plugged in or not.
Below is the Journlctl output:


Thank you


Code:
Dec 11 15:57:28 sh systemd-logind[576]: Lid closed.
ec 11 15:58:55 sh systemd-logind[576]: Lid closed.
Dec 11 16:09:22 sh kernel: Command line: BOOT_IMAGE=/@rootfs/boot/vmlinuz-5.14.0-kali4-amd64 root=UUID=7d618802-9c37-4b9a-981e-0bbb1d1460d4 ro rootflags=subvol=@rootfs quiet splash
Dec 11 16:09:22 sh kernel: secureboot: Secure boot could not be determined (mode 0)
Dec 11 16:09:22 sh kernel: No NUMA configuration found


Dec 11 16:09:22 sh kernel: PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
Dec 11 16:09:22 sh kernel: PM: hibernation: Registered nosave memory: [mem 0x00058000-0x00058fff]
Dec 11 16:09:22 sh kernel: PM: hibernation: Registered nosave memory: [mem 0x0009e000-0x000fffff]
Dec 11 16:09:22 sh kernel: PM: hibernation: Registered nosave memory: [mem 0xb90d4000-0xb90d4fff]
Dec 11 16:09:22 sh kernel: PM: hibernation: Registered nosave memory: [mem 0xb90d5000-0xb90d5fff]
 intel_pstate: Intel P-state driver initializing
 Dec 11 16:09:22 sh kernel: BIOS-e820: [mem 0x00000000cb490000-0x000Lid closed00000cb5fefff] type 20
 Dec 11 16:09:22 sh kernel: secureboot: Secure boot could not be determined (mode 0)ta3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Dec 11 14:12:22 sh kernel: ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Dec 11 14:12:22 sh kernel: ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
Dec 11 14:12:22 sh kernel: ata3.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Dec 11 14:12:22 sh kernel: ata3.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
Dec 11 14:12:22 sh kernel: ata3.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
I: Added _OSI(Processor Aggregator Device)
Dec 11 16:09:22 sh kernel: ACPI: Added _OSI(Linux-Dell-Video)
Dec 11 16:09:22 sh kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Dec 11 16:09:22 sh kernel: ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
Dec 11 16:09:22 sh kernel: ACPI: 11 ACPI AML tables successfully acquired and loaded
Dec 11 16:09:22 sh kernel: ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
Dec 11 16:09:22 sh kernel: SMBIOS 3.1.0 present.
reeing unused kernel image (text/rodata gap) memory: 2040K
Dec 11 16:09:22 sh kernel: Freeing unused kernel image (rodata/data gap) memory: 160K
Dec 11 16:09:22 sh kernel: x86/mm: Checked W+X mappings: passed, no W+X pages found.
Dec 11 16:09:22 sh kernel: x86/mm: Checking user space page tables
Dec 11 16:09:22 sh kernel: x86/mm: Checked W+X mappings: passed, no W+X pages found.
Dec 11 16:09:22 sh kernel: Run /init as init process
Dec 11 16:09:22 sh kernel:   with arguments:
Dec 11 16:09:22 sh kernel:     /init
Dec 11 16:09:22 sh kernel:     splash
Dec 11 16:09:22 sh kernel:   with environment:
Dec 11 16:09:22 sh kernel:     HOME=/
Dec 11 16:09:22 sh kernel:     TERM=linux
Dec 11 16:09:22 sh kernel:     BOOT_IMAGE=/@rootfs/boot/vmlinuz-5.14.0-kali4-amd64
Dec 11 16:09:22 sh kernel: button: module verification failed: signature and/or required key missing - tainting kernel
Dec 11 16:09:22 sh kernel: hid: raw HID events driver (C) Jiri Kosina
Dec 11 16:09:22 sh kernel: input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
Dec 11 16:09:22 sh kernel: wmi_bus wmi_bus-PNP0C14:01: WQBC data block query control method not found
Dec 11 16:09:22 sh kernel: ACPI Warning: SystemMemory range 0x00000000FE028000-0x00000000FE0281FF conflicts with OpRegion 0x00000000FE028000-0x00000000FE028207 (\_SB.PCI0.GEXP.BAR0) (20210604/utaddress-204)
Dec 11 16:09:22 sh kernel: ACPI: OSL: Resource conflict; ACPI support missing from driver?
Dec 11 16:09:22 sh kernel: ACPI: button: Lid Switch [LID0]
Dec 11 16:09:22 sh kernel: intel-lpss: probe of INT3446:00 failed with error -16
Dec 11 16:09:22 sh kernel: ACPI: bus type USB registered


tarting Permit User Sessions...
Dec 11 16:09:23 sh systemd[1]: Starting xrdp session manager...
Dec 11 16:09:23 sh systemd[1]: Finished Permit User Sessions.
Dec 11 16:09:23 sh systemd[1]: Starting Hold until boot process finishes up...
Dec 11 16:09:23 sh systemd[1]: Starting Terminate Plymouth Boot Screen...
Dec 11 16:09:23 sh systemd[1]: Starting X-Window Display Manager...
Dec 11 16:09:23 sh systemd[1]: Started X-Window Display Manager.
Dec 11 16:09:23 sh systemd[1]: Received SIGRTMIN+21 from PID 275 (plymouthd).
Dec 11 16:09:41 shenlong udisksd[1655]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory
ec 11 16:09:41 shenlong dbus-daemon[610]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.