Github messages for voidlinux
 help / color / mirror / Atom feed
From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] xorg-server: default Xwrapper.config forces Xorg to always run as root
Date: Sat, 30 Jan 2021 02:57:46 +0100	[thread overview]
Message-ID: <20210130015746.ogQw84OpO78kleCn9nFaG3miS_WsIzusW9jbCg04rL8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13754@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

Closed issue by r00tman on void-packages repository

https://github.com/void-linux/void-packages/issues/13754

Description:
Is there a reason we keep `needs_root_rights = yes` in `/etc/X11/Xwrapper.config`, when we can change it to `needs_root_right = auto`? The latter would allow Xorg.wrap to drop root privileges if it detects that KMS is supported.

<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  Void 5.1.21_1 x86_64-musl GenuineIntel uptodate rF
* package:  
  xorg-server-1.20.5_1

### Expected behavior
Xorg.wrap drops root privileges if all cards support KMS

### Actual behavior
Xorg always runs as root.

### Steps to reproduce the behavior
Use default Xwrapper.config

      parent reply	other threads:[~2021-01-30  1:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13754@inbox.vuxu.org>
2021-01-30  1:57 ` ericonr
2021-01-30  1:57 ` ericonr [this message]

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=20210130015746.ogQw84OpO78kleCn9nFaG3miS_WsIzusW9jbCg04rL8@z \
    --to=ericonr@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).