What is Xwindow System:
Main components: X server/x Client/window Manager/display Manager
X Server: Hardware management, screen drawing and providing font functionality:
X Client: Responsible for the handling of "events" required by x Server:
X Window Manager: Special x client, responsible for managing all x client software
Display Manager: Provide login requirements
X Window Start-up process:
start on the text interface X: Through the startx command
Xinit run by startx call
Start file forX server: XSERVERRC
Start X Client files:xinitrc
X port to start
X Window System |
Display interface number |
Default Terminal |
Network Listening port |
first one X |
hostname:0 |
Tty7 |
Port 6000 |
a second X |
Hostname:1 |
Tty8 |
Port 6001 |
Xserver configuration file parsing and configuration :
parsing The xorg.conf configuration:
module: Modules that are loaded into the X Server ( some feature drivers );
inputdevice: includes 1 of input . format of the keyboard 2. the mouse format, as well as other related input devices;
Files: Configure the location of the directory where fonts are located, etc.;
Monitor: The format of monitors, mainly configure the level, vertical upgrade frequency, and hardware-related;
Device: This is important, is the graphics card chipset related configuration;
screen: This is the display of the relevant resolution and color depth of the configuration items, and the behavior of the display;
serverlayout: Each of these items can be re-configured, and here is the configuration of which project value the X server is going to fetch.
X font Server (XFS) with additional Chinese glyphs added
XFS 's master profile is in /etc/x11/fs/config, while the font file is /usr/share/x11/fonts/
StartX can detect the X server/x client startup script, and call Xinit to run separately;
X can start multiple, each x display location using -display to process, display position is : 0,: 1 ...
Xorg is an X serverwith configuration files in/etc/x11/xorg.confcontaining Module, Files, Monitor, Device and other configuration stages
Font management for X Server Focus, current font management can be handled by XFS and fontconfig
Configuration file reconstruction and monitor parameter trimming
[Email protected] ~]# xorg-configure:1
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Note for Linux by Jes x Window Configuration Introduction