Talk:Non root Xorg

Instructions not working?
I spent some time on this but was unable to get it working. My best explanation is that my user lacks the (root) rights necessary to become the DRM master (for /dev/dri/card0). My understanding is that systemd and D-Bus will provision these rights to users who wish to run Xorg. Since my Gentoo deployment lacks these systems, I observed Xorg failed to start as a regular user with the log entry, "no primary bus or device found". Note that Xorg would still run without issue when run as root.

If someone gets Xorg working without suid set and without systemd/D-Bus, please remove the warning box I posted on this page (and add the additional necessary steps).

Ennui (talk) 19:17, 10 June 2015 (UTC)


 * It seems the key step you missed was adding your user to the video group. As with using direct rendering, the user needs permissions to access the video hardware. If this is done, it certainly works for Intel without systemd, ConsoleKit, or anything other than standard UNIX user/group permissions. --JJS (talk) 21:32, 30 November 2015 (UTC)

Handling of DRM IOctls
Hello,

Please do not edit Non_root_Xorg, as I am currently working out a draft on my user page. I want to persist the diff files and provide preciser instructions.

Thank you!

Keks24 (talk) 04:26, 27 July 2020 (UTC)


 * Too late,, doesn't want that content in the article, apparently. Old content is available as part of the [//wiki.gentoo.org/index.php?title=Non_root_Xorg&oldid=884856 article's history], as usual. — GuillermoDH (talk) 00:56, 31 July 2020 (UTC)


 * Wow! This is outright vandalism, it just destroyed a year of work by the community and graffiti'd over it with poorly formatted mechanical instructions for one dude's pet project that could've gone in a pkg_postinst instead. Someone please rein this loose cannon in already, their open contempt toward Gentoo as a whole is unacceptable. Ant P. (talk) 12:06, 31 July 2020 (UTC)


 * Just mentioning it: Everything is licensed under, so as the Editing_pages article says. :) By the way:  does not output me any wrapper  is mentioning or does he mean , which he has deleted? Keks24 (talk) 19:28, 31 July 2020 (UTC)


 * He means the program. It will be there if xorg-base/xorg-server is installed with both the  and  flags set, or both the  and  flags set. — GuillermoDH (talk) 00:53, 1 August 2020 (UTC)

Non root Xorg as service
It seems that recent Xorg versions require elogind, as indicated in this manual, but that elogind requires user to be logged in. I have a kodi service running as user kodi which cannot start anymore because of that. I now have to modify it to be run as root. I think that this should be indicated in this page for other user searching why such service does not work anymore.