Imported Upstream version 1.15.1
[deb_xorg-server.git] / hw / xfree86 / man / Xorg.man
CommitLineData
a09e091a
JB
1.\" $XdotOrg: xserver/xorg/hw/xfree86/doc/man/Xorg.man.pre,v 1.3 2005/07/04 18:41:01 ajax Exp $
2.\" shorthand for double quote that works everywhere.
3.ds q \N'34'
4.TH Xorg __appmansuffix__ __vendorversion__
5.SH NAME
6Xorg - X11R7 X server
7.SH SYNOPSIS
8.B Xorg
9.RI [\fB:\fP display ]
10.RI [ option
11.IR ... ]
12.SH DESCRIPTION
13.B Xorg
14is a full featured X server that was originally designed for UNIX and
15UNIX-like operating systems running on Intel x86 hardware. It now runs
16on a wider range of hardware and OS platforms.
17.PP
18This work was derived by the X.Org Foundation from the XFree86 Project's
19.I "XFree86\ 4.4rc2"
20release.
21The XFree86 release was originally derived from
22.I "X386\ 1.2"
23by Thomas Roell which was contributed to X11R5 by Snitily Graphics
24Consulting Service.
25.SH PLATFORMS
26.PP
27.B Xorg
28operates under a wide range of operating systems and hardware platforms.
29The Intel x86 (IA32) architecture is the most widely supported hardware
30platform. Other hardware platforms include Compaq Alpha, Intel IA64, AMD64,
31SPARC and PowerPC. The most widely supported operating systems are the
32free/OpenSource UNIX-like systems such as Linux, FreeBSD, NetBSD,
33OpenBSD, and Solaris. Commercial UNIX operating systems such as
34UnixWare are also supported. Other supported operating systems include
35GNU Hurd. Mac OS X is supported with the
36Xquartz(__appmansuffix__) X server. Win32/Cygwin is supported with the
37XWin(__appmansuffix__) X server.
38.PP
39.SH "NETWORK CONNECTIONS"
40.B Xorg
41supports connections made using the following reliable
42byte-streams:
43.TP 4
44.I "Local"
45On most platforms, the "Local" connection type is a UNIX-domain socket.
46On some System V platforms, the "local" connection types also include
47STREAMS pipes, named pipes, and some other mechanisms.
48.TP 4
49.I TCP\/IP
50.B Xorg
51listens on port
52.RI 6000+ n ,
53where
54.I n
55is the display number. This connection type can be disabled with the
56.B \-nolisten
57option (see the Xserver(1) man page for details).
58.SH "ENVIRONMENT VARIABLES"
59For operating systems that support local connections other than Unix
60Domain sockets (SVR3 and SVR4), there is a compiled-in list specifying
61the order in which local connections should be attempted. This list
62can be overridden by the
63.I XLOCAL
64environment variable described below. If the display name indicates a
65best-choice connection should be made (e.g.
66.BR :0.0 ),
67each connection mechanism is tried until a connection succeeds or no
68more mechanisms are available. Note: for these OSs, the Unix Domain
69socket connection is treated differently from the other local connection
70types. To use it the connection must be made to
71.BR unix:0.0 .
72.PP
73The
74.I XLOCAL
75environment variable should contain a list of one more
76more of the following:
77.PP
78.RS 8
79.nf
80NAMED
81PTS
82SCO
83ISC
84.fi
85.RE
86.PP
87which represent SVR4 Named Streams pipe, Old-style USL Streams pipe,
88SCO XSight Streams pipe, and ISC Streams pipe, respectively. You can
89select a single mechanism (e.g.
90.IR XLOCAL=NAMED ),
91or an ordered list (e.g. \fIXLOCAL="NAMED:PTS:SCO"\fP).
92his variable overrides the compiled-in defaults. For SVR4 it is
93recommended that
94.I NAMED
95be the first preference connection. The default setting is
96.IR PTS:NAMED:ISC:SCO .
97.PP
98To globally override the compiled-in defaults, you should define (and
99export if using
100.B sh
101or
102.BR ksh )
103.I XLOCAL
104globally. If you use startx(1) or xinit(1), the definition should be
105at the top of your
106.I .xinitrc
107file. If you use xdm(1), the definitions should be early on in the
108.I __projectroot__/lib/X11/xdm/Xsession
109script.
110.SH OPTIONS
111.B Xorg
112supports several mechanisms for supplying/obtaining configuration and
113run-time parameters: command line options, environment variables, the
114xorg.conf(__filemansuffix__) configuration files, auto-detection, and
115fallback defaults. When the same information is supplied in more than
116one way, the highest precedence mechanism is used. The list of mechanisms
117is ordered from highest precedence to lowest. Note that not all parameters
118can be supplied via all methods. The available command line options
119and environment variables (and some defaults) are described here and in
120the Xserver(__appmansuffix__) manual page. Most configuration file
121parameters, with their defaults, are described in the
122xorg.conf(__filemansuffix__) manual page. Driver and module specific
123configuration parameters are described in the relevant driver or module
124manual page.
125.PP
126In addition to the normal server options described in the
127Xserver(__appmansuffix__) manual page,
128.B Xorg
129accepts the following command line switches:
130.TP 8
131.BI vt XX
132.I XX
133specifies the Virtual Terminal device number which
134.B Xorg
135will use. Without this option,
136.B Xorg
137will pick the first available Virtual Terminal that it can locate. This
138option applies only to platforms that have virtual terminal support, such
139as Linux, BSD, OpenSolaris, SVR3, and SVR4.
140.TP
141.B \-allowMouseOpenFail
142Allow the server to start up even if the mouse device can't be opened
143or initialised. This is equivalent to the
144.B AllowMouseOpenFail
145xorg.conf(__filemansuffix__) file option.
146.TP 8
147.B \-allowNonLocalXvidtune
148Make the VidMode extension available to remote clients. This allows
149the xvidtune client to connect from another host. This is equivalent
150to the
151.B AllowNonLocalXvidtune
152xorg.conf(__filemansuffix__) file option. By default non-local
153connections are not allowed.
154.TP 8
155.BI \-bgamma " value"
156Set the blue gamma correction.
157.I value
158must be between 0.1 and 10.
159The default is 1.0. Not all drivers support this. See also the
160.BR \-gamma ,
161.BR \-rgamma ,
162and
163.B \-ggamma
164options.
165.TP 8
166.BI \-bpp " n"
167No longer supported. Use
168.B \-depth
169to set the color depth, and use
170.B \-fbbpp
171if you really need to force a non-default framebuffer (hardware) pixel
172format.
173.TP 8
174.BI \-config " file"
175Read the server configuration from
176.IR file .
177This option will work for any file when the server is run as root (i.e,
178with real-uid 0), or for files relative to a directory in the config
179search path for all other users.
180.TP 8
181.BI \-configdir " directory"
182Read the server configuration files from
183.IR directory .
184This option will work for any directory when the server is run as root
185(i.e, with real-uid 0), or for directories relative to a directory in the
186config directory search path for all other users.
187.TP 8
188.B \-configure
189When this option is specified, the
190.B Xorg
191server loads all video driver modules, probes for available hardware,
192and writes out an initial xorg.conf(__filemansuffix__) file based on
193what was detected. This option currently has some problems on some
194platforms, but in most cases it is a good way to bootstrap the
195configuration process. This option is only available when the server
196is run as root (i.e, with real-uid 0).
197.TP 8
198.BI "\-crt /dev/tty" XX
199SCO only. This is the same as the
200.B vt
201option, and is provided for compatibility with the native SCO X server.
202.TP 8
203.BI \-depth " n"
204Sets the default color depth. Legal values are 1, 4, 8, 15, 16, and
20524. Not all drivers support all values.
206.TP 8
207.B \-disableVidMode
208Disable the parts of the VidMode extension (used by the xvidtune
209client) that can be used to change the video modes. This is equivalent
210to the
211.B DisableVidModeExtension
212xorg.conf(__filemansuffix__) file option.
213.TP 8
214.B \-fbbpp \fIn\fP
215Sets the number of framebuffer bits per pixel. You should only set this
216if you're sure it's necessary; normally the server can deduce the correct
217value from
218.B \-depth
219above. Useful if you want to run a depth 24 configuration with a 24
220bpp framebuffer rather than the (possibly default) 32 bpp framebuffer
221(or vice versa). Legal values are 1, 8, 16, 24, 32. Not all drivers
222support all values.
223.TP 8
224.B \-flipPixels
225Swap the default values for the black and white pixels.
226.TP 8
227.BI \-gamma " value"
228Set the gamma correction.
229.I value
230must be between 0.1 and 10. The default is 1.0. This value is applied
231equally to the R, G and B values. Those values can be set independently
232with the
233.BR \-rgamma ,
234.BR \-bgamma ,
235and
236.B \-ggamma
237options. Not all drivers support this.
238.TP 8
239.BI \-ggamma " value"
240Set the green gamma correction.
241.I value
242must be between 0.1 and 10. The default is 1.0. Not all drivers support
243this. See also the
244.BR \-gamma ,
245.BR \-rgamma ,
246and
247.B \-bgamma
248options.
249.TP 8
250.B \-ignoreABI
251The
252.B Xorg
253server checks the ABI revision levels of each module that it loads. It
254will normally refuse to load modules with ABI revisions that are newer
255than the server's. This is because such modules might use interfaces
256that the server does not have. When this option is specified, mismatches
257like this are downgraded from fatal errors to warnings. This option
258should be used with care.
259.TP 8
260.B \-isolateDevice \fIbus\-id\fP
261Restrict device resets to the device at
262.IR bus\-id .
263The
264.I bus\-id
265string has the form
266.IB bustype : bus : device : function
267(e.g., \(oqPCI:1:0:0\(cq).
268At present, only isolation of PCI devices is supported; i.e., this option
269is ignored if
270.I bustype
271is anything other than \(oqPCI\(cq.
272.TP 8
273.B \-keeptty
274Prevent the server from detaching its initial controlling terminal.
275This option is only useful when debugging the server. Not all platforms
276support (or can use) this option.
277.TP 8
278.BI \-keyboard " keyboard-name"
279Use the xorg.conf(__filemansuffix__) file
280.B InputDevice
281section called
282.I keyboard-name
283as the core keyboard. This option is ignored when the
284.B Layout
285section specifies a core keyboard. In the absence of both a Layout
286section and this option, the first relevant
287.B InputDevice
288section is used for the core keyboard.
289.TP 8
290.BI \-layout " layout-name"
291Use the xorg.conf(__filemansuffix__) file
292.B Layout
293section called
294.IR layout-name .
295By default the first
296.B Layout
297section is used.
298.TP 8
299.BI \-logfile " filename"
300Use the file called
301.I filename
302as the
303.B Xorg
304server log file. The default log file is
305.BI __logdir__/Xorg. n .log
306on most platforms, where
307.I n
308is the display number of the
309.B Xorg
310server. The default may be in a different directory on some platforms.
311This option is only available when the server is run as root (i.e, with
312real-uid 0).
313.TP 8
314.BR \-logverbose " [\fIn\fP]"
315Sets the verbosity level for information printed to the
316.B Xorg
317server log file. If the
318.I n
319value isn't supplied, each occurrence of this option increments the log
320file verbosity level. When the
321.I n
322value is supplied, the log file verbosity level is set to that value.
323The default log file verbosity level is 3.
324.TP 8
325.BI \-modulepath " searchpath"
326Set the module search path to
327.IR searchpath .
328.I searchpath
329is a comma separated list of directories to search for
330.B Xorg
331server modules. This option is only available when the server is run
332as root (i.e, with real-uid 0).
333.TP 8
334.B \-nosilk
335Disable Silken Mouse support.
336.TP 8
337.B \-novtswitch
338Disable the automatic switching on X server reset and shutdown to the
339VT that was active when the server started, if supported by the OS.
340.TP 8
341.B \-pixmap24
342Set the internal pixmap format for depth 24 pixmaps to 24 bits per pixel.
343The default is usually 32 bits per pixel. There is normally little
344reason to use this option. Some client applications don't like this
345pixmap format, even though it is a perfectly legal format. This is
346equivalent to the
347.B Pixmap
348xorg.conf(__filemansuffix__) file option.
349.TP 8
350.B \-pixmap32
351Set the internal pixmap format for depth 24 pixmaps to 32 bits per pixel.
352This is usually the default. This is equivalent to the
353.B Pixmap
354xorg.conf(__filemansuffix__) file option.
355.TP 8
356.BI \-pointer " pointer-name"
357Use the xorg.conf(__filemansuffix__) file
358.B InputDevice
359section called
360.I pointer-name
361as the core pointer. This option is ignored when the
362.B Layout
363section specifies a core pointer. In the absence of both a Layout
364section and this option, the first relevant
365.B InputDevice
366section is used for the core pointer.
367.TP 8
368.B \-quiet
369Suppress most informational messages at startup. The verbosity level
370is set to zero.
371.TP 8
372.BI \-rgamma " value"
373Set the red gamma correction.
374.I value
375must be between 0.1 and 10. The default is 1.0. Not all drivers support
376this. See also the
377.BR \-gamma ,
378.BR \-bgamma ,
379and
380.B \-ggamma
381options.
382.TP 8
383.B \-sharevts
384Share virtual terminals with another X server, if supported by the OS.
385.TP 8
386.BI \-screen " screen-name"
387Use the xorg.conf(__filemansuffix__) file
388.B Screen
389section called
390.IR screen-name .
391By default the screens referenced by the default
392.B Layout
393section are used, or the first
394.B Screen
395section when there are no
396.B Layout
397sections.
398.TP 8
399.B \-showconfig
400This is the same as the
401.B \-version
402option, and is included for compatibility reasons. It may be removed
403in a future release, so the
404.B \-version
405option should be used instead.
406.TP 8
407.B \-showDefaultModulePath
408Print out the default module path the server was compiled with.
409.TP 8
410.B \-showDefaultLibPath
411Print out the path libraries should be installed to.
412.TP 8
413.B \-showopts
414For each driver module installed, print out the list of options and their
415argument types.
416.TP 8
417.BI \-weight " nnn"
418Set RGB weighting at 16 bpp. The default is 565. This applies only to
419those drivers which support 16 bpp.
420.TP 8
421.BR \-verbose " [\fIn\fP]"
422Sets the verbosity level for information printed on stderr. If the
423.I n
424value isn't supplied, each occurrence of this option increments the
425verbosity level. When the
426.I n
427value is supplied, the verbosity level is set to that value. The default
428verbosity level is 0.
429.TP 8
430.B \-version
431Print out the server version, patchlevel, release date, the operating
432system/platform it was built on, and whether it includes module loader
433support.
434.SH "KEYBOARD"
435.PP
436The
437.B Xorg
438server is normally configured to recognize various special combinations
439of key presses that instruct the server to perform some action, rather
440than just sending the key press event to a client application. These actions
441depend on the XKB keymap loaded by a particular keyboard device and may or
442may not be available on a given configuration.
443.PP
444The following key combinations are commonly part of the default XKEYBOARD
445keymap.
446.TP 8
447.B Ctrl+Alt+Backspace
448Immediately kills the server -- no questions asked. It can be disabled by
449setting the
450.B DontZap
451xorg.conf(__filemansuffix__) file option to a TRUE value.
452.PP
453.RS 8
454It should be noted that zapping is triggered by the
455.B Terminate_Server
456action in the keyboard map. This action is not part of the default keymaps
457but can be enabled with the XKB option
458.B \*qterminate:ctrl_alt_bksp\*q.
459.RE
460.TP 8
461.B Ctrl+Alt+Keypad-Plus
462Change video mode to next one specified in the configuration file.
463This can be disabled with the
464.B DontZoom
465xorg.conf(__filemansuffix__) file option.
466.TP 8
467.B Ctrl+Alt+Keypad-Minus
468Change video mode to previous one specified in the configuration file.
469This can be disabled with the
470.B DontZoom
471xorg.conf(__filemansuffix__) file option.
472.TP 8
473.B Ctrl+Alt+F1...F12
474For systems with virtual terminal support, these keystroke
475combinations are used to switch to virtual terminals 1 through 12,
476respectively. This can be disabled with the
477.B DontVTSwitch
478xorg.conf(__filemansuffix__) file option.
479.SH CONFIGURATION
480.B Xorg
481typically uses a configuration file called
482.B xorg.conf
483and configuration files with the suffix
484.I .conf
485in a directory called
486.B __xconfigdir__
487for its initial setup.
488Refer to the xorg.conf(__filemansuffix__) manual page for information
489about the format of this file.
490.PP
491.B Xorg
492has a mechanism for automatically generating a built-in configuration
493at run-time when no
494.B xorg.conf
495file or
496.B __xconfigdir__
497files are present. The current version of this automatic configuration
498mechanism works in two ways.
499.PP
500The first is via enhancements that have made many components of the
501.B xorg.conf
502file optional. This means that information that can be probed or
503reasonably deduced doesn't need to be specified explicitly, greatly
504reducing the amount of built-in configuration information that needs to
505be generated at run-time.
506.PP
507The second is to have "safe" fallbacks for most configuration information.
508This maximises the likelihood that the
509.B Xorg
510server will start up in some usable configuration even when information
511about the specific hardware is not available.
512.PP
513The automatic configuration support for Xorg is work in progress.
514It is currently aimed at the most popular hardware and software platforms
515supported by Xorg. Enhancements are planned for future releases.
516.SH FILES
517The
518.B Xorg
519server config files can be found in a range of locations. These are
520documented fully in the xorg.conf(__filemansuffix__) manual page. The
521most commonly used locations are shown here.
522.TP 30
523.B /etc/X11/xorg.conf
524Server configuration file.
525.TP 30
526.B /etc/X11/xorg.conf-4
527Server configuration file.
528.TP 30
529.B /etc/xorg.conf
530Server configuration file.
531.TP 30
532.B __projectroot__/etc/xorg.conf
533Server configuration file.
534.TP 30
535.B __projectroot__/lib/X11/xorg.conf
536Server configuration file.
537.TP 30
538.B /etc/X11/__xconfigdir__
539Server configuration directory.
540.TP 30
541.B /etc/X11/__xconfigdir__-4
542Server configuration directory.
543.TP 30
544.B /etc/__xconfigdir__
545Server configuration directory.
546.TP 30
547.B __projectroot__/etc/__xconfigdir__
548Server configuration directory.
549.TP 30
550.B __projectroot__/lib/X11/__xconfigdir__
551Server configuration directory.
552.TP 30
553.BI __logdir__/Xorg. n .log
554Server log file for display
555.IR n .
556.TP 30
557.B __projectroot__/bin/\(**
558Client binaries.
559.TP 30
560.B __projectroot__/include/\(**
561Header files.
562.TP 30
563.B __projectroot__/lib/\(**
564Libraries.
565.TP 30
566.B __datadir__/fonts/X11/\(**
567Fonts.
568.TP 30
569.B __projectroot__/share/X11/XErrorDB
570Client error message database.
571.TP 30
572.B __projectroot__/lib/X11/app-defaults/\(**
573Client resource specifications.
574.TP 30
575.B __mandir__/man?/\(**
576Manual pages.
577.TP 30
578.BI /etc/X n .hosts
579Initial access control list for display
580.IR n .
581.SH "SEE ALSO"
582X(__miscmansuffix__), Xserver(__appmansuffix__), xdm(__appmansuffix__), xinit(__appmansuffix__),
583xorg.conf(__filemansuffix__), xvidtune(__appmansuffix__),
584xkeyboard-config (__miscmansuffix__),
585apm(__drivermansuffix__),
586ati(__drivermansuffix__),
587chips(__drivermansuffix__),
588cirrus(__drivermansuffix__),
589cyrix(__drivermansuffix__),
590fbdev(__drivermansuffix__),
591glide(__drivermansuffix__),
592glint(__drivermansuffix__),
593i128(__drivermansuffix__),
594i740(__drivermansuffix__),
595imstt(__drivermansuffix__),
596intel(__drivermansuffix__),
597mga(__drivermansuffix__),
598neomagic(__drivermansuffix__),
599nsc(__drivermansuffix__),
600nv(__drivermansuffix__),
601openchrome (__drivermansuffix__),
602r128(__drivermansuffix__),
603rendition(__drivermansuffix__),
604s3virge(__drivermansuffix__),
605siliconmotion(__drivermansuffix__),
606sis(__drivermansuffix__),
607sunbw2(__drivermansuffix__),
608suncg14(__drivermansuffix__),
609suncg3(__drivermansuffix__),
610suncg6(__drivermansuffix__),
611sunffb(__drivermansuffix__),
612sunleo(__drivermansuffix__),
613suntcx(__drivermansuffix__),
614tdfx(__drivermansuffix__),
615tga(__drivermansuffix__),
616trident(__drivermansuffix__),
617tseng(__drivermansuffix__),
618v4l(__drivermansuffix__),
619vesa(__drivermansuffix__),
620vmware(__drivermansuffix__),
621.br
622Web site
623.IR <http://www.x.org> .
624
625.SH AUTHORS
626Xorg has many contributors world wide. The names of most of them
627can be found in the documentation, ChangeLog files in the source tree,
628and in the actual source code.
629.PP
630Xorg was originally based on XFree86 4.4rc2.
631That was originally based on \fIX386 1.2\fP by Thomas Roell, which
632was contributed to the then X Consortium's X11R5 distribution by SGCS.
633.PP
634Xorg is released by the X.Org Foundation.
635.PP
636The project that became XFree86 was originally founded in 1992 by
637David Dawes, Glenn Lai, Jim Tsillas and David Wexelblat.
638.PP
639XFree86 was later integrated in the then X Consortium's X11R6 release
640by a group of dedicated XFree86 developers, including the following:
641.PP
642.RS 4
643.nf
644Stuart Anderson \fIanderson@metrolink.com\fP
645Doug Anson \fIdanson@lgc.com\fP
646Gertjan Akkerman \fIakkerman@dutiba.twi.tudelft.nl\fP
647Mike Bernson \fImike@mbsun.mlb.org\fP
648Robin Cutshaw \fIrobin@XFree86.org\fP
649David Dawes \fIdawes@XFree86.org\fP
650Marc Evans \fImarc@XFree86.org\fP
651Pascal Haible \fIhaible@izfm.uni-stuttgart.de\fP
652Matthieu Herrb \fIMatthieu.Herrb@laas.fr\fP
653Dirk Hohndel \fIhohndel@XFree86.org\fP
654David Holland \fIdavidh@use.com\fP
655Alan Hourihane \fIalanh@fairlite.demon.co.uk\fP
656Jeffrey Hsu \fIhsu@soda.berkeley.edu\fP
657Glenn Lai \fIglenn@cs.utexas.edu\fP
658Ted Lemon \fImellon@ncd.com\fP
659Rich Murphey \fIrich@XFree86.org\fP
660Hans Nasten \fInasten@everyware.se\fP
661Mark Snitily \fImark@sgcs.com\fP
662Randy Terbush \fIrandyt@cse.unl.edu\fP
663Jon Tombs \fItombs@XFree86.org\fP
664Kees Verstoep \fIversto@cs.vu.nl\fP
665Paul Vixie \fIpaul@vix.com\fP
666Mark Weaver \fIMark_Weaver@brown.edu\fP
667David Wexelblat \fIdwex@XFree86.org\fP
668Philip Wheatley \fIPhilip.Wheatley@ColumbiaSC.NCR.COM\fP
669Thomas Wolfram \fIwolf@prz.tu-berlin.de\fP
670Orest Zborowski \fIorestz@eskimo.com\fP
671.fi
672.RE
673.PP
674Xorg source is available from the FTP server
675\fI<ftp://ftp.x.org/>\fP, and from the X.Org
676server \fI<http://gitweb.freedesktop.org/>\fP. Documentation and other
677information can be found from the X.Org web site
678\fI<http://www.x.org/>\fP.
679
680.SH LEGAL
681.PP
682.B Xorg
683is copyright software, provided under licenses that permit modification
684and redistribution in source and binary form without fee.
685.B Xorg is copyright by numerous authors and
686contributors from around the world. Licensing information can be found
687at
688.IR <http://www.x.org> .
689Refer to the source code for specific copyright notices.
690.PP
691.B XFree86(TM)
692is a trademark of The XFree86 Project, Inc.
693.PP
694.B X11(TM)
695and
696.B X Window System(TM)
697are trademarks of The Open Group.