From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#25865: xinit does not allow non-root startx Date: Tue, 07 Mar 2017 22:40:42 +0100 Message-ID: <87o9xcrcit.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1clMqv-0001DI-JI for bug-guix@gnu.org; Tue, 07 Mar 2017 16:41:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1clMqs-0007rG-Cu for bug-guix@gnu.org; Tue, 07 Mar 2017 16:41:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46906) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1clMqs-0007r9-7m for bug-guix@gnu.org; Tue, 07 Mar 2017 16:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1clMqs-0006WO-1j for bug-guix@gnu.org; Tue, 07 Mar 2017 16:41:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Alex Vestgaard's message of "Fri, 24 Feb 2017 13:27:15 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Alex Vestgaard Cc: 25865@debbugs.gnu.org Hello, Alex Vestgaard skribis: > xinit suffers from an upstream bug, which does not allow non-root X to be= run without a display manager via startx or xinitrc. Several people have r= eported this on #guix. > > Currently if one runs startx as non-root, X reports: > (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) > > This bug is further discussed in [1]. Redhat seems to have a patch [2], b= ut it is unclear to me whether this has been applied upstream. > > [1] https://bugs.launchpad.net/ubuntu/+source/xinit/+bug/1562219 > [2] https://bugzilla.redhat.com/show_bug.cgi?id=3D1203780 Did you have a change to try Red Hat=E2=80=99s patch? It could be a good starting point. Thanks for your report, Ludo=E2=80=99.