So I created a ticket for my system restarting last month, and I thought we sidestepped the problem because I changed the settings. here is the link to the issue Every night Zorin OS 18 Pro goes to black screens and restarts
Now the system will restart when using Brave and the file manager together. with the GKR-pam errors.
I will also look into how to upgrade the kernel to 6.19.x.