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.


 * I'm running into that same problem.
 * Maybe an alternative would be to perform what the header warning suggests: "Users who wish to start X remotely will need to take extra steps to ensure that a seat is given to the user from which they start X"
 * Unfortunately I have no idea what or how to do this...
 * Samb (talk) 08:08, 13 October 2020 (UTC)

Insufficient detail
The troubleshooting section says "One can confirm that elogind is working by running . If it does not work..." What does "does not work" mean in this context? What is the expected result of this command if it "works," and what is the different result if it "does not work"? (This same shortcoming is, frustratingly, also in the official Gentoo news item xorg-server dropping default suid, added by on 2020-06-24.)  As a neophyte to elogind, I've never encountered this command before, so I don't know what its usual output (if any) is, thus don't know if the output I'm seeing constitutes a "working" or "not working" status. Median (talk) 21:47, 26 September 2020 (UTC)


 * I believe what it means is if  outputs an error of any kind. IIRC, when I first switched to the   USE flag I got something like this:


 * If everything is working correctly, the output should look something like this:


 * xxc3nsoredxx (talk) 19:40, 13 October 2020 (UTC)


 * Thank you, I have incorporated your advice in this edit.


 * However, this section still needs some work. For instance, it says: "(systemd users) Is there any trace of pam_elogind.so in ?" This does not tell the reader whether this string should appear in this file, or whether this answer is different for non-systemd users. Median (talk) 11:23, 20 November 2020 (UTC)