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 840B4139084 for ; Sat, 17 Dec 2016 01:12:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CE9F21C06A; Sat, 17 Dec 2016 01:12:34 +0000 (UTC) Received: from caladan.c-14.de (caladan.c-14.de [IPv6:2a01:4f8:d13:2109::a380:800]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 938C7E0C2F for ; Sat, 17 Dec 2016 01:12:33 +0000 (UTC) Received: from sardaukar.c-14.de (HSI-KBW-109-192-117-105.hsi6.kabel-badenwuerttemberg.de [109.192.117.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by caladan.c-14.de (Postfix) with ESMTPSA id 96C8E1C3678 for ; Sat, 17 Dec 2016 01:12:31 +0000 (UTC) Date: Sat, 17 Dec 2016 02:12:30 +0100 From: Simon Thelen To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] X w/o suid root [Was: from Firefox52: NO pure ALSA?] Message-ID: <20161217011230.GA2398@anonymous> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20161216101951.GA29887@g0n.xdwgrp> <20161216131315.GA4052@g0n.xdwgrp> <20161216165118.GA26704@g0n.xdwgrp> <20161216200653.25353.338C11D1@matica.foolinux.mooo.com> <20161216225032.4514.2AA56A2C@matica.foolinux.mooo.com> <20161216234309.29062.24B0C902@matica.foolinux.mooo.com> 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20161216234309.29062.24B0C902@matica.foolinux.mooo.com> User-Agent: Mutt/1.7.2 (2016-11-26) X-Archives-Salt: 2b93087b-e734-4e77-acd0-205bdd1f5f68 X-Archives-Hash: 2f258a363ba8eaa06755c937268ff363 On 16-12-16 at 15:58, Ian Zimmerman wrote: > After re-merging x11-base/xorg-server package with the new USE settings, > first I tried what I have always done when running with suid; namely, > starting X with an explicit vt argument, approximately thus: > > Xorg vt${vt} -nolisten tcp -s 0 -dpms > > where the vt variable it set dynamically, but it is actually the same vt > from which I run the command. This results in: > > [ 2890.175] (++) using VT number 2 > > [ 2890.175] (WW) xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted > [ 2890.175] (EE) > Fatal server error: > [ 2890.175] (EE) xf86OpenConsole: Switching VT failed > [ 2890.175] (EE) > [ 2890.175] (EE) Have you tried reading through [1] ? Specifically being in the video/input groups. Also maybe check that you have modesetting built into the kernel and maybe check Xorg.0.log about modesetting related messages. [..] > I wonder what I'm missing. Provisional suspects: the *kits are setting > up perms for you in some odd non-Unixy but Xorg friendly way. I don't have any of the *kits installed and it works fine here. > Kernel 4.4.26, xorg-server 1.18.4. Kernel 4.8.13, xorg-server 1.18.4, xf86-video-intel 2.99.917_p20161118 [1]: https://wiki.gentoo.org/wiki/Non_root_Xorg -- Simon Thelen