Gentoo Archives: gentoo-user

From: Simon Thelen <gentoo-user@××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] X w/o suid root [Was: from Firefox52: NO pure ALSA?]
Date: Sat, 17 Dec 2016 01:12:44
Message-Id: 20161217011230.GA2398@anonymous
In Reply to: [gentoo-user] X w/o suid root [Was: from Firefox52: NO pure ALSA?] by Ian Zimmerman
1 On 16-12-16 at 15:58, Ian Zimmerman wrote:
2 > After re-merging x11-base/xorg-server package with the new USE settings,
3 > first I tried what I have always done when running with suid; namely,
4 > starting X with an explicit vt argument, approximately thus:
5 >
6 > Xorg vt${vt} -nolisten tcp -s 0 -dpms
7 >
8 > where the vt variable it set dynamically, but it is actually the same vt
9 > from which I run the command. This results in:
10 >
11 > [ 2890.175] (++) using VT number 2
12 >
13 > [ 2890.175] (WW) xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted
14 > [ 2890.175] (EE)
15 > Fatal server error:
16 > [ 2890.175] (EE) xf86OpenConsole: Switching VT failed
17 > [ 2890.175] (EE)
18 > [ 2890.175] (EE)
19 Have you tried reading through [1] ? Specifically being in the
20 video/input groups. Also maybe check that you have modesetting built
21 into the kernel and maybe check Xorg.0.log about modesetting related
22 messages.
23
24 [..]
25 > I wonder what I'm missing. Provisional suspects: the *kits are setting
26 > up perms for you in some odd non-Unixy but Xorg friendly way.
27 I don't have any of the *kits installed and it works fine here.
28
29 > Kernel 4.4.26, xorg-server 1.18.4.
30 Kernel 4.8.13, xorg-server 1.18.4, xf86-video-intel 2.99.917_p20161118
31
32 [1]: https://wiki.gentoo.org/wiki/Non_root_Xorg
33
34 --
35 Simon Thelen

Replies

Subject Author
[gentoo-user] Re: X w/o suid root Ian Zimmerman <itz@×××××××.net>