X.Org Server Now Runs Without Root On OpenBSD

Written by Michael Larabel in BSD on 24 February 2014 at 12:03 AM EST. 14 Comments
BSD
The OpenBSD operating system now supports running its X.Org Server without root permissions for better security.

OpenBSD has long been interested in the Linux KMS/DRM drivers for having the graphics drivers within the kernel so that their X.Org Server doesn't need to be executed as root. As of this weekend that long goal has finally been realized with their X.Org Server not requiring elevated privileges when using the Intel and AMD KMS drivers.

The Intel KMS driver has been stable now for some months while the Radeon KMS driver matured a lot in FreeBSD (for the 10.0 release) over the second half of last year and has since worked its way into DragonFlyBSD and OpenBSD. With the latest code in OpenBSD-current, the X.Org Server doesn't need to access kernel memory or I/O devices directly and thereby can safely run as a user. The Linux xorg-server has also shared this benefit of better security when using KMS drivers or also when using the binary NVIDIA driver.

More details on this OpenBSD security achievement can be found via this blog entry.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week