> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/handbook/di-5-zhang-xwindow-xi-tong/5.1.-gai-shu.md).

# 5.1.概述

使用 [bsdinstall(8)](https://man.freebsd.org/cgi/man.cgi?query=bsdinstall\&sektion=8\&format=html) [安装](/handbook/di-2-zhang-an-zhuang-freebsd/2.1.-gai-shu.md)的 FreeBSD 系统不会自动安装图形用户界面。本章介绍如何安装和配置 [Xorg(1)](https://man.freebsd.org/cgi/man.cgi?query=Xorg\&sektion=1\&format=html) 服务器，该服务器提供开源 X Window 系统（俗称 X11），用于提供图形化环境。

在阅读本章之前，你应该：

* 了解如何按照 [安装应用程序：软件包和 Ports](/handbook/di-4-zhang-an-zhuang-ying-yong-cheng-xu-ruan-jian-bao-he-ports/4.1.-gai-shu.md) 的说明安装额外的第三方软件。

阅读本章，你将了解：

* 如何为图形处理器（GPU）选择和安装驱动程序。
* X Window 系统的各个组件及其协作方式。
* 如何安装和配置 X.org 服务器。
* 如何为 X Window 系统安装字体。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://book.bsdcn.org/handbook/di-5-zhang-xwindow-xi-tong/5.1.-gai-shu.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
