Gentoo Archives: gentoo-user

From: Ian Zimmerman <itz@×××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: X w/o suid root
Date: Sun, 18 Dec 2016 05:36:32
Message-Id: 20161218052237.4387.3041200A@matica.foolinux.mooo.com
In Reply to: Re: [gentoo-user] X w/o suid root [Was: from Firefox52: NO pure ALSA?] by Simon Thelen
1 On 2016-12-17 02:12, Simon Thelen wrote:
2
3 > Have you tried reading through [1] ? Specifically being in the
4 > video/input groups. Also maybe check that you have modesetting built
5 > into the kernel and maybe check Xorg.0.log about modesetting related
6 > messages.
7
8 > [1]: https://wiki.gentoo.org/wiki/Non_root_Xorg
9
10 I checked everything that (pleasantly short) article indicates. Most of
11 it was already in place, except the input group permission. I took care
12 of that by making Xorg setgid to the input group. But no luck: it
13 still fails exactly the same way:
14
15 > > [ 2890.175] (++) using VT number 2
16 > > [ 2890.175] (WW) xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted
17 > > [ 2890.175] (EE) xf86OpenConsole: Switching VT failed
18
19 Looking at kernel sources, it seems obvious this means the test at
20 drivers/tty/vt/vt_ioctl.c around line 360 in vt_ioctl() fails. Any idea
21 why it would fail for me and not others? In particular why is it that
22 the X process has no controlling tty by this point - that's the check I
23 would expect to succeed?
24
25 --
26 Please *no* private Cc: on mailing lists and newsgroups
27 Personal signed mail: please _encrypt_ and sign
28 Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html

Replies

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