From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id DqYtCOJJImGWHAAAgWs5BA (envelope-from ) for ; Sun, 22 Aug 2021 14:58:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2K5IA+JJImEqLQAAB5/wlQ (envelope-from ) for ; Sun, 22 Aug 2021 12:58:10 +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 61CF613E3B for ; Sun, 22 Aug 2021 14:58:09 +0200 (CEST) Received: from localhost ([::1]:45654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHn39-0001bM-AY for larch@yhetil.org; Sun, 22 Aug 2021 08:58:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHn30-0001b7-JX for help-guix@gnu.org; Sun, 22 Aug 2021 08:57:58 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHn2y-0001T6-ST for help-guix@gnu.org; Sun, 22 Aug 2021 08:57:58 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1629637067; cv=none; d=zohomail.com; s=zohoarc; b=ZQPvExr650Wi2sUqsWiAAE6pwRBL5jt2QuIn8NvOrD1AJIe/pnCb6T021SSYPa8gMyD5xddv3YhdesITdb412wIi8iJOiN9aplzc/yK0zGxe0BUfSom+/cUfZ0Rjry+VXfiKHurSQTM3emy6Lhg+Tlg7tyG6EAqSZyIk6WK2epA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629637067; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=XHrEnTxMGwEJ0b2KtPz1E9m6TodLw9EbNH+mXcDLISM=; b=D/g8BZLZzM4tV/Lk72ZI1ITabtItgtUuZGDDkolGnd5rwMH0FIvPkLHg6n/CFa0t1RlQfXJMBVzxNM80+yJyp/iyQx/UkJe6eNYO4/NXQ2Fx1ySCNyijPJ0FMwjVKu0ibhb/ijsJ3rdkhsByRpTC8o/ewMXI8TpCMs3SFfj0Wzc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=a-rx.info; spf=pass smtp.mailfrom=rx@a-rx.info; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1629637067; s=zoho; d=a-rx.info; i=rx@a-rx.info; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=XHrEnTxMGwEJ0b2KtPz1E9m6TodLw9EbNH+mXcDLISM=; b=lCVEtL27xd4xb/ljSY4seikYVahGSRr2cyINvxvCPvjWbSQfDHdh2Dstzp5r0xct XjYdHOJmZR5xruBMY0rmf84G292B/QUCQWSeBRzG+eHOOAhBa2o+/DkJ3GCdU6k0DSG MxP3n2lJQMj5IBSUM9zJAt2hWgmWOgsZX+G0p5To= Received: from softland (host5-81-182-246.range5-81.btcentralplus.com [5.81.182.246]) by mx.zohomail.com with SMTPS id 1629637064726572.540467863992; Sun, 22 Aug 2021 05:57:44 -0700 (PDT) Received: from rx by softland with local (Exim 4.94.2) (envelope-from ) id 1mHn2j-00E4Sp-Jq; Sun, 22 Aug 2021 13:57:41 +0100 From: Andreas Reuleaux To: =?utf-8?B?5a6L5paH5q2m?= 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:57:41 +0100 In-Reply-To: (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sun, 22 Aug 2021 13:55:15 +0800") Message-ID: <87a6l9prga.fsf@softland> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rx@a-rx.info; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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=1629637089; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XHrEnTxMGwEJ0b2KtPz1E9m6TodLw9EbNH+mXcDLISM=; b=pIKATXNhiLb/D6H2dH5vh+JcKHxb790uBNvUpyu4CxpCv9M6G+BugOEdDD1KOGjOZEuQfy EfQjnzXJ/P8NGeUKUs3Uzign1AeDWtpq8E5KlsLK6C5tuBwDt/Xbv/urhNOJ1zmcNx4gz6 0n5+2x7XJyu9SSWH9quHeksjx4fRWBbihEF1HBHZAVxR8m3MnVrraaxFniKpkL6OeQhkij j+8QPvL5VXOa1I57L3AroL1/YRlz23RinMmBJsRABi3yM7jAOoQCDn+t5crXDoyojm1GEj +zASumb11Vpee/Bd0zM2mzOZPug0pOh4E6cw30uiN5SJBeMnJCaJau+CJ6TP9Q== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1629637089; a=rsa-sha256; cv=pass; b=AUvFEyPmxENe5+yzgy7BHEa/kLanPpASUprFPCtE/IyILoDSHBAd1Yd2wg2zAYsJHWHbog lBVRO50aYlcgEZVgcS+S1Wptb3a9xoiDDi44S5R1q2cEmaSM1LL9kN5UW2R5t6WC2MtbYX t7UXyeS8bV6leqYvLOb0Z0CKo49yuNCnJNA8Z9VXh1ERVDInLXIDip8n04wOqjKia8LPrd Q6MnTeIbacwXAn/wFwsghdA1y90eKou7L88NX1odRASylpUgwtD/voxpKSFeWPbk4f3bo+ KGcboWBf+Qgql1AJp047Ck9lo/Fs3xwdvE5F5jG9Y5D5rfFmlps/VFxzY9ddNw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=lCVEtL27; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=lCVEtL27; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; 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: 61CF613E3B X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: BVoNNNRC5LvO OK, thanks for that as well: I will have a look. -A 宋文武 writes: > 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: > > tty=$(tty) > tty=${tty#/dev/tty} > X vt${tty} > > 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!