For more information about linux X-win-general Linux technology-Linux technology and application, see the following. 1. The implementation of X windows in linux is implemented through XFree86.
Features:
1) Based on the c/s Mode
2) network transparency
3) platform independence
4) style diversity
Principle: X Windows is divided into four layers. The bottom layer is X server, which is a service program that provides graphical interfaces and drivers, such as the mouse, display, and graphics card, the second layer is the network protocol used for communication in the network, and the X protocol. The third layer is Xlib, the underlying function interface, and the fourth layer is the manager, which is the user's final operation interface. For example, KDE and Gnome.
2. Switch the x Interface
To switch between different operation interfaces, you can use the following command:
Switchdisk
Wmanagercfg
Turbowmcfg
Init 5
(Note root execution)
And so on.
Or edit
/Etc/. xinitrc or $ HOME/. xinitrc
You can directly use the corresponding interface on the Character Interface
KDE ---->/usr/bin/startkde
Gnome -->/usr/bin/gnome-session | exec gnome-session
3. Configure X
XFree86config
Xconfigurator
Redhat-config-xfree86
XFree86
And so on. The above commands may be different for different versions.
The configured content is stored in/etc/X11/XF86Config.
4. switching from the character interface to the graphic interface
Edit/etc/inittab
Locate the init: 3: initdefault: Row and set 3 to 5.
Note: 3 indicates the character interface and 5 indicates the graphical interface. (In the future, I will post corresponding posts to specifically explain the startup level .)
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.