From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: How to setuid X.org? Date: Mon, 20 Mar 2017 09:50:21 +0100 Message-ID: <87y3w072nm.fsf@gnu.org> References: <20170319200255.5ef60556@khaalida> 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]:34988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpt1H-0002yT-IO for help-guix@gnu.org; Mon, 20 Mar 2017 04:50:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpt1E-0006FR-HB for help-guix@gnu.org; Mon, 20 Mar 2017 04:50:27 -0400 In-Reply-To: <20170319200255.5ef60556@khaalida> (dian cecht's message of "Sun, 19 Mar 2017 20:02:55 -0700") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: dian_cecht@zoho.com Cc: help-guix@gnu.org Hello, skribis: > I have tried several times to get X.org (/bin/X, specifically) > setuid for obvious reasons. However, I can't find any examples of usage > and attempting to follow the infopages has led to a bunch of different > errors and failures (and rather useless error messages). I currently > don't have any useful logs of what I tried and the output (it was on a > LiveUSB I'm using for testing purposes), but I'm not wanting to use > %desktop-services (or other service packs, for that matter), which has > already been suggested. To complement what Marius wrote, note that you don=E2=80=99t have to use =E2=80=98%desktop-services=E2=80=99 as-is to get X running. You can remove= services you don=E2=80=99t want from =E2=80=98%desktop-services=E2=80=99 as shown at (search for =E2=80=9Cremove=E2=80=9D), or you can build your own service li= st. In the latter case, you=E2=80=99ll want at least =E2=80=98slim-service=E2= =80=99 or =E2=80=98sddm-service=E2=80=99 for the graphical login manager. See and . If you don=E2=80=99t want a graphical login manager, the solution would be = to install =E2=80=98xinit=E2=80=99 (which provides the =E2=80=98startx=E2=80= =99 command) rather than make Xorg setuid-root. However, people reported in the past that there were problems with =E2=80=98xinit=E2=80=99, though I forgot what it was. HTH, Ludo=E2=80=99.