Ubuntu Nearing X Server Not Running as Root

Based upon a recent email to the X.Org developers’ mailing list, Canonical is nearing the point of one of their goals for Ubuntu 10.10 of a rootless X Server, or being able to run the X.Org Server without root privileges.

All that’s left to accomplish within the Ubuntu land according to Canonical’s Christopher James Rogers is working out a /dev/backlight device interface that udev would set the appropriate permissions on for the user. The /proc/mtrr may also need to be handled too, but Rogers doesn’t believe any of the drivers (at least the main KMS drivers) are using this interface.

With all of the necessary prerequisites addressed, when starting the X Server they will have a check to see if kernel mode-setting is being used, if /dev/backlight exists, and if /dev/input/* has appropriate user permissions. If all conditions are true, the X.Org Server would not be run as the root user, which leads to better security. Of course, this feat has already been achieved by other Linux distributions such as Moblin and now MeeGo.

This would largely help out those with the open-source ATI, Intel, and Nouveau drivers that use kernel mode-setting while those using non-KMS drivers, including the binary drivers from ATI and NVIDIA, would still be running their X Server as root.

The mailing list thread discussing this can be found on xorg-devel.
There is also the Maverick blueprint discussing this likely feature of Ubuntu 10.10. Other details can also be found on the Ubuntu Wiki.

91 Comments

  1. 2010-06-26 12:35 am
    • 2010-06-26 1:08 am
  2. 2010-06-26 2:05 am
    • 2010-06-26 3:08 am
      • 2010-06-26 7:37 am
    • 2010-06-26 3:49 am
      • 2010-06-26 5:48 am
      • 2010-06-26 7:04 am
        • 2010-06-26 8:09 am
          • 2010-06-26 8:27 am
          • 2010-06-26 10:08 am
          • 2010-06-26 12:49 pm
          • 2010-06-26 3:32 pm
          • 2010-06-26 4:31 pm
          • 2010-06-26 4:58 pm
          • 2010-06-26 9:48 pm
          • 2010-06-26 11:00 pm
          • 2010-06-26 5:24 pm
          • 2010-06-27 8:43 am
          • 2010-06-27 8:17 pm
          • 2010-06-27 9:42 pm
          • 2010-06-27 9:26 pm
          • 2010-06-27 10:03 pm
          • 2010-06-27 10:37 pm
          • 2010-06-28 7:17 am
          • 2010-06-28 8:12 am
          • 2010-06-28 9:12 am
          • 2010-06-28 5:53 pm
          • 2010-06-26 5:23 pm
          • 2010-06-26 8:42 pm
          • 2010-06-26 10:29 pm
      • 2010-06-26 1:59 pm
        • 2010-06-26 2:12 pm
          • 2010-06-26 2:59 pm
          • 2010-06-26 3:39 pm
          • 2010-06-26 5:18 pm
          • 2010-06-26 6:57 pm
          • 2010-06-27 3:24 pm
          • 2010-06-26 3:42 pm
          • 2010-06-26 4:57 pm
          • 2010-06-26 4:26 pm
          • 2010-06-26 7:01 pm
          • 2010-06-26 7:04 pm
          • 2010-06-26 7:16 pm
          • 2010-06-26 8:30 pm
          • 2010-06-26 10:09 pm
          • 2010-06-26 10:57 pm
          • 2010-06-27 1:07 am
          • 2010-06-27 1:33 am
          • 2010-06-28 5:29 am
          • 2010-06-27 3:01 am
          • 2010-06-26 3:02 pm
          • 2010-06-26 3:17 pm
          • 2010-06-26 7:20 pm
          • 2010-06-26 8:35 pm
          • 2010-06-26 10:30 pm
          • 2010-06-28 9:02 am
          • 2010-06-30 2:11 pm
          • 2010-06-30 8:26 pm
        • 2010-06-26 7:13 pm
          • 2010-06-27 1:27 am
          • 2010-06-28 5:37 am
      • 2010-06-26 7:23 pm
        • 2010-06-28 5:39 am
    • 2010-06-26 9:03 am
      • 2010-06-26 9:40 am
      • 2010-06-26 9:43 am
        • 2010-06-26 2:29 pm
          • 2010-06-27 9:19 pm
        • 2010-06-29 7:47 pm
      • 2010-06-26 5:30 pm
      • 2010-06-26 7:21 pm
        • 2010-06-27 12:15 am
          • 2010-06-29 8:02 pm
          • 2010-06-29 8:12 pm
          • 2010-06-30 5:34 am
      • 2010-06-28 5:53 am
      • 2010-06-28 8:39 am
    • 2010-06-26 3:15 pm
      • 2010-06-26 8:52 pm
    • 2010-06-29 7:50 am
  3. 2010-06-26 8:41 am
  4. 2010-06-26 9:33 am
    • 2010-06-26 9:59 am
      • 2010-06-27 3:30 am
        • 2010-06-27 7:01 am
  5. 2010-06-26 10:11 am
  6. 2010-06-26 2:16 pm
    • 2010-06-28 5:43 am
  7. 2010-06-29 10:36 am