Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
59
rated 0 times [  59] [ 0]  / answers: 1 / hits: 83511  / 2 Years ago, sat, may 7, 2022, 3:22:06

How to disable blank screensaver on Ubuntu Server?



There's no desktop or X, only console (command-line interface).


More From » server

 Answers
0

The easiest way is to add the parameter consoleblank=0 to your kernel command-line at boot-time.




  • Open /etc/default/grub in your favorite editor; you will need to use sudo (for vi, nano, etc.) or gksudo (for gedit, etc.).


  • Then add consoleblank=0 to the GRUB_CMDLINE_LINUX_DEFAULT=, parameter.


  • e.g. yours may say:



    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash consoleblank=0"



Then run sudo update-grub, and reboot.


[#38306] Monday, May 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tatoethin

Total Points: 377
Total Questions: 110
Total Answers: 98

Location: Saudi Arabia
Member since Sat, Aug 20, 2022
2 Years ago
;