From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Computer suspends even when I tell it not to Date: Fri, 14 Jun 2019 14:24:46 -0400 Message-ID: <877e9o58ja.fsf@netris.org> References: <87h88s3l22.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53588) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbqvQ-000886-V3 for help-guix@gnu.org; Fri, 14 Jun 2019 14:27:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbqvE-0002id-Iy for help-guix@gnu.org; Fri, 14 Jun 2019 14:27:36 -0400 Received: from world.peace.net ([64.112.178.59]:48270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hbqvA-0001xQ-K7 for help-guix@gnu.org; Fri, 14 Jun 2019 14:27:29 -0400 In-Reply-To: <87h88s3l22.fsf@gmail.com> (Chris Marusich's message of "Thu, 13 Jun 2019 20:25:25 -0700") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Chris Marusich Cc: help-guix@gnu.org Hi Chris, Chris Marusich writes: > I've noticed that my Guix System computer suspends if I leave it alone > for a couple hours. It's plugged in. This is annoying, since sometimes > I want to SSH into this computer, and I can't do that if it's suspended. > > I don't understand why it suspends. I've run guix pull recently, so > it's up to date. I use GNOME. In the GNOME settings' "Power" section, > I've explicitly set "Automatic suspend" to "Off". However, it still > suspends automatically after a while. FWIW, I've never seen this on my Thinkpad X200 running Guix. I also use GNOME, although I use it under Wayland, by running XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session from within a text console. I don't use GDM, because our GDM package does not yet support Wayland. Note that GDM is enabled in my OS config and gets launched on every boot, but I then shut it down manually using "herd stop xorg-server". After doing so, I need to type "Alt+SysRq+r" to recover the use of my keyboard. > Does anyone else experience this? What else can I try? It might be worth trying to do what I describe above, to rule out the possibility that GDM is responsible. What kind of machine is it? If it's a laptop, I wonder if your laptop's embedded controller is entering suspend mode automatically. Regards, Mark