From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iKBhINiLA2WzggAA9RJhRA:P1 (envelope-from ) for ; Fri, 15 Sep 2023 00:40:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iKBhINiLA2WzggAA9RJhRA (envelope-from ) for ; Fri, 15 Sep 2023 00:40:24 +0200 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 27D7DDE94 for ; Fri, 15 Sep 2023 00:40:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Y88T5eFO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694731224; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=cAW0qIlxm/HKNPmWlOA4tIw8OrKJzOdEF2EK/CxvYx0=; b=tWNzipabfj2stcI1Ksbz9VozlkRb4JU4ij/K953/opik4GuVdwjNb+7awr1GoiKnxESSdj 0PmmvHPe2gv0XDNaHD3V4d0Xv/ndM1Y8s2PPif9qwG4dVHFsvzPnyFShp0f368BSBfkn1L VngD6Zj1s8GlwwLrE9tq4YisW3zN48hbCcYO0SGZVlojNJwGOY16+e/dXWC/mxizFUsqY/ Pn9YhrQv5duDzZZiaSc4GXxrHXktC6KhKM55obysjXQEwZejDudV6VnWXmrWTyYGTy/8yq 7nHXaCap9YZpyZ4qkMJzKWKqh3ySXmXy1K4ihmuLd+3oOiZC1nj4WuFTuHbuKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694731224; a=rsa-sha256; cv=none; b=mldUPI2EDq/lXXpBS4tZhZ34uCqtEb0VLo16zB4c/0Ftc/GIOB2J98yeaW0KxXZW0/EwrP NI/dlp6HZkoZmKH67rk3pi07NgoQveHyhi8dTMJvkb02CC5U6nRB18i+wxYbM8Vc/NnXIZ qToP4HR1xqLMcAuI1xn3QzFjeakRa9FZgcSO/4kgHTgUYfseOpovQfYNNfTTIBx+7jMUwD WLauid+lbekLOK0FQIp/H4vpT0n78njp7MNK9Uih/6p+9g4N2a2U0iU85U7KZvB0a58zHh wZPoFnbpY6rZCPmwFwYEcE8eDebnvnhgOTWeqEDbelknkiHSpq9YnfAMhMTTKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=Y88T5eFO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgv0E-0000BM-Fs; Thu, 14 Sep 2023 18:40:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qgv08-0000As-N3 for guix-patches@gnu.org; Thu, 14 Sep 2023 18:39:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgv08-0005kb-Ff for guix-patches@gnu.org; Thu, 14 Sep 2023 18:39:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgv0E-00070e-9L for guix-patches@gnu.org; Thu, 14 Sep 2023 18:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65343] [PATCH] home: services: Add 'x11-display' service. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Sep 2023 22:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65343 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: paren@disroot.org, Andrew Tropin , 65343@debbugs.gnu.org, Brian Cully Received: via spool by 65343-submit@debbugs.gnu.org id=B65343.169473117026895 (code B ref 65343); Thu, 14 Sep 2023 22:40:02 +0000 Received: (at 65343) by debbugs.gnu.org; 14 Sep 2023 22:39:30 +0000 Received: from localhost ([127.0.0.1]:41400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qguzi-0006zj-0i for submit@debbugs.gnu.org; Thu, 14 Sep 2023 18:39:30 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:38258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qguze-0006zQ-Gk for 65343@debbugs.gnu.org; Thu, 14 Sep 2023 18:39:28 -0400 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-5008c19d97fso468992e87.1 for <65343@debbugs.gnu.org>; Thu, 14 Sep 2023 15:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694731154; x=1695335954; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=cAW0qIlxm/HKNPmWlOA4tIw8OrKJzOdEF2EK/CxvYx0=; b=Y88T5eFOz4gLvaCVJaOINmppCTI/6QOHlKjlv+84z5RCjt71cPhOOavYeDXZ5QXT9b p+xQfceSCmT0daRFXLNQjpcGHlxlsLC2DIZhr2oN41RBPSdAPH4/y9aXweklqz/VMbGY 3Y6mx0yUJIPEyu1Ep/mmoUfNBSsIcfyyarhDGfQ8Y5UTZv7pgFCmIrzOg3ZYg9UTPT3k 3TvSwyiL6HpyO8Ybwa53Zf+ARb4dBu0dJb7ToWE2lwWUkI2lStAFug1+BfCegVcqf2om suKQfZLGExyZLFh7k3nEK7H4PZXkyK5v45yhnSTtD5aERA86gZZD1iB6ZXl05C4fNodA BuUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694731154; x=1695335954; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cAW0qIlxm/HKNPmWlOA4tIw8OrKJzOdEF2EK/CxvYx0=; b=YzfLl48RrrUaW31tHleV6uNyXWi2rYQIiv1LvDg0zky2nSCNT9wMc+UTRJia8hhUBv On9xNVbHdFofFQCcFJDTGa3So2kFbL8TdCYxYBG16nKobGdAhzU0XzorYS8TA6YmWDhM +ELf4Ai25FBxM/1TICYwVdC9VmK3ehagMiuhg+ijJNb3wZj5DrVhKdDMgKOkFBak9hXZ nn/cCYFiBKHdRGU9ZHf7O+soxqcnPQl7zL5Z0q62J2bLQXmqc2Tpny6i13UL7vnoJ/js 6iVv/OhO0gPSYgwOf6qRScROD4eCQZKZlRPAR91HQW5fbdOi0354JOQk/74dkBqu0oNA ZDvw== X-Gm-Message-State: AOJu0YwMF/xkUKlh/wy/0tIh8oUPPmE3nv710YZQ5FR1Y/Xd14e6zv/B xoVQ4k7jGrGFtiy6SToFUdg= X-Google-Smtp-Source: AGHT+IEtPT0oJ3P8WqJ6iku/8MTkvAyyieafFdSLZkQq4Cy/TQ+CH7XtPvYHzMvZRgQE6sg+BZq7+Q== X-Received: by 2002:ac2:5e8b:0:b0:502:e042:ca40 with SMTP id b11-20020ac25e8b000000b00502e042ca40mr22119lfq.6.1694731153684; Thu, 14 Sep 2023 15:39:13 -0700 (PDT) Received: from localhost ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id x9-20020ac24889000000b004f764716afdsm423177lfc.257.2023.09.14.15.39.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 15:39:13 -0700 (PDT) From: Oleg Pykhalov References: <877cpuernh.fsf@gmail.com> <87a5uqwvva.fsf@spork.org> <87msxo5w2x.fsf_-_@gnu.org> Date: Fri, 15 Sep 2023 01:39:10 +0300 In-Reply-To: <87msxo5w2x.fsf_-_@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 14 Sep 2023 22:38:46 +0200") Message-ID: <87il8c2xdd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.62 X-Spam-Score: 3.62 X-Migadu-Queue-Id: 27D7DDE94 X-Migadu-Scanner: mx0.migadu.com X-TUID: tUrt3Y73gdcr --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: [=E2=80=A6] > Now, without this service the situation is even worse: shepherd and its > sub-processes inherit whatever =E2=80=98DISPLAY=E2=80=99 value was in its= environment, > if any, and that=E2=80=99s it. This service is a hack, but might still d= o more > good than harm? Inheriting environment variable is under the user's controll. Finding a readable file by the user is less (requires to start x11 sessions in a specific order). By more controll I mean the user could stop Shepherd on a DISPLAY :0 and start it on DISPLAY :1 without stopping x11 sessions. In any case, current patch with or without specification of files order (or =E2=80=98herd start x11-display :42=E2=80=99) will change current behav= iour. So, I think a small entry in =E2=80=98news.scm=E2=80=99 could save somebody a day. Regards, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmUDi44UHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pwnGg/7BLWmjPt8h3iVa3PMCaRFNwzx3fT9 W9RG8ww3ilfcbIYHPrvyWtZyBYdEQqblylpXs3IJCPbD0hz8X5Vr3FLOOnFg9kLA RuW+yKMj9akEro/GHQXni0jadP6hIt8LPArz/p2sw8timsPJ37y3kGITX67bSh4D g502n+WDqSPPyU5YMWQgzCtItd3iWCfCZqkTaa558wwZxABTCBEsbFxblUwikK6d Bqxve/IWqvU75n8xksjLgFHe8ImQamP1zsWjEgICOsycNN1CKp5GP0jhoAJ9vHca X/LgxS00LJBOBHHjP8cqva035ai+gSOqmVkpmW49JspR/+xRF2OCx3QwSg6w6gyZ OSR29nYDuuNuV+Gk7P6vLUJeFfwQyetkrUV65Z0w2967M2kyBla/7w8wJp4shSk2 ciI9XjEb7LmhKEv2Na+wl+dFvy7RrC0JybAPaM8D7hHnTKoZVfc0urP8O0Pwzyo2 XaugdOHjq8DHioVz3Xa9crK08k0l7jcnr4omvigCvfZeFVHn48n/JmvFssjQ3caR 52K1kn1xwRn7IWt8TI1d5uHWKcfpQ3NHT3NaA8Rj8EhLo3re8vflT1AFlRGRgCRX VD0X73Bs9tfrrO8mCS3xt9Pnj0PuS3bqWRH7tVr5UxQgm0sdYHHmdnRqIcuDPGfq uRmr3mzKsxdtqpU= =WdRH -----END PGP SIGNATURE----- --=-=-=--