Can I Run XORG Server As A Regular User?

Undefined

Yes, since Debian 9 "Stretch" version of Xorg, it is possible to run the the server as a regular user without being root. This also reduces the risk of privilege escalation via bugs in the X server.

To run XORG Server as a regular user instead of Root.

You will need to fulfill some requirements for it to work:

  • It needs logind and libpam-systemd.
     
  • The system needs to support Kernel Mode Setting (KMS). Therefore, it may not work in some virtualization environments (e.g. virtualbox) or if the kernel has no driver that supports your graphics card.
     
  • It needs to run on the virtual console it was started from.
     
  • Only the gdm3 display manager supports running X as a non-privileged user in stretch. Other display managers will always run X as root. Alternatively, you can also start X manually as a non-root user on a virtual terminal via startx.

NOTE: When run as a regular user, the Xorg log will be available from ~/.local/share/xorg/.

 

Library categories: 

Games For Linux

Windows has always been the preferred platform for gaming, but after STEAM's interest in Linux more game developers are making their games natively available for Linux.

Disclaimer

All information on this website is published in good faith and for general educational purposes and for use in safe testing environments only. While linuxexperten.com strives to make the information on this site as accurate as possible, linuxexperten.com does not warrant its completeness, reliability and accuracy.

We are not responsible for any losses or damages associated with the use of our website. While we strive to provide only links to useful websites, we have no control over the content of these sites and links to other sites do not constitute a recommendation for all content contained on these websites.

 

Site Information

This is a professional review site that receives compensation from the companies whose products reviewed. Each service or product are thoroughly tested and given high marks if considered to be the very best. Independently owned and the opinions expressed here are no one elses.

 

Limited Time Offers

Coming soon...