From: ludo@gnu.org (Ludovic Courtès)
To: dian_cecht@zoho.com
Cc: help-guix@gnu.org
Subject: Re: How to setuid X.org?
Date: Mon, 20 Mar 2017 09:50:21 +0100 [thread overview]
Message-ID: <87y3w072nm.fsf@gnu.org> (raw)
In-Reply-To: <20170319200255.5ef60556@khaalida> (dian cecht's message of "Sun, 19 Mar 2017 20:02:55 -0700")
Hello,
<dian_cecht@zoho.com> 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’t have to use
‘%desktop-services’ as-is to get X running. You can remove services you
don’t want from ‘%desktop-services’ as shown at
<https://www.gnu.org/software/guix/manual/html_node/Using-the-Configuration-System.html#System-Services>
(search for “remove”), or you can build your own service list.
In the latter case, you’ll want at least ‘slim-service’ or
‘sddm-service’ for the graphical login manager. See
<https://www.gnu.org/software/guix/manual/html_node/X-Window.html> and
<https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n749>.
If you don’t want a graphical login manager, the solution would be to
install ‘xinit’ (which provides the ‘startx’ command) rather than make
Xorg setuid-root. However, people reported in the past that there were
problems with ‘xinit’, though I forgot what it was.
HTH,
Ludo’.
next prev parent reply other threads:[~2017-03-20 8:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-20 3:02 How to setuid X.org? dian_cecht
2017-03-20 6:48 ` Marius Bakke
2017-03-20 8:50 ` Ludovic Courtès [this message]
2017-03-21 15:11 ` dian_cecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3w072nm.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=dian_cecht@zoho.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.