Xorg

From Gentoo Wiki
Jump to:navigation Jump to:search
This page is a translated version of the page Xorg and the translation is 100% complete.
Other languages:

XorgX サーバのオープンソース実装です。

インストール

Xorg ガイドは Xorg のインストールについて詳しく説明しています。

USE フラグ

USE flags for x11-base/xorg-server X.Org X servers

debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
elogind Use elogind to get control over framebuffer when running as regular user
minimal Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
suid Enable setuid root program(s)
systemd Enable use of systemd-specific libraries and features like socket activation or session tracking
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
udev Enable virtual/udev integration (device discovery, power and storage device support, etc)
unwind Enable libunwind usage for backtraces
xcsecurity Build Security extension
xephyr Build the Xephyr server
xnest Build the Xnest server
xorg Build the Xorg X server (HIGHLY RECOMMENDED)
xvfb Build the Xvfb server

X USE フラグ

多くのパッケージは、(まだプロファイル選択によって有効化されていないなら) グローバルの X USE フラグを有効化することで、追加の X11 サポートとともにビルドすることができます。

Emerge

必要なコンポーネントをインストールしてください:

root #emerge --ask x11-base/xorg-server
メモ
機能するグラフィカル環境 (KDEGNOME などの人気のあるデスクトップを含む) を得るには、これらのパッケージのいずれかを emerge する前に追加の設定が必要です。詳細についてはより広範な Xorg ガイドを参照してください。

トラブルシューティング

X が開始した後、予期せずエラーを出さずに終了する

問題: startx を実行すると X サーバを開始するが、すぐに何のエラーも出さずに終了する (/var/log/Xorg.0.log を "EE" で検索しても、関係する結果を返さない)。

原因: startx コマンドを実行しているユーザに空の .xinitrc ファイルが存在するため、X サーバが開始した後、することが何も無いので終了します。

解決策: .xinitrc ファイルを削除するか、ファイル内でウィンドウマネージャを定義してください。

再現方法:

user $touch ~/.xinitrc

xorg-drivers とともに xorg-server を更新するとブロックされる

xorg-server の更新が利用可能な場合に、通常通り -up world コマンドを実行すると、xorg-drivers についてのブロックメッセージが出力されることがあるでしょう。これが発生した場合、x11 モジュールを再ビルドすることで更新を続けられる場合があります:

root #emerge -av1 xorg-server @x11-module-rebuild

関連項目

  • Non root Xorg — describes how an unprivileged user can run Xorg without using suid.
  • Xorg/Guide — Xorg とは何か、Xorg のインストール方法、各種設定について説明します。
  • Xorg/Hardware 3D acceleration guide — GentooのXorgでDRMを使用して3Dアクセラレーションを動作させるためのガイドです。
  • XrandrX プロトコル拡張とその CLI ツールである xrandr は、X 内でのスクリーンの解像度と回転、およびマルチディスプレイ使用時のスクリーンを管理するために使われます
  • Xorg/Using the numeric keyboard keys as mouse — XOrg comes with built-in mouse emulation using the keyboards numeric keypad.
  • X server — the main component of the X Window system which abstracts the hardware and provides the foundation for most graphical user interfaces, like desktop environments or window managers, and their applications.