Home  >  Article  >  Operation and Maintenance  >  There are several graphics engines in linux

There are several graphics engines in linux

尊渡假赌尊渡假赌尊渡假赌
尊渡假赌尊渡假赌尊渡假赌Original
2023-06-15 10:19:501699browse

Linux has a variety of graphics engines including: 1. X11. X11 is generally used as the graphics engine. It is a graphical display system that supports windows, bitmaps and multi-users. Each window can run a separate The application has a good display effect and has complete functional modules; 2. Wayland is designed with modern security standards in mind to make it safer, and adds mandatory access control functions, which is easy to expand and lightweight to improve system performance.

There are several graphics engines in linux

Linux operating system generally uses X11 as the graphics engine, also known as X Window System or simply X.

X11 is a graphical display system that supports windows, bitmaps, and multi-users, where each window can run a separate application.

In addition to X11, there are some other popular graphics engines, such as Mir, Wayland, etc. The following introduces their respective advantages, disadvantages and usage methods.

1, X11

屏幕截图 2023-06-15 101542.png

##Advantages

  • Display Good effect: supports 3D special effects, translucency, gradient, shadow, texture, etc.

  • Complete functional modules: Provides many extension libraries, which can easily develop GUI applications such as GTK and QT.

  • Open source: X11 is currently fully open source, the code is fully open, and users can modify and customize it.

Disadvantages


Security issues: Since the security mechanism adopts a trust-based model and does not provide fine-grained permission control, security is vulnerable to attack if If a hacker obtains root account privileges, X11 may be easily exploited.

Use

Install and start X11

$ sudo apt install xorg
$ startx

2. Wayland

Advantages

  • More secure: Designed with modern security standards in mind and added Mandatory Access Control (MAC) functionality.

  • Easier to expand: better interoperability, supports modularization, and can quickly add or delete functional components

  • More lightweight: open Ready-to-use out of the box, improves system performance, reduces latency and reduces memory usage

Disadvantages

Integrated functions are relatively simple, tools such as window managers need to be in the API accomplish.

The above is the detailed content of There are several graphics engines in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn