From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26660138334 for ; Fri, 9 Nov 2018 09:19:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88B28E0DBE; Fri, 9 Nov 2018 09:19:47 +0000 (UTC) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 01965E0D86 for ; Fri, 9 Nov 2018 09:19:46 +0000 (UTC) Received: by mail-pl1-x632.google.com with SMTP id t6-v6so677594plo.9 for ; Fri, 09 Nov 2018 01:19:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=YgKpIktJNJ0HCLmRPDcSZyM+il2PuHioU8HzIDYbSsA=; b=USFjqWicwlIQ98esvJHkPh12fea2zByRe1KlSkIM7Z79LtlNTkVY4OHiAuXIqN9ouL C+Agb//yEsp9zh/hP9M6D4js8qhNwV78Vu4PUHt78okHOigKab/1kilx8+V4NbeFZgW0 jyv32KoBWQWiJlUOZrN9ZTkvQ4on+DOiEI/2ovqS7eigVuDG0vmarOUiIv8NMlhyoGBS g4zzPTKVuSrC48plFliVRssq84TrpkIL/LCCWaVid/KCiXtrTUedQxMYTtnxqNc56Md1 8YQq/ReF7AVYmMrUZhtMI5wryhFfvOuv4r/uJ3J6Lsvz47Fi8pkVoGy1qnul7D5qHLLK roIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=YgKpIktJNJ0HCLmRPDcSZyM+il2PuHioU8HzIDYbSsA=; b=AkFXcYriKgmwgW9azpA4IGcoTyMPkTZrT9eEWsWrGw27V6PKCdwM9oRgElzPYbIK3b YzrCan7/Mv8+ySXEb3ueT2p6jztjlXKbwVnpVE9qZm5Q43r494n6MbBGrJdQs0jmuTSv GTLDuxX3ggeNek574sTmNwrcB5mZuTz9CLeLwC0U02x0sLUMfd3Gl1OGwRbVKNSlSYtR NjzUl4dxC4S/P8LcR3SKBarSftkiAcH/PltsI6wSg+V19yxGb/NpjAKi/4I4OXdZ6Dud U3SwYtYZmO0uLh1c3XPEOXXnVCb05OX5dmMANg9RwyC08WEjWxoG5gAvLAmsU6abkvAZ mTrg== X-Gm-Message-State: AGRZ1gJTjY6nUv5gUAE1+GxTcRF7D2JPopzvZCIIaPNA9VO9GgeFr1SU j/CZcrfLptbxrJplcD3fa8pUqJIaex4= X-Google-Smtp-Source: AJdET5cPKE+u75RLtMez9GOue8wwhdIqwfog0keirfUgtQedLH0rpQajQVQ/pWdU7bhRO/Zi82eASA== X-Received: by 2002:a17:902:560f:: with SMTP id h15-v6mr4958495pli.160.1541755184943; Fri, 09 Nov 2018 01:19:44 -0800 (PST) Received: from localhost ([118.201.58.126]) by smtp.gmail.com with ESMTPSA id 196-v6sm18555336pfc.71.2018.11.09.01.19.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Nov 2018 01:19:44 -0800 (PST) From: YUE Daian To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Permissions error on starting X. In-Reply-To: References: <20181103140151.GA5029@ACM> <87r2fxv8p0.fsf@work.i-did-not-set--mail-host-address--so-tickle-me> <127c5862-bcca-f6da-cf27-9dcf3d3a6152@apteryx.fr> Date: Fri, 09 Nov 2018 17:19:41 +0800 Message-ID: <87lg62fw0i.fsf@work.i-did-not-set--mail-host-address--so-tickle-me> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: c1f699e1-eeff-4acd-8098-acc7fcb34a05 X-Archives-Hash: 834d274ff735ed6b9f671a61cf47f627 On 2018-11-09 10:49, gevisz wrote: > =D0=BF=D1=82, 9 =D0=BD=D0=BE=D1=8F=D0=B1. 2018 =D0=B3. =D0=B2 2:20, Herv= =C3=A9 Guillemet : >> >> Le 07/11/2018 =C3=A0 04:59, YUE Daian a =C3=A9crit : >> >> > >> > I got "setblabla error: cannot open /dev/tty0 (permission denied)". >> > >> > A possible solution without changing anything unnecessary is to run >> > startx as "startx -- vt1". >> > >> > No need to change permission/ownership of anything. >> > It is just required that the user is in "video" group. No "tty" or >> > "input" needed. >> > >> > I presume it is because your user does not have access to TTY other th= an >> > its login TTY. So if you log in by "tty1", just start X in "vt1". >> > >> > Hope that helps somehow. >> >> Thanks for this tip. This worked for me but adding the user to "input" >> group was also necessary. > > Have you tried the alternative method described here: > https://wiki.gentoo.org/wiki/Non_root_Xorg Nope. It seems that the method I mentioned was somehow the first method described in the Wiki. I am wondering what are the differences between the two? Which one is better?