Okay i have had an issue for the past few weeks I cannot figure out. I have been trying to prevent screen sleep/logout on some industrial screen that should staty awake permanently, with autologin, etc. I am using Ubuntu 20.04.5, and I have installed Xfce, that's it.
I've been playing a lot around gsettings, lightdm settings, dconf, xset, and everything, but there is always something that messes up.
Since yesterday, I succeeded to prevent sleep after 5 minutes of inactivity by settings gschema overrides on org.gnome.desktop.session/screensaver, but after 20 minutes it enters suspend mode (i guess), with black screen and the cursor upper-left, with no wi-fi, usb interactions, etc. I chose to mask the sleep.Target, hybrid-sleep.Target, hibernate.target and suspend.target like recommended in many other pages, but now, after 20 minutes, it seems that another Desktop Environment is being executed, I don't even have access to a terminal on that new GUI.
I don't know what to do guys, I'm open to any lightweight GUI. I just want something light, simple, and that stays awaken permanently with an autologin user.