Ubuntu Working Towards A Rootless X Server

Posted by Michael Larabel on May 10, 2010

One of the benefits of kernel mode-setting on Linux besides providing a flicker-free boot experience, faster and better VT switching, and a cleaner architecture is that it removes a requirement against the X.Org Server from needing to be run as root. With Ubuntu 10.04 LTS now utilizing kernel mode-setting across Intel / ATI and AMD / NVIDIA graphics hardware, they are looking to make the X Server run as a normal user in upcoming releases.

One of the discussions we monitored today during the Ubuntu Developer Summit in Brussels, Belgium was the talk concerning the migration of the X.Org Server from root to being run as a normal user process. This is already being done in some select cases in the Linux world such as Moblin 2.0 not running the X Server as root, but it's gaining the interest of Canonical out of security reasons. The X.Org Server will still need to run in root for hardware and drivers that don't utilize KMS -- such as with the VESA or proprietary drovers -- but for those using the "out of the box" NVIDIA, Intel, and ATI open-source support will benefit.

It hasn't yet been decided whether Ubuntu 10.10 will run the X.Org Server as a normal user or whether it will be delayed to Ubuntu 11.04. For this to happen, an X.Org Server patch needs to be integrated, which as of right now hasn't yet been done for X.Org Server 1.9 that's due out in August. Some GDM changes may also be needed along with a kernel change to support backlight controls for a non-root X.Org Server.

The status of Ubuntu not running the X Server as root can be monitored via this Launchpad Blueprint. More information on the background to the rootless X Server and Ubuntu's implementation can be found on the Ubuntu Wiki.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. NetBSD 6.1 Brings In More Features
  3. Using Six Monitors With AMD's Open-Source Linux Driver
  4. Benchmarking The Intel P-State, CPUfreq Changes
  5. FreeBSD Still Working On Next-Gen Package Manager
  6. DNF Still Advancing As Experimental Yum For Fedora
  7. Logitech Begins Supporting Linux Users
  8. Modern Intel Gallium3D Driver Still Being Toyed With
  9. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  10. GCC 4.8.1 Compiler Due To Be Out Next Week
  11. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
Latest Forum Talk
  1. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  2. Mageia 3 Released, Still Using Legacy GRUB
  3. OpenSUSE Considers Replacing LXDE With E17
  4. Using Six Monitors With AMD's Open-Source Linux...
  5. Sumo Lounge Emperor
  6. BHyVe: A New Hypervisor Coming To FreeBSD 10.0
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite