System goes to sleep after login

I notice when i boot up after i login with my password the laptop goes to sleep immediatly, then i have to wake it up and then enter my password again and its fine

how do i avoid this

On a Notebook Computer, your lidswitch may be the culprit.

sudo nano /etc/systemd/logind.conf



And change suspend to ignore.
Reboot and test...

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.