Xmonad and nvidia gpu are incompatible

xmonad installed on jetson orin.
However, I put in the haskell program, xmonad, and logged in, but it fails with an error.

The error was in /var/log/Xorg.0.log.
Is this a incompatibility between jetson and xmonad?

less /var/log/Xorg.0.log

[   798.457] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   798.457] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   798.457] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   798.457] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   798.457] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   798.457] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   798.457] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   798.457] (II) NVIDIA(0):     Config Options in the README.

/etc/X11/xorg.conf

Section "Module"
    Disable     "dri"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
EndSection

Section "Device"
    Identifier  "Tegra0"
    Driver      "nvidia"
    Option      "ConnectToAcpid" "True"
    Option      "AcpidSocketPath" "/var/run/acpid.socket" // I added this option.
    Option      "AllowEmptyInitialConfiguration" "true" // I added this option.
EndSection

The error has disappeared.
However, after a few minutes of logging in with xmonad, it’s logged out.

/etc/X11/xorg.conf

Section "Module"
    Disable     "dri"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
EndSection

Section "Device"
    Identifier  "Tegra0"
    Driver      "nvidia"
    Option      "ConnectToAcpid" "0"
EndSection

Instead, it logs disconnected.

/etc/X11/xorg.conf

[   325.787] (--) NVIDIA(GPU-0): BenQ GW2470 (DFP-0): connected
[   325.787] (--) NVIDIA(GPU-0): BenQ GW2470 (DFP-0): Internal DisplayPort
[   325.787] (--) NVIDIA(GPU-0): BenQ GW2470 (DFP-0): 2380.0 MHz maximum pixel clock
[   325.787] (--) NVIDIA(GPU-0):
[   325.794] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   325.794] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   325.794] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   325.794] (--) NVIDIA(GPU-0):
[   326.399] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"