Gentoo Archives: gentoo-user

From: YUE Daian <sheepduke@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Permissions error on starting X.
Date: Fri, 09 Nov 2018 09:19:55
Message-Id: 87lg62fw0i.fsf@work.i-did-not-set--mail-host-address--so-tickle-me
In Reply to: Re: [gentoo-user] Permissions error on starting X. by gevisz
1 On 2018-11-09 10:49, gevisz <gevisz@×××××.com> wrote:
2 > пт, 9 нояб. 2018 г. в 2:20, Hervé Guillemet <hg@×××××××.fr>:
3 >>
4 >> Le 07/11/2018 à 04:59, YUE Daian a écrit :
5 >>
6 >> >
7 >> > I got "setblabla error: cannot open /dev/tty0 (permission denied)".
8 >> >
9 >> > A possible solution without changing anything unnecessary is to run
10 >> > startx as "startx -- vt1".
11 >> >
12 >> > No need to change permission/ownership of anything.
13 >> > It is just required that the user is in "video" group. No "tty" or
14 >> > "input" needed.
15 >> >
16 >> > I presume it is because your user does not have access to TTY other than
17 >> > its login TTY. So if you log in by "tty1", just start X in "vt1".
18 >> >
19 >> > Hope that helps somehow.
20 >>
21 >> Thanks for this tip. This worked for me but adding the user to "input"
22 >> group was also necessary.
23 >
24 > Have you tried the alternative method described here:
25 > https://wiki.gentoo.org/wiki/Non_root_Xorg
26
27 Nope. It seems that the method I mentioned was somehow the first method
28 described in the Wiki.
29
30 I am wondering what are the differences between the two? Which one is
31 better?

Replies

Subject Author
Re: [gentoo-user] Permissions error on starting X. "Hervé Guillemet" <hg@×××××××.fr>