1Xorg(1) General Commands Manual Xorg(1)
2
3
4
6 Xorg - X11R7 X server
7
9 Xorg [:display] [option ...]
10
12 Xorg is a full featured X server that was originally designed for UNIX
13 and UNIX-like operating systems running on Intel x86 hardware. It now
14 runs on a wider range of hardware and OS platforms.
15
16 This work was derived by the X.Org Foundation from the XFree86
17 Project's XFree86 4.4rc2 release. The XFree86 release was originally
18 derived from X386 1.2 by Thomas Roell which was contributed to X11R5 by
19 Snitily Graphics Consulting Service.
20
22 Xorg operates under a wide range of operating systems and hardware
23 platforms. The Intel x86 (IA32) architecture is the most widely sup‐
24 ported hardware platform. Other hardware platforms include Compaq
25 Alpha, Intel IA64, AMD64, SPARC and PowerPC. The most widely supported
26 operating systems are the free/OpenSource UNIX-like systems such as
27 Linux, FreeBSD, NetBSD, OpenBSD, and Solaris. Commercial UNIX operat‐
28 ing systems such as UnixWare are also supported. Other supported oper‐
29 ating systems include GNU Hurd. Darwin and Mac OS X are supported with
30 the XDarwin(1) X server. Win32/Cygwin is supported with the XWin(1) X
31 server.
32
34 Xorg supports connections made using the following reliable byte-
35 streams:
36
37 Local
38 On most platforms, the "Local" connection type is a UNIX-domain
39 socket. On some System V platforms, the "local" connection types
40 also include STREAMS pipes, named pipes, and some other mechanisms.
41
42 TCPIP
43 Xorg listens on port 6000+n, where n is the display number. This
44 connection type can be disabled with the -nolisten option (see the
45 Xserver(1) man page for details).
46
48 For operating systems that support local connections other than Unix
49 Domain sockets (SVR3 and SVR4), there is a compiled-in list specifying
50 the order in which local connections should be attempted. This list
51 can be overridden by the XLOCAL environment variable described below.
52 If the display name indicates a best-choice connection should be made
53 (e.g. :0.0), each connection mechanism is tried until a connection
54 succeeds or no more mechanisms are available. Note: for these OSs, the
55 Unix Domain socket connection is treated differently from the other
56 local connection types. To use it the connection must be made to
57 unix:0.0.
58
59 The XLOCAL environment variable should contain a list of one more more
60 of the following:
61
62 NAMED
63 PTS
64 SCO
65 ISC
66
67 which represent SVR4 Named Streams pipe, Old-style USL Streams pipe,
68 SCO XSight Streams pipe, and ISC Streams pipe, respectively. You can
69 select a single mechanism (e.g. XLOCAL=NAMED), or an ordered list
70 (e.g. XLOCAL="NAMED:PTS:SCO"). his variable overrides the compiled-in
71 defaults. For SVR4 it is recommended that NAMED be the first prefer‐
72 ence connection. The default setting is PTS:NAMED:ISC:SCO.
73
74 To globally override the compiled-in defaults, you should define (and
75 export if using sh or ksh) XLOCAL globally. If you use startx(1) or
76 xinit(1), the definition should be at the top of your .xinitrc file.
77 If you use xdm(1), the definitions should be early on in the
78 /usr/lib/X11/xdm/Xsession script.
79
81 Xorg supports several mechanisms for supplying/obtaining configuration
82 and run-time parameters: command line options, environment variables,
83 the xorg.conf(5) configuration files, auto-detection, and fallback
84 defaults. When the same information is supplied in more than one way,
85 the highest precedence mechanism is used. The list of mechanisms is
86 ordered from highest precedence to lowest. Note that not all parame‐
87 ters can be supplied via all methods. The available command line
88 options and environment variables (and some defaults) are described
89 here and in the Xserver(1) manual page. Most configuration file param‐
90 eters, with their defaults, are described in the xorg.conf(5) manual
91 page. Driver and module specific configuration parameters are
92 described in the relevant driver or module manual page.
93
94 In addition to the normal server options described in the Xserver(1)
95 manual page, Xorg accepts the following command line switches:
96
97 vtXX XX specifies the Virtual Terminal device number which Xorg will
98 use. Without this option, Xorg will pick the first available
99 Virtual Terminal that it can locate. This option applies only
100 to platforms that have virtual terminal support, such as Linux,
101 BSD, OpenSolaris, SVR3, and SVR4.
102
103 -allowMouseOpenFail
104 Allow the server to start up even if the mouse device can't be
105 opened or initialised. This is equivalent to the Allow‐
106 MouseOpenFail [22mxorg.conf(5) file option.
107
108 -allowNonLocalXvidtune
109 Make the VidMode extension available to remote clients. This
110 allows the xvidtune client to connect from another host. This
111 is equivalent to the AllowNonLocalXvidtune [22mxorg.conf(5) file
112 option. By default non-local connections are not allowed.
113
114 -bgamma value
115 Set the blue gamma correction. value must be between 0.1 and
116 10. The default is 1.0. Not all drivers support this. See
117 also the -gamma, -rgamma, and -ggamma options.
118
119 -bpp n No longer supported. Use -depth to set the color depth, and
120 use -fbbpp if you really need to force a non-default frame‐
121 buffer (hardware) pixel format.
122
123 -config file
124 Read the server configuration from file. This option will work
125 for any file when the server is run as root (i.e, with real-uid
126 0), or for files relative to a directory in the config search
127 path for all other users.
128
129 -configdir directory
130 Read the server configuration files from directory. This
131 option will work for any directory when the server is run as
132 root (i.e, with real-uid 0), or for directories relative to a
133 directory in the config directory search path for all other
134 users.
135
136 -configure
137 When this option is specified, the Xorg server loads all video
138 driver modules, probes for available hardware, and writes out
139 an initial xorg.conf(5) file based on what was detected. This
140 option currently has some problems on some platforms, but in
141 most cases it is a good way to bootstrap the configuration
142 process. This option is only available when the server is run
143 as root (i.e, with real-uid 0).
144
145 -crt /dev/ttyXX
146 SCO only. This is the same as the vt option, and is provided
147 for compatibility with the native SCO X server.
148
149 -depth n
150 Sets the default color depth. Legal values are 1, 4, 8, 15,
151 16, and 24. Not all drivers support all values.
152
153 -disableVidMode
154 Disable the parts of the VidMode extension (used by the xvid‐
155 tune client) that can be used to change the video modes. This
156 is equivalent to the DisableVidModeExtension [22mxorg.conf(5) file
157 option.
158
159 -fbbpp n
160 Sets the number of framebuffer bits per pixel. You should only
161 set this if you're sure it's necessary; normally the server can
162 deduce the correct value from -depth above. Useful if you want
163 to run a depth 24 configuration with a 24 bpp framebuffer
164 rather than the (possibly default) 32 bpp framebuffer (or vice
165 versa). Legal values are 1, 8, 16, 24, 32. Not all drivers
166 support all values.
167
168 -flipPixels
169 Swap the default values for the black and white pixels.
170
171 -gamma value
172 Set the gamma correction. value must be between 0.1 and 10.
173 The default is 1.0. This value is applied equally to the R, G
174 and B values. Those values can be set independently with the
175 -rgamma, -bgamma, and -ggamma options. Not all drivers support
176 this.
177
178 -ggamma value
179 Set the green gamma correction. value must be between 0.1 and
180 10. The default is 1.0. Not all drivers support this. See
181 also the -gamma, -rgamma, and -bgamma options.
182
183 -ignoreABI
184 The Xorg server checks the ABI revision levels of each module
185 that it loads. It will normally refuse to load modules with
186 ABI revisions that are newer than the server's. This is
187 because such modules might use interfaces that the server does
188 not have. When this option is specified, mismatches like this
189 are downgraded from fatal errors to warnings. This option
190 should be used with care.
191
192 -isolateDevice bus-id
193 Restrict device resets to the device at bus-id. The bus-id
194 string has the form bustype:bus:device:function (e.g.,
195 ‘PCI:1:0:0’). At present, only isolation of PCI devices is
196 supported; i.e., this option is ignored if bustype is anything
197 other than ‘PCI’.
198
199 -keeptty
200 Prevent the server from detaching its initial controlling ter‐
201 minal. This option is only useful when debugging the server.
202 Not all platforms support (or can use) this option.
203
204 -keyboard keyboard-name
205 Use the xorg.conf(5) file InputDevice section called keyboard-
206 name as the core keyboard. This option is ignored when the
207 Layout section specifies a core keyboard. In the absence of
208 both a Layout section and this option, the first relevant
209 InputDevice section is used for the core keyboard.
210
211 -layout layout-name
212 Use the xorg.conf(5) file Layout section called layout-name.
213 By default the first Layout section is used.
214
215 -logfile filename
216 Use the file called filename as the Xorg server log file. The
217 default log file is /var/log/Xorg.n.log on most platforms,
218 where n is the display number of the Xorg server. The default
219 may be in a different directory on some platforms. This option
220 is only available when the server is run as root (i.e, with
221 real-uid 0).
222
223 -logverbose [n]
224 Sets the verbosity level for information printed to the Xorg
225 server log file. If the n value isn't supplied, each occur‐
226 rence of this option increments the log file verbosity level.
227 When the n value is supplied, the log file verbosity level is
228 set to that value. The default log file verbosity level is 3.
229
230 -modulepath searchpath
231 Set the module search path to searchpath. searchpath is a
232 comma separated list of directories to search for Xorg server
233 modules. This option is only available when the server is run
234 as root (i.e, with real-uid 0).
235
236 -nosilk Disable Silken Mouse support.
237
238 -pixmap24
239 Set the internal pixmap format for depth 24 pixmaps to 24 bits
240 per pixel. The default is usually 32 bits per pixel. There is
241 normally little reason to use this option. Some client appli‐
242 cations don't like this pixmap format, even though it is a per‐
243 fectly legal format. This is equivalent to the Pixmap
244 xorg.conf(5) file option.
245
246 -pixmap32
247 Set the internal pixmap format for depth 24 pixmaps to 32 bits
248 per pixel. This is usually the default. This is equivalent to
249 the Pixmap [22mxorg.conf(5) file option.
250
251 -pointer pointer-name
252 Use the xorg.conf(5) file InputDevice section called pointer-
253 name as the core pointer. This option is ignored when the Lay‐
254 out section specifies a core pointer. In the absence of both a
255 Layout section and this option, the first relevant InputDevice
256 section is used for the core pointer.
257
258 -quiet Suppress most informational messages at startup. The verbosity
259 level is set to zero.
260
261 -rgamma value
262 Set the red gamma correction. value must be between 0.1 and
263 10. The default is 1.0. Not all drivers support this. See
264 also the -gamma, -bgamma, and -ggamma options.
265
266 -screen screen-name
267 Use the xorg.conf(5) file Screen section called screen-name.
268 By default the screens referenced by the default Layout section
269 are used, or the first Screen section when there are no Layout
270 sections.
271
272 -showconfig
273 This is the same as the -version option, and is included for
274 compatibility reasons. It may be removed in a future release,
275 so the -version option should be used instead.
276
277 -showDefaultModulePath
278 Print out the default module path the server was compiled with.
279
280 -showDefaultLibPath
281 Print out the path libraries should be installed to.
282
283 -showopts
284 For each driver module installed, print out the list of options
285 and their argument types.
286
287 -weight nnn
288 Set RGB weighting at 16 bpp. The default is 565. This applies
289 only to those drivers which support 16 bpp.
290
291 -verbose [n]
292 Sets the verbosity level for information printed on stderr. If
293 the n value isn't supplied, each occurrence of this option
294 increments the verbosity level. When the n value is supplied,
295 the verbosity level is set to that value. The default ver‐
296 bosity level is 0.
297
298 -version
299 Print out the server version, patchlevel, release date, the
300 operating system/platform it was built on, and whether it
301 includes module loader support.
302
304 The Xorg server is normally configured to recognize various special
305 combinations of key presses that instruct the server to perform some
306 action, rather than just sending the key press event to a client appli‐
307 cation. These actions depend on the XKB keymap loaded by a particular
308 keyboard device and may or may not be available on a given configura‐
309 tion.
310
311 The following key combinations are commonly part of the default XKEY‐
312 BOARD keymap.
313
314 Ctrl+Alt+Backspace
315 Immediately kills the server -- no questions asked. It can be
316 disabled by setting the DontZap [22mxorg.conf(5) file option to a
317 TRUE value.
318
319 It should be noted that zapping is triggered by the Termi‐
320 nate_Server action in the keyboard map. This action is not part
321 of the default keymaps but can be enabled with the XKB option
322 "terminate:ctrl_alt_bksp".
323
324 Ctrl+Alt+Keypad-Plus
325 Change video mode to next one specified in the configuration
326 file. This can be disabled with the DontZoom [22mxorg.conf(5) file
327 option.
328
329 Ctrl+Alt+Keypad-Minus
330 Change video mode to previous one specified in the configura‐
331 tion file. This can be disabled with the DontZoom [22mxorg.conf(5)
332 file option.
333
334 Ctrl+Alt+F1...F12
335 For systems with virtual terminal support, these keystroke com‐
336 binations are used to switch to virtual terminals 1 through 12,
337 respectively. This can be disabled with the DontVTSwitch
338 xorg.conf(5) file option.
339
341 Xorg typically uses a configuration file called xorg.conf and configu‐
342 ration files with the suffix .conf in a directory called xorg.conf.d
343 for its initial setup. Refer to the xorg.conf(5) manual page for
344 information about the format of this file.
345
346 Xorg has a mechanism for automatically generating a built-in configura‐
347 tion at run-time when no xorg.conf file or xorg.conf.d files are
348 present. The current version of this automatic configuration mechanism
349 works in two ways.
350
351 The first is via enhancements that have made many components of the
352 xorg.conf file optional. This means that information that can be
353 probed or reasonably deduced doesn't need to be specified explicitly,
354 greatly reducing the amount of built-in configuration information that
355 needs to be generated at run-time.
356
357 The second is to have "safe" fallbacks for most configuration informa‐
358 tion. This maximises the likelihood that the Xorg server will start up
359 in some usable configuration even when information about the specific
360 hardware is not available.
361
362 The automatic configuration support for Xorg is work in progress. It
363 is currently aimed at the most popular hardware and software platforms
364 supported by Xorg. Enhancements are planned for future releases.
365
367 The Xorg server config files can be found in a range of locations.
368 These are documented fully in the xorg.conf(5) manual page. The most
369 commonly used locations are shown here.
370
371 /etc/X11/xorg.conf Server configuration file.
372
373 /etc/X11/xorg.conf-4 Server configuration file.
374
375 /etc/xorg.conf Server configuration file.
376
377 /usr/etc/xorg.conf Server configuration file.
378
379 /usr/lib/X11/xorg.conf Server configuration file.
380
381 /etc/X11/xorg.conf.d Server configuration directory.
382
383 /etc/X11/xorg.conf.d-4 Server configuration directory.
384
385 /etc/xorg.conf.d Server configuration directory.
386
387 /usr/etc/xorg.conf.d Server configuration directory.
388
389 /usr/lib/X11/xorg.conf.d Server configuration directory.
390
391 /var/log/Xorg.n.log Server log file for display n.
392
393 /usr/bin/∗ Client binaries.
394
395 /usr/include/∗ Header files.
396
397 /usr/lib/∗ Libraries.
398
399 /usr/share/fonts/X11/∗ Fonts.
400
401 /usr/share/X11/XErrorDB Client error message database.
402
403 /usr/lib/X11/app-defaults/∗ Client resource specifications.
404
405 /usr/share/man/man?/∗ Manual pages.
406
407 /etc/Xn.hosts Initial access control list for display
408 n.
409
411 X(7), Xserver(1), xdm(1), xinit(1), xorg.conf(5), xvidtune(1), apm(4),
412 ati(4), chips(4), cirrus(4), cyrix(4), fbdev(4), glide(4), glint(4),
413 i128(4), i740(4), imstt(4), intel(4), mga(4), neomagic(4), nsc(4),
414 nv(4), openchrome (4), r128(4), rendition(4), s3virge(4), siliconmo‐
415 tion(4), sis(4), sunbw2(4), suncg14(4), suncg3(4), suncg6(4),
416 sunffb(4), sunleo(4), suntcx(4), tdfx(4), tga(4), trident(4), tseng(4),
417 v4l(4), vesa(4), vmware(4),
418 Web site <http://www.x.org>.
419
420
422 Xorg has many contributors world wide. The names of most of them can
423 be found in the documentation, ChangeLog files in the source tree, and
424 in the actual source code.
425
426 Xorg was originally based on XFree86 4.4rc2. That was originally based
427 on X386 1.2 by Thomas Roell, which was contributed to the then X Con‐
428 sortium's X11R5 distribution by SGCS.
429
430 Xorg is released by the X.Org Foundation.
431
432 The project that became XFree86 was originally founded in 1992 by David
433 Dawes, Glenn Lai, Jim Tsillas and David Wexelblat.
434
435 XFree86 was later integrated in the then X Consortium's X11R6 release
436 by a group of dedicated XFree86 developers, including the following:
437
438 Stuart Anderson anderson@metrolink.com
439 Doug Anson danson@lgc.com
440 Gertjan Akkerman akkerman@dutiba.twi.tudelft.nl
441 Mike Bernson mike@mbsun.mlb.org
442 Robin Cutshaw robin@XFree86.org
443 David Dawes dawes@XFree86.org
444 Marc Evans marc@XFree86.org
445 Pascal Haible haible@izfm.uni-stuttgart.de
446 Matthieu Herrb Matthieu.Herrb@laas.fr
447 Dirk Hohndel hohndel@XFree86.org
448 David Holland davidh@use.com
449 Alan Hourihane alanh@fairlite.demon.co.uk
450 Jeffrey Hsu hsu@soda.berkeley.edu
451 Glenn Lai glenn@cs.utexas.edu
452 Ted Lemon mellon@ncd.com
453 Rich Murphey rich@XFree86.org
454 Hans Nasten nasten@everyware.se
455 Mark Snitily mark@sgcs.com
456 Randy Terbush randyt@cse.unl.edu
457 Jon Tombs tombs@XFree86.org
458 Kees Verstoep versto@cs.vu.nl
459 Paul Vixie paul@vix.com
460 Mark Weaver Mark_Weaver@brown.edu
461 David Wexelblat dwex@XFree86.org
462 Philip Wheatley Philip.Wheatley@ColumbiaSC.NCR.COM
463 Thomas Wolfram wolf@prz.tu-berlin.de
464 Orest Zborowski orestz@eskimo.com
465
466 Xorg source is available from the FTP server <ftp://ftp.x.org/>, and
467 from the X.Org server <http://gitweb.freedesktop.org/>. Documentation
468 and other information can be found from the X.Org web site
469 <http://www.x.org/>.
470
471
473 Xorg is copyright software, provided under licenses that permit modifi‐
474 cation and redistribution in source and binary form without fee. Xorg
475 is copyright by numerous authors and contributors from around the
476 world. Licensing information can be found at <http://www.x.org>.
477 Refer to the source code for specific copyright notices.
478
479 XFree86(TM) is a trademark of The XFree86 Project, Inc.
480
481 X11(TM) and X Window System(TM) are trademarks of The Open Group.
482
483
484
485X Version 11 xorg-server 1.9.5 Xorg(1)