From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KEF7JBXrP2DuMAAA0tVLHw (envelope-from ) for ; Wed, 03 Mar 2021 20:01:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wGflHxXrP2DgDwAAB5/wlQ (envelope-from ) for ; Wed, 03 Mar 2021 20:01:25 +0000 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 2339E2E96B for ; Wed, 3 Mar 2021 21:01:25 +0100 (CET) Received: from localhost ([::1]:43842 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHXgR-0006UF-IM for larch@yhetil.org; Wed, 03 Mar 2021 15:01:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHXg8-0006Sd-07 for guix-patches@gnu.org; Wed, 03 Mar 2021 15:01:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45522) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHXg6-0004ku-A3 for guix-patches@gnu.org; Wed, 03 Mar 2021 15:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHXg6-0003p9-85 for guix-patches@gnu.org; Wed, 03 Mar 2021 15:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45629] [PATCH] gnu: Export xorg variables for startx. Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Mar 2021 20:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45629 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 45629 <45629@debbugs.gnu.org> Received: via spool by 45629-submit@debbugs.gnu.org id=B45629.161480165214676 (code B ref 45629); Wed, 03 Mar 2021 20:01:02 +0000 Received: (at 45629) by debbugs.gnu.org; 3 Mar 2021 20:00:52 +0000 Received: from localhost ([127.0.0.1]:57068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHXfg-0003oP-Vj for submit@debbugs.gnu.org; Wed, 03 Mar 2021 15:00:52 -0500 Received: from mail-pj1-f42.google.com ([209.85.216.42]:55822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHXff-0003oB-2c for 45629@debbugs.gnu.org; Wed, 03 Mar 2021 15:00:35 -0500 Received: by mail-pj1-f42.google.com with SMTP id t9so4852101pjl.5 for <45629@debbugs.gnu.org>; Wed, 03 Mar 2021 12:00:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VOcfemqoBT7oE5bUEvSAEyGsLmfgtMzMKHI2cmRPy/A=; b=1JaIi00tp0vvuwOWuO2d6wCSC8aKlwdXUL0+2DiEDeVG70tvW0imfN8uVsjRUL2fox sz5yHeqRQRPaKmc+4BwkUPdborMGrnZIu7SGyQWc2eA/LHMS+0EGg8/LMaccmPkb+RHf 52CUow8t/i75V+ZmFzoZCfzWDmknYnb4J7hGJiw/Cy4MIDuyGPMdFrbYf/i/RD5yQrlP aEDN79m8Mm29F+a+JjGVhh+XDOunBzHwNDhZ6KDYxDMrB3gwwVGb60FHEB10wbRjmfXB c7cRZkqmizKrIVYZKDRBXQgTSvJ9rDmU5QgoKT/DXGCNaGxrABHA3lxtYCu/v4JVRCLm hgHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=VOcfemqoBT7oE5bUEvSAEyGsLmfgtMzMKHI2cmRPy/A=; b=DXdCudnn1dQ61Xy/eoSgH4cFQDpPass1hsxc3SlNjV9EqgMWNtnNklxikVdZVQ65De oUqZ9xAYVOjZcorkFOjLqJ9Br+6+Uw+uzs/kXFCgv8VN8ZDQKAsrGq7cLjIzg0JihApv v7rl4CEwO+qLUwAz7RbdXiG+qrcjrK2mCw632nzPMsT479RRrf5xTizWTioZoSrOkPL5 ld8DsPBDdpSN76bDjJiIHIhk4NlMkesTb6GfUP00yhGyxnjPnhWSl1+7pYff2jxytkU6 X2Un4UaPSCS2palGDjW6E+luPPdLy/ovJ9Sz4mtS0kVHVxUCZwFeyrG+hcxrUgV07dI5 BIdg== X-Gm-Message-State: AOAM531VPeREDVV0+iTgEy6ytCkzuagRCFdMP3vCpmqXPm4qqMQtZrua lRpUfsXfqoBiHrMQO82Hnj1c7myC4I//gQ== X-Google-Smtp-Source: ABdhPJxK4FX4yUdy9M558ElI5tpHszYLaRZqncPO/+nEmHvLgYyTdhVOeBnnMeebl5qOlijuJ93I2g== X-Received: by 2002:a17:902:f68c:b029:e5:ca30:8657 with SMTP id l12-20020a170902f68cb02900e5ca308657mr762933plg.78.1614801628767; Wed, 03 Mar 2021 12:00:28 -0800 (PST) Received: from ecenter (2603-8001-433d-cc5e-0000-0000-0000-1ca6.res6.spectrum.com. [2603:8001:433d:cc5e::1ca6]) by smtp.gmail.com with ESMTPSA id m21sm26211802pff.61.2021.03.03.12.00.27 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Mar 2021 12:00:28 -0800 (PST) From: John Soo References: Date: Wed, 03 Mar 2021 12:00:27 -0800 In-Reply-To: ("=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?="'s message of "Sat, 27 Feb 2021 14:43:13 +0800") Message-ID: <875z28vwh0.fsf@asu.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614801685; 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=VOcfemqoBT7oE5bUEvSAEyGsLmfgtMzMKHI2cmRPy/A=; b=sNd7B5jazZHDEXCBIUBKtN8Wgb3JnY3NauJ2ecx/rk63ij81X3IFENHyxt9lq3sVsZc8WB w42+ujB4DiKsgC39CkiVd9+YJtExwAqdlp4GQUBzcbVSTe5VVEp3Fxg15EEmHQiwE3D+jC iVY33AjHNQn8FPn+IKQ/JCt8WaW3OD+EEf9X8VvccvrfMGFDSRIOE6l7AqwT/VvgVXOpFA YVGwrrFFgWzXhEOtno3q7HINzUPl7agkOyVwvkAzH/A2la51bnIDfx/+Yb//WfTlWj5Lzu oa4P4FTOpVYFhMWYb9A7ClQob/Jo5vy7Zkn6TL4djTkVb8i/M4PCyt06ssxwuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614801685; a=rsa-sha256; cv=none; b=R/qSDo3UUcCHyeNxegsyehuqAm0W++E8N9n1nrZxmzdj4pDoiNKYzVxbiis1AwEXVHI2yK vrAo1EJdFwqve5n2InyH2BF08XrTOC65rHVxyq/tmJij7OHd/bB7o+pltA8z8fcc/1JOlq SYtScKxvPX37vUIe218QHnjapc45+qhAEO/nrZifLIxUwzf5R8KbQNzD3bxYXBPz9VTkBZ GqdUVs0w2zAMCB1VGvuBe1+vwaB22H5pTbIgiUTHbsNTyvKH2Nig03ZKmLCxYz8lSIUXxv M96yHMbUiQHp/EwqNpMmcw2e+9qa3ftkXTqMLE8IrE0hzNGURNthqPIgcu0CaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=asu-edu.20150623.gappssmtp.com header.s=20150623 header.b=1JaIi00t; dmarc=fail reason="SPF not aligned (relaxed)" header.from=asu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=asu-edu.20150623.gappssmtp.com header.s=20150623 header.b=1JaIi00t; dmarc=fail reason="SPF not aligned (relaxed)" header.from=asu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2339E2E96B X-Spam-Score: -1.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: Douck7aDRlbR Hi again, My setup for startx makes sure X is setgid and sets a few environment variables for the process. I am not sure symlinking X to the bin directory is exactly what I need. Check out what I do here: https://github.com/jsoo1/dotfiles/blob/release/guix/config.scm The relevant pieces are the chown-program-service-type, and startx definition. Thanks again for improving the startx experience on Guix. Kindly, John