Problem
Kali Linux keeps locking the screen when not used for a short period of time
Solution
You need to configure “Light Locker” to stop automatically locking the session.
Steps
- Click the icon at the top left of the screen (Kali Linux Logo)
- From the popup menu, click “Settings”
- From the next popup menu, click “Power Manager”
- Confirm that “XfcePower Manager” window has opened
- In the “XfcePower Manager” window, click the tab “Security”
- From the “Security” tab:
- Change drop down “Automatically lock this session” to “Never”
- Uncheck “Lock screen when system is going to sleep”

Thank you!
Kali 2020.4 does not have the option “Never” here.
Kali no longer displays Xfce and there is no ‘Never’ option as mentioned above.
Is there a way to do that via terminal?