From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id bFeyGX/rIWGr/wAAgWs5BA (envelope-from ) for ; Sun, 22 Aug 2021 08:15:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iC+nFH/rIWE9dgAAbx9fmQ (envelope-from ) for ; Sun, 22 Aug 2021 06:15:27 +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 7FB5EF9FA for ; Sun, 22 Aug 2021 08:15:26 +0200 (CEST) Received: from localhost ([::1]:60142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHglR-00075L-7t for larch@yhetil.org; Sun, 22 Aug 2021 02:15:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHgl7-00074v-Jc for help-guix@gnu.org; Sun, 22 Aug 2021 02:15:05 -0400 Received: from mail-os2jpn01olkn0150.outbound.protection.outlook.com ([104.47.92.150]:63549 helo=JPN01-OS2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHgl4-0007X0-1H for help-guix@gnu.org; Sun, 22 Aug 2021 02:15:05 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nQ/ZqGPdQSFEEkg8eYC8sGGVI2/G7YCGNfYV21L91sxeO6XJCiS6MkGH1fNmt9CaoXBQXyVFGDJl3OZ1+xirFSoZfuv4XgD11OcxkMqUA9vCAGoC05sR5Jm5PGHvmOTTpLiIwLJWeNIjJbFssgWANkxn8yxOyIvSr9zpGChQNrMKQ9sIzZ77TLlZyCSVCBUHrJIEEOtct634fQ0KrRPUHT11MgCp9mX5qi6sjq3G3LZpskAhCBRsY3xcMjXwQw2L85nG5PCbAm52K9BqNvIjZONAJuNMg4dxGJ1+jMc7/Ohzvx8jnUx6pZIyBPaImXNjH7ERJmBew2rQb1LwMxtxWQ== 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=iWcWujdc9mpfMvF/Xwk8d/7/Abnjuijgaw++mWNHzEU=; b=h33LJI9oP5m+CR5o6MRqLRyPnQnI1WWLIyVt6vEbSl/p32xFu3lrmG8OY7ANvNBmcDVIAtbRAso3OWhuu8V6OV8Q35ZKhy3C2b+29fa6k4AF52XhVPpigEWuJJ5e/eddnoSyx9NHi3/R6GQYpi5eP+3r6JLY+VBdu+XAShoztsKmi24FCTamr1R68awz6zT/AUvvMszn+37c77TTCo3yORVTp9Z3rm3qnOb7HT2YGOkSRLa7dUu9Px3VLJGKo4qyY2PbtLqR+hb37SycOpXJBNtDP/4bUXk7YsCD5deLG6MHZjEA7BsBxq/fX8AA6a9GqCJut0fnbzNRbc09SvvHBQ== 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=iWcWujdc9mpfMvF/Xwk8d/7/Abnjuijgaw++mWNHzEU=; b=ud4S+34SlQCJmx0fxWnxPUqj8NxRUbmy6au//pCtHGEABz0BTnAEJ7zY8yRz9r3C03wgbm28TmDmyknb8aRiEjV8bIs4Gc/K3x8MsS0YIBUrT+sEO0o4LjjZX36Wi1JW3xLYzVJjstqpWjAeuo+ot/KeGIH+BXL7m+N18zUCwQIc7+mZFZxukGnBjjGS2izm7TjDTkaFJHA74liHAXlRLtA6mYzShzCGI5SYGkEXqusuDggrPgXk1nr1jDqQ4wLciE/7/jA7nj/CbRwoUFZkKexPSJ4KgTkOpqk7Bj4mSF8ew5dRGF/iX8FHwd8bj891U7A8iUrzUyYeBUkI7w63hA== Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:ec::11) by OSZP286MB0726.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:e9::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.22; Sun, 22 Aug 2021 05:54:27 +0000 Received: from OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::fcbd:7bd5:8d74:ad8]) by OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM ([fe80::fcbd:7bd5:8d74:ad8%3]) with mapi id 15.20.4436.023; Sun, 22 Aug 2021 05:54:27 +0000 From: =?utf-8?B?5a6L5paH5q2m?= To: Andreas Reuleaux Subject: Re: simple config with just startx not working for me References: <87zgtasdmq.fsf@softland> <87wnoetpbo.fsf@yucca> <87ilzypev3.fsf@softland> Date: Sun, 22 Aug 2021 13:55:15 +0800 In-Reply-To: <87ilzypev3.fsf@softland> (Andreas Reuleaux's message of "Sun, 22 Aug 2021 00:17:20 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Content-Type: text/plain X-TMN: [N21vHwsuYapDp5w8Q7i32ax3MXfUs0VoDK6QvFkpW50pQtjVKXn8f+F7rZqyPv0Q] X-ClientProxiedBy: HK2PR02CA0152.apcprd02.prod.outlook.com (2603:1096:201:1f::12) To OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:ec::11) X-Microsoft-Original-Message-ID: <87h7fi58ho.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (240e:399:339:6270:2f1:f5ff:fe18:6bb) by HK2PR02CA0152.apcprd02.prod.outlook.com (2603:1096:201:1f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19 via Frontend Transport; Sun, 22 Aug 2021 05:54:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bc0ee957-bf12-4812-8fb6-08d965314cd8 X-MS-TrafficTypeDiagnostic: OSZP286MB0726: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5LQh5gmNhvqNboPvG7AxJebxQCGpkiTirNH6TZOWx/EuWPsgkRvO9cA1QOzmy5GObA9JGyztwR3P7/DWulCW/XEctqKce5i6qk27EB1G2l+NFjbkkmcZvD6CpYIz1Po15Y9JwqV+BoLF/YPt3rDcWzBXTM0vAV5THKvGt3wwL5YazjCLTSGJJsVJvtZa2DRf2VQA8Zha3DI6k72D/lxHLbxn9wDDjLlT/8ObmZ9pj3f2nH0o0vtHVAFtGJAnnKWaxJcvbJyoYL8ghoPvkf9L7gmwTM+SQ5U6R82cZv/zdoA6AFsE5DM4DgbGU6fTiqvk9Kr31kwRXobZGdJ/iemUC/ixcZQlq9coSSdFUUlWapwqh+ahvydNVOOmrcOenGjIk+AoA4SJkQ8JALr+xJkfam1b0R6l7VihT+j0q3VCN6BVxnfoPZnH06otfrZ55gOI X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DUIAaxV+NKaCnYOAmMr1cbVTZvnnCxCBzLk8S1Q97l+Zkcr4Z3kHn3+CWaqqL1szAQ6eLGuTtsFnDlHc3604l2ZOvxo7fqdn6NNOJYC5mWFloM8Rvvrtxup7eeNDupbtMpZybjFWfAHGfevHp6SVQyN7CGz4+Z0d2UEhht/GZwsU2yLfpLwU3igSnIE86+pfaosUB71ycGSFB4YdS0QAXA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc0ee957-bf12-4812-8fb6-08d965314cd8 X-MS-Exchange-CrossTenant-AuthSource: OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2021 05:54:27.3071 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZP286MB0726 Received-SPF: pass client-ip=104.47.92.150; envelope-from=iyzsong@outlook.com; helo=JPN01-OS2-obe.outbound.protection.outlook.com X-Spam_score_int: 10 X-Spam_score: 1.0 X-Spam_bar: + X-Spam_report: (1.0 / 5.0 requ) BAYES_50=0.8, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vagrant Cascadian , help-guix Users Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629612927; 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=iWcWujdc9mpfMvF/Xwk8d/7/Abnjuijgaw++mWNHzEU=; b=FQY2anNA1t+2TgTB3+8gHUOWi+FrzTecGCmXwtdEf6xmKIwos3lhNpsAKd+GUz9b1g32VB ACKV6PlNAAIX3SOgyj4IKZ0L3mwY8jfs5SLGKyyNn4jzmPAziWlMtjab6Q2kv5IW+bDUWS k4GtDXc3X4XRnUtLKdHYC6U4a5yftQwPWY9+jkyzfQEQxF7URhbCGJuZKELB/l1k+bYTju 4zzyd76ZX6K4QLdblIa448UvTgahHo+yq4hERbCi38u7HwRg2MU5Qwbt+xBzsOryIx7e1p 19koWGcnlHXqK8KCAh9x5Izv9zqGiNJ8lOGvCuiHR/Xh0koCC9gp2Sir9P/s1g== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1629612927; a=rsa-sha256; cv=pass; b=VgPFY5hOUo5hvVDgf9ZAzZaIg/SHKIrBzevXVgl2mQobWc6Q3JjteiNznKtZmnPgL9c2vh pKewDJ9VPvRMpIbvd40Ykl4Lw9VrF3CQOWJ9iv4uzCb/OPXkn1EJycIROJmLgo/ORfGgzE j2VWNM2p4jhNUggiU1eHM63VpGccCswqcxeUjCM3KAs1OdtRcs7z41coZ0gqPjKFUv/+At KAKPSnuxEWyM174EwFQxsRP3ly2qNecYOW5AwxF5ZTpiyLHNhAyB6/OW2Qy7bft37Eld7S Z9drPiJ5WtZ4BdbmrX9GEf+hSqRG+K+6S7l5ZlRCAdEGKXvFdSrv4oEcH1QcmQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=ud4S+34S; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=ud4S+34S; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 7FB5EF9FA X-Spam-Score: -4.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: GtEtolDZg/As Andreas Reuleaux writes: > [...] > I want to start X on my system with startx - i.e. log into my system > just from a tty, and then start X by hand (and i3 will be my window > manager, I just have an .xsession file in my $HOME, where I start i3) Hello, you can use 'xorg-server-service-type' (not documented, patch welcome!) with 'sx' (recommended) or 'xinit': 1. Add 'xorg-server-service-type' to the system config, and reconfigure. After this you'll have 'X' and 'Xorg' in '/run/current-system/profile/bin'. 2. Install 'sx' or 'xinit', config them: - For 'sx', create the ~/.config/sx/sxrc script, which likely ends with 'exec dbus-run-session -- i3' . - For 'xinit', create the ~/.xinitrc script and a ~/.xserverrc with: --8<---------------cut here---------------start------------->8--- tty=$(tty) tty=${tty#/dev/tty} X vt${tty} --8<---------------cut here---------------end--------------->8--- This xserverrc is needed for rootless X to start with the current tty. 3. Run 'sx' or 'xinit' from tty. I think you also need to to be in the 'video' and 'input' group for this to work. Hope it helps!