Prevent sleep during ssh session

Brian McKee brian.mckee at gmail.com
Tue Aug 25 00:29:32 UTC 2009


2009/8/23 Bill Moseley <moseley at hank.org>:
> I'm connecting to a remote Jaunty machine via ssh.  Problem is the machine goes to sleep after a while.  Is there a way to prevent or disable this from the command line while I've got an ssh session open?
>
> The machine is running Gnome.
<http://live.gnome.org/GnomePowerManager/FAQ#head-1cf52551bcec3107d7bae8c332fd292ec2261760>

has a python program which will inhibit sleep - you could add to your
login script and the reverse program to log out.

Brian

-- All you need to know about Ubuntu 9.04 Jaunty -> gconftool -s
--type bool /apps/update-notifier/auto_launch false




More information about the ubuntu-users mailing list