00 Display Server Protocol이란
1. 정의
- Display Server와 Client가 서로 통신할 수 있게 하는 프로토콜
- 즉, GUI (데스크탑) 환경(Desktop Environment)을 구현하기 위해 프레임워크를 제공하는 프로토콜
2. 종류
- 여러 종류들이 있음
1) X11
- X, 또는 X Window System 이라고도 함
- graphical windowing system commonly used on Unix-like OS
2) Wayland
- 참조: 2024.04.24 - [LINUX] - Wayland (Display Server와 Client 사이 통신 프로토콜)
- 아직 Wayland를 지원하지 않는 프로그램들이 많아서 X11를 사용하는 프로그램들이 많음
- 그러나 전반적으로 Wayland는 X11의 부족한 점들을 많이 보안한다고 알려짐
- Wayland가 X11의 부족한 점들을 보안하는 반면, X11이 제공하는 기능들을 미포함 부분들이 있음
- 예) Wayland는 X11와 달리 network transparency 제공하지 않음
01 X11와 Wayland의 차이점
X11 | Wayland |
complexity and Legacy Code lack of direct rendering security concerns inefficient multi-monitor redundant functionality tearing and latency problems |
simpler Codebase direct rendering better security modern multimonitor and HiDPI support efficiency and performance |
supports network transparency | does not support network transparency for security reasons |
Desktop Environment’s Window Manager is responsible for placing windows and drawing window decorations such as title bars and frames. | the functions of the Display Server and the Window Manager are combined in the respective Wayland Compositor |