|
|
9e2b258 |
.\" Xwrapper.wrap.1
|
|
|
9e2b258 |
.\"
|
|
|
9e2b258 |
.\" Copyright 2014 Red Hat, Inc.
|
|
|
9e2b258 |
.\"
|
|
|
9e2b258 |
.\" Permission to use, copy, modify, distribute, and sell this software and its
|
|
|
9e2b258 |
.\" documentation for any purpose is hereby granted without fee, provided that
|
|
|
9e2b258 |
.\" the above copyright notice appear in all copies and that both that
|
|
|
9e2b258 |
.\" copyright notice and this permission notice appear in supporting
|
|
|
9e2b258 |
.\" documentation.
|
|
|
9e2b258 |
.\"
|
|
|
9e2b258 |
.\" The above copyright notice and this permission notice shall be included
|
|
|
9e2b258 |
.\" in all copies or substantial portions of the Software.
|
|
|
9e2b258 |
.\"
|
|
|
9e2b258 |
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
9e2b258 |
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
9e2b258 |
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
|
9e2b258 |
.\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
|
9e2b258 |
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
|
9e2b258 |
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
9e2b258 |
.\" OTHER DEALINGS IN THE SOFTWARE.
|
|
|
9e2b258 |
.\"
|
|
|
9e2b258 |
.\" Except as contained in this notice, the name of The Open Group shall
|
|
|
9e2b258 |
.\" not be used in advertising or otherwise to promote the sale, use or
|
|
|
9e2b258 |
.\" other dealings in this Software without prior written authorization
|
|
|
9e2b258 |
.\" from The Open Group.
|
|
|
9e2b258 |
.\"
|
|
|
9e2b258 |
.\" shorthand for double quote that works everywhere.
|
|
|
9e2b258 |
.ds q \N'34'
|
|
|
9e2b258 |
.TH Xorg.wrap 1 __xorgversion__
|
|
|
9e2b258 |
.SH NAME
|
|
|
9e2b258 |
Xorg.wrap \- Xorg X server binary wrapper
|
|
|
9e2b258 |
.SH DESCRIPTION
|
|
|
9e2b258 |
The Xorg X server may need root rights to function properly. To start the
|
|
|
9e2b258 |
Xorg X server with these rights your system is using a suid root wrapper
|
|
|
9e2b258 |
installed as __suid_wrapper_dir__/Xorg.wrap which will execute the real
|
|
|
9e2b258 |
X server which is installed as __suid_wrapper_dir__/Xorg.bin .
|
|
|
9e2b258 |
.PP
|
|
|
9e2b258 |
By default Xorg.wrap will autodetect if root rights are necessary, and
|
|
|
9e2b258 |
if not it will drop its elevated rights before starting the real X server.
|
|
|
9e2b258 |
By default Xorg.wrap will only allow executing the real X server from login
|
|
|
9e2b258 |
sessions on a physical console.
|
|
|
9e2b258 |
|
|
|
9e2b258 |
.SH CONFIG FILE
|
|
|
9e2b258 |
Xorg.wrap's default behavior can be overridden from the
|
|
|
9e2b258 |
\fI__sysconfdir__/X11/Xwrapper.config\fP config file. Lines starting with a
|
|
|
9e2b258 |
\fB#\fP in Xwrapper.config are considered comments and will be ignored. Any
|
|
|
9e2b258 |
other non empty lines must take the form of \fBkey\fP = \fIvalue\fP.
|
|
|
9e2b258 |
.TP 8
|
|
|
9e2b258 |
\fBallowed_users\fP = \fIrootonly\fP|\fIconsole\fP|\fIanybody\fP
|
|
|
9e2b258 |
Specify which users may start the X server through the wrapper. Use
|
|
|
9e2b258 |
\fIrootonly\fP to only allow root, use \fIconsole\fP to only allow users
|
|
|
9e2b258 |
logged into a physical console, and use \fIanybody\fP to allow anybody.
|
|
|
9e2b258 |
The default is \fIconsole\fP.
|
|
|
9e2b258 |
.TP 8
|
|
|
9e2b258 |
\fBneeds_root_rights\fP = \fIyes\fP|\fIno\fP|\fIauto\fP
|
|
|
9e2b258 |
Configure if the wrapper should drop its elevated (root) rights before starting
|
|
|
9e2b258 |
the X server. Use \fIyes\fP to force execution as root, \fIno\fP to force
|
|
|
9e2b258 |
execution with all suid rights dropped, and \fIauto\fP to letter the wrapper
|
|
|
9e2b258 |
auto-detect. The default is \fIauto\fP.
|
|
|
9e2b258 |
.PP
|
|
|
9e2b258 |
When auto-detecting the wrapper will drop rights if kms graphics are available
|
|
|
9e2b258 |
and not drop them if no kms graphics are detected. If a system has multiple
|
|
|
9e2b258 |
graphics cards and some are not kms capable auto-detection may fail,
|
|
|
9e2b258 |
in this case manual configuration should be used.
|
|
|
9e2b258 |
|
|
|
9e2b258 |
.SH "SEE ALSO"
|
|
|
9e2b258 |
Xorg X server information: \fIXorg\fP(1)
|