74 lines
2.7 KiB
HTML
74 lines
2.7 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of Xorg.wrap</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>Xorg.wrap</H1>
|
|
Section: User Commands (1)<BR>Updated: xorg-server 1.20.9<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
Xorg.wrap - Xorg X server binary wrapper
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The Xorg X server may need root rights to function properly. To start the
|
|
Xorg X server with these rights your system is using a suid root wrapper
|
|
installed as /usr/lib/xorg/Xorg.wrap which will execute the real
|
|
X server which is installed as /usr/lib/xorg/Xorg.
|
|
<P>
|
|
|
|
By default Xorg.wrap will autodetect if root rights are necessary, and
|
|
if not it will drop its elevated rights before starting the real X server.
|
|
By default Xorg.wrap will only allow executing the real X server from login
|
|
sessions on a physical console.
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>CONFIG FILE</H2>
|
|
|
|
Xorg.wrap's default behavior can be overridden from the
|
|
<I>/etc/X11/Xwrapper.config</I> config file. Lines starting with a
|
|
<B>#</B> in Xwrapper.config are considered comments and will be ignored. Any
|
|
other non empty lines must take the form of <B>key</B> = <I>value</I>.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>allowed_users</B> = <I>rootonly</I>|<I>console</I>|<I>anybody</I><DD>
|
|
Specify which users may start the X server through the wrapper. Use
|
|
<I>rootonly</I> to only allow root, use <I>console</I> to only allow users
|
|
logged into a physical console, and use <I>anybody</I> to allow anybody.
|
|
The default is <I>console</I>.
|
|
<DT id="2"><B>needs_root_rights</B> = <I>yes</I>|<I>no</I>|<I>auto</I><DD>
|
|
Configure if the wrapper should drop its elevated (root) rights before starting
|
|
the X server. Use <I>yes</I> to force execution as root, <I>no</I> to force
|
|
execution with all suid rights dropped, and <I>auto</I> to let the wrapper
|
|
auto-detect. The default is <I>auto</I>.
|
|
</DL>
|
|
<P>
|
|
|
|
When auto-detecting the wrapper will drop rights if kms graphics are available
|
|
and not drop them if no kms graphics are detected. If a system has multiple
|
|
graphics cards and some are not kms capable auto-detection may fail,
|
|
in this case manual configuration should be used.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
Xorg X server information: <I><A HREF="/cgi-bin/man/man2html?1+Xorg">Xorg</A></I>(1)
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="4"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="5"><A HREF="#lbAD">CONFIG FILE</A><DD>
|
|
<DT id="6"><A HREF="#lbAE">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:31 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|