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 7B5D6138334 for ; Fri, 9 Nov 2018 08:50:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7AAD1E0D88; Fri, 9 Nov 2018 08:50:16 +0000 (UTC) Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (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 E7E43E0D78 for ; Fri, 9 Nov 2018 08:50:15 +0000 (UTC) Received: by mail-ot1-x32d.google.com with SMTP id u16so643006otk.8 for ; Fri, 09 Nov 2018 00:50:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=n9ivTuxeD5d5gRRmdJEYsPFYfqkcYbL248FWYIMbYIU=; b=U9cPfAc5FDgEfEGzOtuBqWs+v3YkbDo6F1O20g0UzHt61HVeSxO+pWf1MhYEEQFaWA wrvcl6i/iHIWEfg5xv3nuhN1ARZM2HESh045yb4R4+ErR1VE9HU2QjHNkj7GaRoa7Kkr XFWcevrzH4K05ufEo6ZLJAazdjz/M8qZ6h7kaoKBEIs7MLx9FUjRNj/+tZaNpEtuawsp dqElLW6LEswfrS2FACzy3SkPIXyWMuf1ni+ClkATFOKoKd/ss4KeseptFPMzFuJWj4/m 8F/7BHiEDA3udW8wgPoMpgIDNTjTiRR2uGTcZVkXdvnRqCude487ydLTOWu0XQxzJlQU ANrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=n9ivTuxeD5d5gRRmdJEYsPFYfqkcYbL248FWYIMbYIU=; b=PUtqT6GITR5PaEAB/dtcVzdRleW3jaVD39ziOGn63DOiJ3d4Mzccfg998cNGSmJLpc owpdBTXcqEvd+dhdF6x4OLIbmx44srjrFtRGlILdsdSCkkMKi2X5B+BkVIOtQla0ZCH5 Ib6CPdHVF0l3vSjn+rzCgGPyxpjaqsNm5460OH9d6awehyHoBmvx739IAUSztxWnHNUl wzixD4WhbzR++mtEnoMiycZNPz//ZzmKEAlmlCgxX99YBprL/lSQd4WMrCKMbWf2muL7 AxdHqpgLSksAvMIgobr3KNfiWiTZkjArKIRM6frM24Ruh8cbEjzkxQVHQGdeVG7qoCBr G0UQ== X-Gm-Message-State: AGRZ1gKe/ArX2ZbljUyNS634G8V8eNrfzjGImN0Lb4Pn5lbHNMaPd/yr luIiPSVOXoR/ZJE5UuIsEhalBFM2seFeB1xLcFAuOhfJ X-Google-Smtp-Source: AJdET5fUfgRJnKLDh9zGNf8wfhICpR/BhgxRK3hKzmK0NXO03Lf5uf1nqJouQcB20EtzpCva7ailh2XwWnoMjNiemX4= X-Received: by 2002:a9d:3db6:: with SMTP id l51mr4650355otc.348.1541753411369; Fri, 09 Nov 2018 00:50:11 -0800 (PST) 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 References: <20181103140151.GA5029@ACM> <87r2fxv8p0.fsf@work.i-did-not-set--mail-host-address--so-tickle-me> <127c5862-bcca-f6da-cf27-9dcf3d3a6152@apteryx.fr> In-Reply-To: <127c5862-bcca-f6da-cf27-9dcf3d3a6152@apteryx.fr> From: gevisz Date: Fri, 9 Nov 2018 10:49:28 +0200 Message-ID: Subject: Re: [gentoo-user] Permissions error on starting X. To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: fb5e5769-4e13-471b-9d7d-2a346b526e76 X-Archives-Hash: e20ec841e228156afd38becf3abd6a5a =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 tha= n > > 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