【Debian管理员手册】第 13 章 工作站

13.1. 配置 X11 服务
13.2. 定制图形界面
13.2.1. 选择显示管理器
13.2.2. 选择窗口管理器
13.2.3. 菜单管理
13.3. 图形桌面
13.3.1. GNOME
13.3.2. KDE and Plasma
13.3.3. Xfce 和其他
13.3.4. Other Desktop Environments
13.4. 邮件
13.4.1. Evolution
13.4.2. KMail
13.4.3. Thunderbird
13.5. 网页浏览器
13.6. 开发
13.6.1. GNOME中 GTK+ 工具
13.6.2. Tools for Qt
13.7. 通力合作
13.7.1. 团队合作:groupware
13.7.2. 使用 FusionForge 协同工作
13.8. 办公软件包
13.9. 模拟 Windows:Wine
13.10. Real-Time Communications software

现在服务器已经部署完毕,管理员可以集中精力单独安装并配置典型工作站了。

13.1. 配置 X11 服务

A brief reminder: X.org is the software component that allows graphical applications to display windows on screen. It includes a driver that makes efficient use of the video card. The features offered to the graphical applications are exported through a standard interface,
X11 (
Buster contains version
X11R7.7).

观点 X11, XFree86 and X.org

X11 is the graphical system most widely used on Unix-like systems (also available for Windows and Mac OS). Strictly speaking, the term “X11” only refers to a protocol specification, but it is also used to refer to the implementation in practice. X11 had a rough start, but the 1990s saw XFree86 emerge as the reference implementation because it was free software, portable, and maintained by a collaborative community. However, the rate of evolution slowed down near the end when the software only gained new drivers. That situation, along with a very controversial license change, led to the X.org fork in 2004. This is now the reference implementation, and Debian
Buster uses X.org version 7.7. Current versions of X.org are able to autodetect the available hardware: this applies to the video card and the monitor, as well as keyboards and mice; in fact, it is so convenient that the package no longer even creates a
/etc/X11/xorg.conf configuration file. 键盘的配置保存在
/etc/default/keyboard。该文件用于配置文本控制台也用于图形界面,由
keyboard-configuration 处理。配置键盘布局的细节在第 8.1.2 节 “键盘配置”中。
xserver-xorg-core 软件包提供X.org 7.x系列的通用X 服务。该服务是模块化的并使用一套相互独立的驱动来处理很多不同类型的显卡。安装
xserver-xorg 确保服务和至少一种显卡驱动被安装。 Note that if the detected video card is not handled by any of the available drivers, X.org tries using the
vesa and
fbdev drivers. VESA is a generic driver that should work everywhere, but with limited capabilities (fewer available resolutions, no hardware acceleration for games and visual effects for the desktop, and so on) while
fbdev works on top of the kernel’s framebuffer device. Nowadays the X server can run without any administrative privileges (this used to be required to be able to configure the screen) and its log file is then stored in the user’s home directory in
~/.local/share/xorg/Xorg.0.log, whereas it is
/var/log/Xorg.0.log for X servers started with root privileges and for versions older than Debian 9
Stetch. That log file is where one would look to know what driver is currently in use. For example, the following snippet matches what the
intel driver outputs when it is loaded:

(==) Matched intel as autoconfigured driver 0
(==) Matched modesetting as autoconfigured driver 1
(==) Matched vesa as autoconfigured driver 2
(==) Matched fbdev as autoconfigured driver 3
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so

其他 专利驱动

Some video card makers (most notably NVIDIA) refuse to publish the hardware specifications that would be required to implement good free drivers. They do, however, provide proprietary drivers that allow using their hardware. This policy is nefarious, because even when the provided driver exists, it is usually not as polished as it should be; more importantly, it does not necessarily follow the X.org updates, which may prevent the latest available driver from loading correctly (or at all). We cannot condone this behavior, and we recommend you avoid these makers and favor more cooperative manufacturers. If you still end up with such a card, you will find the required packages in the
non-free section:
nvidia-driver for NVIDIA cards. It requires a matching kernel module. Building the module can be automated by installing the package
nvidia-kernel-dkms (for NVIDIA). The “nouveau” project aims to develop a free software driver for NVIDIA cards and is the default driver that you get for those cards in Debian. In general, its feature set and performance do not match the proprietary driver. In the developers’ defense, we should mention that the required information can only be gathered by reverse engineering, which makes things difficult. The free drivers for ATI video cards, called “radeon” and “amdgpu”, are much better in that regard although it often requires non-free firmware from the
firmware-amd-graphics package.

原创文章,作者:晴川运维,如若转载,请注明出处:https://baike.qcidc.com/4515.html

(0)
晴川运维晴川运维
上一篇 2025年6月8日
下一篇 2025年6月8日

相关推荐

  • Debian&&buntu中安装MariaDB 10

    MariaDB数据库管理系统是MySQL的一个分支,主要由开源社区在维护,采用GPL授权许可 MariaDB的目的是完全兼容MySQL,包括API和命令行,使之能轻松成为MySQL…

    Debian 2025年6月8日
  • SSH 安全加固篇:通过“运维密码”小程序实现 SSH 双因子认证

    背景 近来很多知名企业都出现了密码泄露,通过单一的密码对敏感和重要信息进行保护已经面临越来越多的挑战,因此业内对多重认证的呼声也越来越高,而其中的双因子认证得到了业界的普遍认可。 …

    Debian 2025年6月12日
  • Linux的发行版

    谈到linux的发行版本,太多了,可能谁也不能给出一个准确的数字,但是有一点是可以肯定的,Linux正在变得越来越流行。面对这么多的Linux发行版,打算从其他系统转到Linux系…

    Debian 4天前
  • 【Debian GNU/Linux 安装手册】A.3. 安装

    A.3. 安装 一旦安装程序运行,会有一个初始画面迎接您。按 Enter 启动系统;或者先阅读一下其它的启动方式以及各种参数的说明(参阅第 5.3 节…

    Debian 2025年6月8日
  • 【Debian参考手册】第 5 章 网络设置

    目录 5.1. 基本网络架构 5.1.1. 主机名解析 5.1.2. 网络接口名称 5.1.3. 局域网网络地址范围 5.1.4. 网络设备支持 5.2. 现代的桌面网络配置 5.…

    Debian 2025年6月8日
  • Linux下安装会计工具GNU Khata

    GNU Khata是一个会计工具。 或者,我应该说成是一系列的会计工具集合,它就像经济管理方面的Evernote一样。它的应用是如此之广,以至于它不但可以用于个人的财务管理,也可以…

    Debian 2025年6月8日
  • 【Debian GNU/Linux 安装手册】6.4. 加载缺失的固件

    6.4. 加载缺失的固件 正如 第 2.2 节 “需要固件的设备” 里面所说,有些设备需要加载固件。大部分情况下,如果没有固件设备就无法工作;有时没有…

    Debian 2025年6月4日
  • 【Debian GNU/Linux 安装手册】C.1. 决定 Debian 分区以及大小

    C.1. 决定 Debian 分区以及大小 最小化情况下,GNU/linux 需要一个分区。您可以有一个包含整个操作系统,应用程序以及您私人数据的分区。大多数人感到一个分…

    Debian 2025年6月8日
  • Debian属于Linux系统吗?Debian和Linux的关系

    Debian属于Linux系统吗?Debian是一个流行的Linux发行版,它由社区开发和维护,是一个完全免费的开源操作系统,具有庞大的软件包数量和多样的发行版,非常适合需要可靠性…

    Debian 5天前
  • Linux下常用的网络工具

    如果要在你的系统上监控网络,那么使用命令行工具是非常实用的,并且对于 Linux 用户来说,有着许许多多现成的工具可以使用,本篇文章重点为大家详细讲解一下Linux下常用的网络监控…

    Debian 2025年6月13日

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注