1 |
On 2016-12-16 14:55, Ian Zimmerman wrote: |
2 |
|
3 |
> My opinion above was based on debian bug #582041 [1] and the Ubuntu |
4 |
> pages referenced by it. Note that the bug is still open. But it is |
5 |
> possible that it only remains open due to non-KMS video drivers. Now |
6 |
> that I have your opinion (and I have Radeon too), I'll give it a try. |
7 |
> Thanks. |
8 |
|
9 |
Well, I tried, and it doesn't work for me. |
10 |
|
11 |
After re-merging x11-base/xorg-server package with the new USE settings, |
12 |
first I tried what I have always done when running with suid; namely, |
13 |
starting X with an explicit vt argument, approximately thus: |
14 |
|
15 |
Xorg vt${vt} -nolisten tcp -s 0 -dpms |
16 |
|
17 |
where the vt variable it set dynamically, but it is actually the same vt |
18 |
from which I run the command. This results in: |
19 |
|
20 |
[ 2890.175] (++) using VT number 2 |
21 |
|
22 |
[ 2890.175] (WW) xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted |
23 |
[ 2890.175] (EE) |
24 |
Fatal server error: |
25 |
[ 2890.175] (EE) xf86OpenConsole: Switching VT failed |
26 |
[ 2890.175] (EE) |
27 |
[ 2890.175] (EE) |
28 |
|
29 |
So then I removed the vt argument, thinking that the current vt should |
30 |
be the default anyway - but apparently not, in this case I got: |
31 |
|
32 |
[ 3419.385] (EE) |
33 |
Fatal server error: |
34 |
[ 3419.385] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) |
35 |
[ 3419.385] (EE) |
36 |
[ 3419.385] (EE) |
37 |
|
38 |
and of course: |
39 |
|
40 |
[2+0]~$ ls -l /dev/tty0 |
41 |
crw--w---- 1 root tty 4, 0 Dec 16 14:31 /dev/tty0 |
42 |
[3+0]~$ |
43 |
|
44 |
I wonder what I'm missing. Provisional suspects: the *kits are setting |
45 |
up perms for you in some odd non-Unixy but Xorg friendly way. |
46 |
|
47 |
Kernel 4.4.26, xorg-server 1.18.4. |
48 |
|
49 |
-- |
50 |
Please *no* private Cc: on mailing lists and newsgroups |
51 |
Personal signed mail: please _encrypt_ and sign |
52 |
Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html |