0

want to prevent Raspberry Pi from going to sleep I tried below mentioned Solution but my pi is going to sleep every 10 min.

I am using Raspbian OS with Raspberry Pi 2

1.I installed xscreensaver and disabled it

2.I added xserver-command=X -s 0 -dpms to sudo nano /etc/lightdm/lightdm.conf.also test it by changing to xserver-command=X -s 0 dpms.

3.I added consoleblank=0 to sudo nano /boot/cmdline.txt.

Nothing works can any one help me for this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.