Beyond Linux From Scratch Version 8.0で説明されているように、Xorg X Window System環境を構築しようとしています。私のBLFSシステムは、VirtualBoxバージョン5.0.10 r104061を使用する仮想マシンにあります。
私は24章X Windowsシステム環境で説明されている手順に従いました。ただし、インストールを完了してstartxを試みると、次の結果が表示されます。
Release Date: 2017-01-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.5 x86_64
Current Operating System: Linux LFS 4.9.5 #1 SMP Thu Feb 23 22:59:41 GMT 2017 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.5-lfs-SVN-20170122 root=/dev/sda1 ro
Build Date: 01 March 2017 10:04:52PM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 22 21:42:24 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
/var/log/Xorg.0.log に次のログが表示されます。
57.972]
X.Org X Server 1.19.1
Release Date: 2017-01-11
[ 57.974] X Protocol Version 11, Revision 0
[ 57.974] Build Operating System: Linux 4.9.5 x86_64
[ 57.975] Current Operating System: Linux LFS 4.9.5 #1 SMP Thu Feb 23 22:59:41 GMT 2017 x86_64
[ 57.975] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.5-lfs-SVN-20170122 root=/dev/sda1 ro
[ 57.975] Build Date: 01 March 2017 10:04:52PM
[ 57.975]
[ 57.975] Current version of pixman: 0.34.0
[ 57.975] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 57.975] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 57.978] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 22 21:42:24 2017
[ 57.990] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 57.992] (==) No Layout section. Using the first Screen section.
[ 57.992] (==) No screen section available. Using defaults.
[ 57.992] (**) |-->Screen "Default Screen Section" (0)
[ 57.992] (**) | |-->Monitor "<default monitor>"
[ 57.992] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 57.992] (**) | |-->Device "radeon"
[ 57.992] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 57.992] (==) Automatically adding devices
[ 57.992] (==) Automatically enabling devices
[ 57.992] (==) Automatically adding GPU devices
[ 57.994] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 57.999] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/misc/".
[ 57.999] Entry deleted from font path.
[ 57.999] (Run 'mkfontdir' on "/usr/share/fonts/X11/misc/").
[ 58.002] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/100dpi/".
[ 58.002] Entry deleted from font path.
[ 58.002] (Run 'mkfontdir' on "/usr/share/fonts/X11/100dpi/").
[ 58.003] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/75dpi/".
[ 58.003] Entry deleted from font path.
[ 58.003] (Run 'mkfontdir' on "/usr/share/fonts/X11/75dpi/").
[ 58.003] (==) FontPath set to:
/usr/share/fonts/X11/TTF/,
/usr/share/fonts/X11/OTF/,
/usr/share/fonts/X11/Type1/
[ 58.003] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 58.003] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 58.003] (II) Loader magic: 0x810c40
[ 58.003] (II) Module ABI versions:
[ 58.003] X.Org ANSI C Emulation: 0.4
[ 58.003] X.Org Video Driver: 23.0
[ 58.003] X.Org XInput driver : 24.1
[ 58.003] X.Org Server Extension : 10.0
[ 58.007] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/16777216, BIOS @ 0x????????/131072
[ 58.007] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 58.007] (II) LoadModule: "glx"
[ 58.008] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 58.040] (II) Module glx: vendor="X.Org Foundation"
[ 58.040] compiled for 1.19.1, module version = 1.0.0
[ 58.040] ABI class: X.Org Server Extension, version 10.0
[ 58.040] (II) LoadModule: "ati"
[ 58.041] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 58.042] (II) Module ati: vendor="X.Org Foundation"
[ 58.042] compiled for 1.19.1, module version = 7.8.0
[ 58.042] Module class: X.Org Video Driver
[ 58.042] ABI class: X.Org Video Driver, version 23.0
[ 58.042] (EE) No drivers available.
[ 58.042] (EE)
Fatal server error:
[ 58.044] (EE) no screens found(EE)
[ 58.045] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 58.046] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 58.046] (EE)
[ 58.046] (EE) Server terminated with error (1). Closing log file.
カーネルを再構築してみました。
Device Drivers --->
Graphics support --->
<*> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM]
<*> DRM driver for VMware Virtual GPU [CONFIG_DRM_VMWGFX]
[*] Enable framebuffer console under vmwgfx by default [CONFIG_DRM_VMWGFX_FBCON]
そして
Device Drivers --->
Graphics support --->
<> Direct Rendering Manager (XFree86 ... support) ---> [CONFIG_DRM]
どちらの場合も、同じエラーメッセージが表示されます。これはグラフィックアダプター lspci の出力です。
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
画面が読み込まれない理由をご存知ですか?
答え1
ここに投稿した回答が役に立ちます。物理モニタなしのvncサーバーの設定:Ubuntu 16.04 LTS
Xスタックが出力を送信する仮想画面を設定して、GUI環境の起動を完了できます。