Screen Lock

I am using Kali on Raspberry Pi 5, I want to turn off the monitor on inactivity after some minutes, and no need to lock the session after sleep, on touch need to wake up directly without the login screen. I disabled the login on start up and its work fine . When uncheck the lock option the monitor not going to the sleep mode. Please help to solve the issue.

Modifying xfce’s config file should fix the problem.

1 Like

I am using this OS for the first time. If you have any ideas about it, please provide the necessary code and the changes I need to make to fix it.

1 Like

Hey! For turning off the monitor, you might wanna edit the xfconf settings. Check out this command: xfconf-query -c xfce4-power-manager -p /sleep-display-time -n -t int -s 5 (change 5 to your desired minutes). That should help with the sleep issue!