Skip to content
Search

Xorg

lastmod 2026-08-08created 2020-07-1818 edits

The X.Org Server is a free and open-source implementation of the display server for the X Window System, organized by the X.Org Foundation. Client-side implementations of the protocol include Xlib and XCB.

Categories

Common (categories)

Implementation

Programming

X.Org

Spec

X11 Window System Protocol

Common Tools

Composite

Plugins

x11 apps

  • iceauth: Tool for manipulating ICE protocol authentication records
  • rgb
  • sessreg: Simple program for managing utmp/wtmp entries
  • xclock: Displays the current time - handy for showing the current time with something like OBS.
  • xcmsdb: a device color characteristic utility for the X Color Management System
  • xgamma: Tool for querying and setting a monitor's gamma correction
  • xhost: Controls which users can access the extended X-Windows on the current host machine. - A very, very, very dangerous program that should be avoided if at all possible .... or so they say.
  • xmodmap: Utility for modifying keymaps and pointer button mappings in X
  • xrandr: Command-line interface to the RandR extension; resolution/monitor settings
  • xrdb: Tool for managing the X server resource database
  • xrefresh: Tool that forces the X screen to redraw
  • xset: Tool for setting various X server parameters
  • xsetmode and xsetpointer: Tools for adjusting X input devices
  • xsetroot: Tool for adjusting the appearance of the root window
  • xstdcmap: Utility for selectively defining standard colormap properties
  • xvidtune: Tool for modifying X server modelines for the user's monitor. (information found in synaptic package manager)
  • xev: print contents of X events.
  • xdpyinfo
  • xprop - Shows the properties (e.g. WM_CLASS) of the selected window. - Unfortunately, default programs like gnome-* can't be selected...
  • xwininfo - Shows information (e.g. id, title) about the selected window. - Unfortunately, default programs like gnome-* can't be selected...
  • wmctrl - A command used to control windows in EWMH- and NetWM-compatible X window managers. Common tasks include listing, resizing, and closing windows.
  • xdotool - command-line X11 automation tool
  • xvfb - "Virtual display" tool for headless app development (sudo apt install xvfb)

x11-utils

  • xfd - display all the characters in an X font

Applications

Ref

ETC

  • xloadimage: Sets the background image.
  • xpmroot: Sets the background image.
  • feh: Sets the background image.
  • xbindkeys: Binds commands to keyboard combinations.
  • xdotool
  • xte
  • xdotool - Shows a window's position, name, and so on.

Running

The Xorg(1) command is usually not run directly; the X server is started with a display manager or xinit.

Configuration

Note

Default configuration files are provided in the /usr/share/X11/xorg.conf.d/ directory, and most setups need no additional configuration.

Xorg uses a configuration file called xorg.conf and files ending in the .conf extension for its initial setup. The full list of folders searched for these files can be found, with a detailed explanation, in xorg.conf(5).

If you already have X running, and you try to generathe the xorg.conf file, you might get an error.

$ sudo Xorg -configure

xsessions

To manage multiple sessions, add a *.desktop file to the /usr/share/xsessions folder. For reference, here is an example for qtile:

[Desktop Entry]
Name=Qtile
Comment=Qtile Session
Exec=qtile start
Type=Application
Keywords=wm;tiling

X access control

As explained earlier, X uses a client/server architecture, so X applications running on a remote host can be displayed on the local X server. Access can be controlled through the X server's own settings and through packet filtering.

See xhost or xauth.

Log

X.org logs are written to /var/log/Xorg.<X session number>.log.

X.org log symbols and meanings

Symbol

English term

Meaning

(--)

probed

Hardware detected

(**)

from config file

Read from configuration file

(==)

default setting

Read default settings

(++)

from command file

Read from command line

<code>(

)</code>

notice

(II)

informational

Information

(WW)

warning

Warning

(EE)

error

Error

(NI)

not implemented

Not implemented

(??)

unknown

Unknown

Screenshot

See xwd#Screenshot.

See also

Favorite site

References


  1. Xorg_-ArchWiki-_20200806.pdf ↩

  2. KLDPWiki-Linuxdoc_Sgml_X-Window-Programming-KLDP.pdf ↩

author Zer0 sitemap