title: How to stop CentOS Desktop from going to sleep due to inactivity?
body: <p>so I am having trouble with preventing my desktop from going to sleep when I leave it overnight. I am running calculations that take several hours and whenever my computer goes to sleep, the calculations are interrupted. I am running CentOS 6.5.</p>
  
  <p>I have already when to System > Preferences > Power Management and changed settings to Never  and Never for the AC Power tab.</p>
  
  <p>I've also tried it through terminal:</p>
  
  <pre><code>[------]$ sudo setterm -powersave off -blank 0 
  cannot (un)set powersave mode
  </code></pre>
  
  <p>However, after 10-15 minutes, my monitor still goes to sleep and I will have to retype my password to get back in. Any help would be greatly appreciated!</p>