From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qO5IObsl9GEExAAAgWs5BA (envelope-from ) for ; Fri, 28 Jan 2022 18:19:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YPIgMrsl9GH0oAAAG6o9tA (envelope-from ) for ; Fri, 28 Jan 2022 18:19:55 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 85C70386E7 for ; Fri, 28 Jan 2022 18:19:55 +0100 (CET) Received: from localhost ([::1]:52314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDUug-0000v9-Hu for larch@yhetil.org; Fri, 28 Jan 2022 12:19:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDUmM-0006Gl-HA for guix-devel@gnu.org; Fri, 28 Jan 2022 12:11:18 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:58734) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDUmK-0004l2-BE for guix-devel@gnu.org; Fri, 28 Jan 2022 12:11:18 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id E59CB1AB71; Fri, 28 Jan 2022 09:11:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1643389873; bh=8ljlPk3I/FNmfucUfF2Up1XIJ0wKy4OT9wph5ABsYKQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=O/RIgyVeJghQ8jw9G857JZD6br+JGYLjFdyRHqDq+4dMqJ0DGl30E7KZJg6+qdJKl LCUtLly7PfZ/tGJJS7UrbJTun///16oKrJnPKv3L5pcfh8lUO8UfGrL5jbCsw8CBgB AtM2Eubhzv4gNmvoDbA/JpNqg7CQIdsNna1jlEbEdzUU6qVNf9VOGWBn5R/HF1tpv5 SWA+jC37TCjeKvo7DnA0zUdeZ7VipRpNuyPowj2Q0liCVcJt8lQ3xUwq4eZS50lNqx vpOBhngUn2jgLMvESXnstiVofVq8V+8Izqq9IXtWpzEw8exFgI/HK6iapalmtAWv/4 NxjbtGDP6LGPA== From: Vagrant Cascadian To: Attila Lendvai , Liliana Marie Prikler Subject: Re: disable suspend without user login In-Reply-To: References: <156be0ed211890c3aa287e99c03264d7fa102eb2.camel@gmail.com> Date: Fri, 28 Jan 2022 09:11:09 -0800 Message-ID: <87k0ejn5ua.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) DKIMWL_WL_HIGH=-0.167, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643390395; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Uyyk7eA4MN57yGOaeujv1LxP9KOzxxQ4CCbjXuq05lk=; b=tzWIfnUHHzmKN8aVslTFFFrMXlbKrfrwQc1diECztbw8FmxgSgWo9kWpbZANp6KwxMhg5A z6SonIWOlO82a22nd/canYkwH6KteXtTCqOdy8fnkFMzVdC+Vn3N72F4Xf1KgBQwBZnIol 6GKHOqw2iF5wbEh/7M07paETAuF6wvkq7exJgnDgO18hYwTYp7Wbx4I9yuLrC7A5QsZpox srAo5gcJYLYjXiLAxMT6h3imDvUWp6uTiaP7LFIyZIyoLpoeb6unzJFxYRDN7/NdHo19wk CjyxWAJb2F04sN+94nWp+OK6F1TPI5cmbTNzoTgW8n/WHSSBaw8AWs3x3L6tcw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643390395; a=rsa-sha256; cv=none; b=iNQk80R6OYSBMZh/lFe1HM0u4wR46sqKpOnByi7n4H2jTn3WciRvHKWKWCoCvXlN3Hoire 7y78GtpMcV1jc8yVbuCnuf+3Y+AqsiX/P/h8Qo5ZJeKOyhLtSkPDqXRnyv3AseCwSc76HG 3aDUJaU3O9bf4QXzVotcqQFvWF0qhN2egVYQ943UdgjiTy2y06ER+npJhgdI7aAZlxN7s3 S9LYyp0nEPB6ti93IJKf9W8ztkf8LF0H/99N3FQa54fJj6EwPYO+iSsFm3wPAC9YASeqGI W07iTH2oxhLbLGO7qQv1K6DyIyZ7jIiL1XdhRqhlljjPSmSM9PKNHNu9TkQguQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b="O/RIgyVe"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b="O/RIgyVe"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 85C70386E7 X-Spam-Score: -7.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: BT3+zSNoRQd3 --=-=-= Content-Type: text/plain On 2022-01-28, Attila Lendvai wrote: >> The first reply already says what you have to do, i.e. set those two > > my problem was that i didn't know how to run dbus-launch on Guix. > > the proper incantation on Guix is: > > $ guix install glib:bin xhost > $ xhost + > $ ll `which gsettings` > $ su - > # su --login gdm --shell `which bash` > -bash-5.1$ dbus-launch /gnu/store/567jgb5q1cr7xmqsd5kairrdj66ihhy9-glib-2.70.0-bin/bin/gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing' Be very careful with "xhost +", from the xhost manpage: + Access is granted to everyone, even if they aren't on the list (i.e., access control is turned off). X is also a network-transparent protocol, so read-write access to your display from any user on your system or potentially on the network opens the door wide for keyloggers or other ways to steal passphrases, data on disk, etc. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYfQjrQAKCRDcUY/If5cW qmkuAP9lG5Zjj/HA/eJkkfVqcAKcNYvLvEx/l3qY5e7GyDkZbQEAgYyBjc4Pvn7O yzy8wgW6DlFF/oaAQxKxnPjs8MC89w4= =x8Qm -----END PGP SIGNATURE----- --=-=-=--