From: bugzilla-daemon@freedesktop.org Subject: [Bug 90079] drmSetMaster and drmDropMaster need root privileges Date: Tue, 21 Apr 2015 17:49:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1591419203==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DC07B891D4 for ; Tue, 21 Apr 2015 10:49:36 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1591419203== Content-Type: multipart/alternative; boundary="1429638576.c8B02Ea0.2499"; charset="UTF-8" --1429638576.c8B02Ea0.2499 Date: Tue, 21 Apr 2015 17:49:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=90079 --- Comment #1 from Emil Velikov --- The root limitation when using the KMS API is deliberate. If your program only wants to render things then opening/using a render node is what you want. Looking at the problem from another angle: As of recently one could use X server without root access, although that involves using systemd-logind. Not 100% if that will do exactly what you want but having a quick look at the code and checking David's blog [1] on the topic won't hurt. [1] https://dvdhrm.wordpress.com/ -- You are receiving this mail because: You are the assignee for the bug. --1429638576.c8B02Ea0.2499 Date: Tue, 21 Apr 2015 17:49:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 90079 from
The root limitation when using the KMS API is deliberate. If your program only
wants to render things then opening/using a render node is what you want.

Looking at the problem from another angle:
As of recently one could use X server without root access, although that
involves using systemd-logind. Not 100% if that will do exactly what you want
but having a quick look at the code and checking David's blog [1] on the topic
won't hurt.

[1] https://dvdhrm.wordpress.com/


You are receiving this mail because:
  • You are the assignee for the bug.
--1429638576.c8B02Ea0.2499-- --===============1591419203== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1591419203==--