Reading Notes on "laruence's Linux private house dish": Xwindow introduction and Startup Process
X Window System
X Window System is a software across networks and operating systems.
1. Main component X Server: Hardware Management, screen drawing, and font functions. X Client: handles events required by X Server. The most important task of X Client is to process the action from X Server, process the action as drawing data, and then return the drawing data to X Server. What operating system is used by the client on the Linux host does not matter. X Window Manager (GNOME, KDE, twm, XFCE): Special X Client, mainly responsible for managing all the X client software and providing some special functions.
Provides many control elements, including taskbar, background desktop settings, etc. Management virtual desktop provides window control parameters, this includes the Window size, repeated Display of the Window, moving the Window, minimizing the Window, etc. Display Manager: Provides the graphic login requirement (tty7) 2.X Window startup process: startx and xinit start X through the text interface through the startx command. The most important task of startx is to find out the user or the system's default configuration files of X server and X client, and the user can also use startx external parameters to replace the content of the configuration file. Format: startx [X client parameters] -- [X server parameters]. Find the X server/X client parameters required to start X according to the following process, and startx will call the xinit program to start the X Window System as a whole.
X Server parameters:
Use the parameters followed by startx. If there is no parameter, search for the user's home object file, that is ~ /. If xserverrc does not have the above two, use/etc/X11/xinit/xserverrc. If no of the above three, simply execute/usr/bin/X (this is the X server execution file) X Client parameters:
Use the parameters followed by startx. If there is no parameter, search for the user's home project, that is ~ /. If xinitrc does not have the above two, it simply executes xterm If/etc/X11/xinit/xinitrc does not have the above three (this is the terminal software under X) xinit executed by startx call: When startx finds the desired value, it calls xinit to start X. Syntax: The xinit [client option] -- [server or display option] parameter is the parameter found in startx. Xinit is mainly used to start X server and load X client, but the parameters required by xinit are found by startx.