2018-04-28 "Bird Brother's Linux private cuisine Basic Study (fourth Edition)" 23rd Chapter Xwindows Setting Introduction

Source: Internet
Author: User

Graphical interface (graphical User Interface, GUI)

X Window System
How many components can this architecture be divided into? is basically divided into X server and x client two components Oh! where x server is managing hardware, and x client is an application.

The remote server is providing X client software

X server: Hardware management, screen drawing and providing font functionality each client host needs to have X server installed, while the server side provides x client software to provide the data data needed for client drawing

Because the purpose of x client is to produce the data of the drawing, we also call x client x application (x application).

As an example, when we move the mouse to the right in the X window screen.
First, X server detects the movement of the mouse, and x server informs the X Client of the action of the mouse,
The X Client will be calculated, and the result will be! To move the mouse pointer to the right several pixels,
This result is then communicated to X server,
You'll see X Server move the mouse pointer to the right.

Windows Manager (WM, window manager)
Window manager is also X client
Under Linux, each set of Window Manager (KDE, GNOME, XFCE,TWM) is unique, not the desktop and display, but even the engine will not be the same Oh!

X server/x Client/window Manager is present on one of our Linux hosts

STARTX command
[[email protected] ~]# startx #禁止再当前tty上执行, otherwise the underline input cursor will always be displayed in black screen
[[email protected] ~]# STARTX [x client Parameter]--[x Server parameter]
# example: Start X with a color depth of
[Email protected] ~]# startx---depth 16

Find/-name ' XSERVERRC '

~/.xserverrc
/etc/x11/xinit/xserverrc
/usr/bin/x #会读取/etc/x11/xorg.conf configuration file

~/.xinitrc
/ETC/X11/XINIT/XINITRC #将会引入/etc/x11/xinit/xinitrc-common (real do not exist),/etc/x11/xinit/xclients,/etc/sysconfig/ Desktop (does not exist) three files
Xterm

Xinit command
[Email protected] ~]# xinit [client option]--[Server or Display option]

[Email protected] ~]# xinit #相当于: Xinit xterm-geometry +1+1-n login-display:0--x:0
In the X client side: The xterm is the virtual terminal under the X window, and the parameters behind it are the location of the terminal and the login or not.
The final side will be followed by a "-display:0 "Indicates that this virtual terminal is launched in the" section: 0 The X of the number shows the meaning of the interface ".
As far as X server is concerned, the X server program we started is x! In fact, X is the connection file of Xorg, which is the main program of x server! So we started x pretty simple-just execute x, and also specify X to start at: 0 X display interface.


The relevant display module, or the total total module mentioned above, is mainly placed in the/usr/lib64/xorg/modules
? The screen font provided:/usr/share/x11/fonts/
? Display adapter's chipset:/usr/lib64/xorg/modules/drivers/

/etc/x11/xorg.conf, real does not exist, there is/etc/x11/xorg.conf.d/00-keyboard.conf


[Email protected] ~]# xrandr-s 1280x800 #字母X. Real: The results of the previous "Xrandr" command did not show 1280x800 resolution, so this resolution is not available
Size 1280x800 not found in available modes


Adapter driver Installation
23.3.1 NVidia:
? Querying hardware and downloading drivers
? System upgrade and cancellation of Nouveau module loading
? Installing drivers

23.3.2 AMD (ATI):

2018-04-28 "Bird Brother's Linux private cuisine Basic Study (fourth Edition)" 23rd Chapter Xwindows Setting Introduction

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.