【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 GNU/Linux 安装手册】2.2. 需要固件的设备

    2.2. 需要固件的设备 除了需要设备驱动程序,有些硬件还要在使用之前加载 固件(firmware) 或 微码(microcode)。这对于网卡(特别是无线网卡)来说很常…

    Debian 2025年6月8日
  • 详解osquery具体使用方法

    osquery 是 SQL 驱动的分析和监控操作系统的工具,是操作系统分析框架,支持 OS X 和 Linux 系统。osquery 能帮助监控和分析低水平的操作系统,提供更直观的…

    Debian 2025年6月13日
  • 对SQLite进行编译

    上周,我一直在做一个 SQL 网站(https://sql-steps.wizardzines.com/,一个 SQL 示例列表)。我使用 sqlite 运行网站上的所有查询,并且…

    Debian 2025年6月8日
  • 通过Cockpit 管理你的树莓派

    在这篇文章中,我将会介绍如何在树莓派基金会提供的标准操作系统树莓派 OS 上安装用于 Linux 服务器的 Cockpit Web 控制台。我还会简要介绍它的特性。 用 Cockp…

    Debian 2025年6月10日
  • 如何在 Ubuntu 以及 Debian 中安装 DHCP 服务器

    动态主机配置协议(DHCP) 是一种用于使主机能够从服务器自动分配 IP 地址和相关的网络配置的网络协议。 DHCP 服务器分配给 DHCP 客户端的 IP 地址处于“租用”状态,…

    Debian 2025年6月4日
  • Linux 防火墙 ufw 简介

    我们来研究下 linux 上的 ufw(简单防火墙),为你更改防火墙提供一些见解和命令。 ufw(简单防火墙Uncomplicated FireWall)真正地简化了 iptabl…

    Debian 2025年6月12日
  • Linux下使用GPG 加密和解密文件

    GnuPG(英文:GNU Privacy Guard,简称:GPG)是加的免费工具,大多用于加密信息的传递。除了仅用密码加密外,gpg最大的不同是提供了“公钥/私钥”对。利用“公钥…

    Debian 2025年6月13日
  • Ubuntu更换默认终端具体方法

    终端是任何Linux系统的关键部分。它允许您通过shell访问Linux系统。虽说现在的Linux发行版,比如Ubuntu,CentOS等已经基本上可以采用GUI来完成绝大部分一般…

    Debian 2025年6月16日
  • Linux下常用的网络工具

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

    Debian 2025年6月13日
  • 【Debian GNU/Linux 安装手册】C.5. Debian 分区程序

    C.5. Debian 分区程序 Debian 开发人员选用了几种在不同硬盘和不同体系结构上的分区程序。下面是一个适合您的体系的程序列表。 partman 推荐的 Deb…

    Debian 2025年6月4日

发表回复

登录后才能评论