PDA

View Full Version : [kubuntu] Preventing Sleep



cosmarchy
July 27th, 2012, 05:36 PM
Hi,

I am running v12 LTS server with kubuntu desktop and have a online photo gallery running.

If I leave it for a while the monitor output switches off and after waking up the wireless appears to work but the web browser and gallery are unavailble on the net.

My guess is they have gone to sleep and not woken up again.

How can I prevent the computer sleeping or at the very least activate a wake-on-lan function of the wireless adaptor?

Thanks

cariboo907
July 27th, 2012, 11:05 PM
If you are running a server, you don't need a desktop. I'd suggest you remove kdm, then if you need a gui to do anything, use the:


startx

command, then log out when you are finished. I'd also suggest if your server is open to the world, you revert to a wired network connection, so as not to run into wireless problems.