From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 11 04:34:43 2021 Received: (at 45629) by debbugs.gnu.org; 11 Feb 2021 09:34:43 +0000 Received: from localhost ([127.0.0.1]:57776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lA8N1-0006GR-7Q for submit@debbugs.gnu.org; Thu, 11 Feb 2021 04:34:43 -0500 Received: from mail-oln040092253032.outbound.protection.outlook.com ([40.92.253.32]:52855 helo=APC01-SG2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lA8Mx-0006GB-Ez for 45629@debbugs.gnu.org; Thu, 11 Feb 2021 04:34:41 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=krGBIR6zb680vooxPjDubiDh0vAiVqQBToHLjXpeG/leZXHh1R53lWA7Gyf+R+5qOvr74fLlipvvQC+ZeBbSa3Xs4ZT8dKUa/mW01s8SW8tL/DdkVJJ6KgMxtTHFSFxaiOaT6FRsDAr8Zh2tdjVwfbj9QVBJ1cZkOia5QGmViWJFso/cpCvM8QAL99ejjkBR4ecCONCSowP4i0fAy8vRrcE8AXAs+guQQAtNI3vU12C6zDINXCdS3sZeT0Mro2axC13eL4DTMdYw+HalwvoYHgldSAFcMWsypbNBB63Ktyhatz02bxyKWThPc2+tmZM0wcduMqIV2evKdcZG/eu10Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PMQvfrqP4JwZ3IOXaJQjWAlrfqNeNy8/5KoTF1AqUAA=; b=J2h8r/JAvwXK7eD9pt5sEHvOvq9/ba0AVPy3rm154TIDdo50Uf6qLt2eaA6D3kSgQaeYFIxmIE6iOtY35XwxQMOxjNw9IVDJxzaVnTmQ+urvUA2abFeSOkhrtDNSBSJ9Q5yKTqnrx6icMUSaZDZM7+j/QgUf5egFrltrCVNr1KbpvbpVdHBQmSRIdu/ttgRna8TnXN1OzGgsMoi/Lu3+j60QF1Qt0O6wcTIDP1Y6Krd3L7c0htACvdbbxeWvQZOMb24FjzJ5seUZba0nz6jUAi8+cvpciJyM9Ot/o0f3oL+ts16gmj92DVvoxBK2gcZkeNlUPV/AbZui4SFrb2kMPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PMQvfrqP4JwZ3IOXaJQjWAlrfqNeNy8/5KoTF1AqUAA=; b=CFH57dvQ2qPoLTIZRBQacFgWy8HkUj5U+RVrvx+Jyq6q47UqsVXuGogjremLz11K7OIs9PtGA/xO5UFM0WEo+1oFBNbssIG1tTC3HkjqY7qOQrIRsPAL+ckf96QS2mvVIACGXvmpvFc9XwqeWoPyOANngsyQXHLLAscKX88xnPYS1GVA7dsotv/VFl+W++mR483xXKPtjzLU0piuD33k0XtVSibS6tfvF7Sl1a0oX/KRh4oiXQ5aE9fz89Da4TyRbM5qy7CxndkEBN1yGJhMtOllIZHb0Nbnmbln5TddSvfMvrecrgHiq+gyacbwZKXcza6F6N+t9HZeFkF0MjvdKA== Received: from SG2APC01FT056.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::4b) by SG2APC01HT186.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebd::235) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.11; Thu, 11 Feb 2021 09:34:31 +0000 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2a01:111:e400:7ebd::43) by SG2APC01FT056.mail.protection.outlook.com (2a01:111:e400:7ebd::269) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.25 via Frontend Transport; Thu, 11 Feb 2021 09:34:31 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:2938082AD143939140E928D0FFAC35C9772991CDE16536B6B36F8042F64BFE2F; UpperCasedChecksum:B81413C84FC8E20730632ED57C4B30A3F56E684FCC1F259B49DE8DF1E1E87E2E; SizeAsReceived:7472; Count:46 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::4987:bbf2:2bff:6b22]) by OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::4987:bbf2:2bff:6b22%5]) with mapi id 15.20.3846.031; Thu, 11 Feb 2021 09:34:30 +0000 From: =?utf-8?B?5a6L5paH5q2m?= To: John Soo Subject: Re: [bug#45629] [PATCH] gnu: Export xorg variables for startx. References: <878s9a2dfr.fsf@asu.edu> Date: Thu, 11 Feb 2021 17:36:06 +0800 In-Reply-To: <878s9a2dfr.fsf@asu.edu> (John Soo's message of "Sun, 03 Jan 2021 08:27:36 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [2HXBHmB2KYfYuSUM/ZvPusltYcnaYBME8+/8NIevFLBTeSfFTGYQRSkvfWKJe64B] X-ClientProxiedBy: SJ0PR03CA0385.namprd03.prod.outlook.com (2603:10b6:a03:3a1::30) To OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:ec::11) X-Microsoft-Original-Message-ID: <87blcrc5fd.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (2409:8a62:378:f4a0:2f1:f5ff:fe18:6bb) by SJ0PR03CA0385.namprd03.prod.outlook.com (2603:10b6:a03:3a1::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.25 via Frontend Transport; Thu, 11 Feb 2021 09:34:29 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 91486194-03ac-4daf-c9cd-08d8ce703b93 X-MS-TrafficTypeDiagnostic: SG2APC01HT186: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hn2iUHZLD6n9E+DrVlmptxUR64NeTrF/tVXu5n43lCwKkgpeVhQ3FQV6Y+VbSr92PGNxfZjcdrmXv5+WkFKM3NbXMuoazAHwfP/ihDBKK+Jj4JjGY9YLC57A0RDaRa0mQ7ONVIxQL8jWbLWaQyQnJusx96hMd1E6Di9qw9KfPmMDLXQlCUzhPfwcn3Gl0C7q4Me/OlYIeXs/AjubT3EPON7S3HuN9Xl6sDV5HuHK3uV157y4fqXkKT8nSpRk9lWCsGnbRzDtza9xgrk8hI0s92SZsKFauq7dLEzs8gqDYTx299B05+H4cAQ2WCRA02I9nii4kcupG29RprQpzk9KUN2uu0erS0IBEr39o0612Ui4rOB0G3kaWpe3bFKD85pZFwt3cPsrsjsgS/EPrOj2hw== X-MS-Exchange-AntiSpam-MessageData: Dg/AvqWMANfwPgMFDkbZwMUJos/8XZwzJzsUxRuynXFuU4dn0iAWR+BuUM2KfSQH51kG941MfjGJHHQlu3h+Gp/ASvJ8yLEoHCh79qLEOFIVCjv1jT51k4WIg6CJ+HEbFiE/YbH3clzlEzZo/NtaSkluQdHrViTlp+tNPUg4KhcguIfCCjUyU3kqF+xDKhYUj/JLIuQb62ot4D2w92+LIA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91486194-03ac-4daf-c9cd-08d8ce703b93 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2021 09:34:30.7321 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: SG2APC01FT056.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT186 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45629 Cc: 45629@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) John Soo writes: > Hi Guix, > > I wanted to try using startx instead of a display manager. I finally > got it to work, but it required at very least these patches. I also had > to create a new service type but I think that it needs more work to be > put in upstream. Hello, I have added a 'xorg-server-service-type' for this usage. It can be used with 'sx' (as a normal user), or 'xinit'. For 'xinit', you need to create a '~/.xserverrc` file with: tty=$(tty) tty=${tty#/dev/tty} X vt${tty} To use X in PATH and the current tty for rootless X server. Do thoes patches still needed now? Thank you!