1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Intel, Radeon Drivers Become Friendly With Non-Root X Server

X.Org

Published on 03 April 2014 07:22 AM EDT
Written by Michael Larabel in X.Org
11 Comments

Improvements have landed so far into the Intel and Radeon X.Org drivers for better allowing the X.Org Server to run without root privileges.

Last month we wrote about Red Hat working on a suid root wrapper for the X.org Server and other improvements being led by Red Hat's Hans de Goede to run Xorg in more configurations without needing root support. As part of this, sever managed file descriptors (FDs) has been one of the changes needed by the X.Org graphics drivers for supporting this change of running the xorg-server without root rights. Besides needing changes to the DDX drivers and the X.Org Server (those changes are landing with X.Org Server 1.16 this summer), systemd-logind is also needed.

In March the changes landed in xf86-video-intel for supporting the Intel driver in this new, more-secure world, per this commit. "In the post-modern world, the platform device nodes are handed to a non-privileged Xserver by systemd/logind. We can then query the core for our assigned fd rather than try to open the device for ourselves (which would fail when trying to obtain DRM_MASTER status). A consequence is that we then do not directly control DRM_MASTER status and must act as a delegate of systemd."

Following that, the similar server-managed FD change also landed within the Radeon Git DDX (for whatever reason it didn't show up in my RSS feed until hours ago though it was apparently committed weeks ago).

There's yet to be any change to the Nouveau DDX driver, which per the latest mainline Git, hasn't been touched since November of last year.

This will be good news for security conscious Linux users come this summer with the release of X.Org Server 1.16 and the new releases of the Intel/Radeon DDX drivers.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. Counter-Strike: Global Offensive NVIDIA/AMD Benchmarks On Linux
  2. Running Fedora 20 On Intel's Core i7 Haswell-E Platform
  3. A Tour Of The New Phoronix Office
  4. 7-Way Linux Desktop Gaming Comparison On Ubuntu 14.10
Latest Linux News
  1. Debian Switches Back To GNOME As Its Default Desktop
  2. Fedora 21 Alpha Finally Sees The Light Of Day
  3. Qt 5.4 Will Support Applications Under A Wayland Compositor
  4. Valve Rolls Out A New Steam Storefront
  5. The Features Coming For Fedora 21
  6. Counter-Strike: Global Offensive Starts Rolling Out To Linux Users
  7. The Gestures Support Of GNOME 3.14
  8. Linux 3.17 Has Basic Support For The Xbox One Controller
  9. openSUSE 13.2 Beta Still Using Btrfs By Default, & KDE Plasma 5 For Testing
  10. GTK+ 3.14 Brings Much Better Wayland Support, Multi-Touch, New Theme
Latest Forum Discussions
  1. X.Org Women Outreach Program Only Turns Up Two Applicants So Far
  2. Uselessd: A Stripped Down Version Of Systemd
  3. Wasteland 2 Officially Launched Today, Including For Linux Gamers
  4. State of Nouveau now and in the near future?
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. NVIDIA GTX 770/780 -works ?
  7. New stress testing utility for GPU's
  8. How to get Catalyst 14.4 working on Ubuntu 14.04