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:

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

インストール

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

USE フラグ

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

+elogind Use elogind to get control over framebuffer when running as regular user
+udev Enable virtual/udev integration (device discovery, power and storage device support, etc)
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
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)
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
メモ
機能するグラフィカル環境 ( KDE GNOME などの人気のあるデスクトップを含む) を得るには、これらのパッケージのいずれかを 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

関連項目