Amazon Linux 2にMATEのGUIデスクトップ環境をインストールした。
そのまま、GUIが起動するかどうか試してみる。
目次
startx すると (EE) no screens found(EE)
startx でエラー発生。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
$ startx xauth: file /home/ec2-user/.serverauth.2820 does not exist X.Org X Server 1.19.5 Release Date: 2017-10-12 X Protocol Version 11, Revision 0 Build Operating System: 3.10.0-514.el7.x86_64 Current Operating System: Linux amazonlinux2_vm 4.14.173-137.228.amzn2.x86_64 #1 SMP Thu Mar 19 16:50:21 UTC 2020 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.173-137.228.amzn2.x86_64 root=UUID=47aaca63-0650-48cd-a46e-e7237118c308 ro console=ttyS0,115200n8 console=tty0 net.ifnames=0 biosdevname=0 nvme_core.io_timeout=4294967295 LANG=en_US.UTF-8 Build Date: 16 August 2018 09:59:22AM Build ID: xorg-x11-server 1.19.5-6.amzn2.0.2 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: Fri Apr 3 17:23:16 2020 (==) Using config file: "/etc/X11/xorg.conf" (==) Using config directory: "/etc/X11/xorg.conf.d" (==) 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. |
Fatal server error:
(EE) no screens found(EE)
うーん。
スクリーンが見つからなかったってか。。
Xorg.0.log には/dev/dri/card0:No such file or directory
/var/log/Xorg.0.log の中身を調査してみた。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
[ 154.274] X.Org X Server 1.19.5 Release Date: 2017-10-12 [ 154.274] X Protocol Version 11, Revision 0 [ 154.274] Build Operating System: 3.10.0-514.el7.x86_64 [ 154.274] Current Operating System: Linux amazonlinux2_vm 4.14.173-137.228.amzn2.x86_64 #1 SMP Thu Mar 19 16:50:21 UTC 2020 x86_64 [ 154.274] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.173-137.228.amzn2.x86_64 root=UUID=47aaca63-0650-48cd-a46e-e7237118c308 ro console=ttyS0,115200n8 console=tty0 net.ifnames=0 biosdevname=0 nvme_core.io_timeout=4294967295 LANG=en_US.UTF-8 [ 154.275] Build Date: 16 August 2018 09:59:22AM [ 154.275] Build ID: xorg-x11-server 1.19.5-6.amzn2.0.2 [ 154.275] Current version of pixman: 0.34.0 [ 154.275] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 154.275] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 154.276] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Apr 3 17:23:16 2020 [ 154.276] (==) Using config file: "/etc/X11/xorg.conf" [ 154.276] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 154.276] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 154.276] (==) ServerLayout "X.org Configured" [ 154.276] (**) |-->Screen "Screen0" (0) [ 154.276] (**) | |-->Monitor "Monitor0" [ 154.276] (**) | |-->Device "Card0" [ 154.276] (**) |-->Input Device "Mouse0" [ 154.276] (**) |-->Input Device "Keyboard0" [ 154.277] (==) Automatically adding devices [ 154.277] (==) Automatically enabling devices [ 154.277] (==) Automatically adding GPU devices [ 154.277] (==) Automatically binding GPU devices [ 154.277] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 154.277] (**) FontPath set to: catalogue:/etc/X11/fontpath.d, built-ins, catalogue:/etc/X11/fontpath.d, built-ins [ 154.277] (**) ModulePath set to "/usr/lib64/xorg/modules" [ 154.277] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. [ 154.277] (WW) Disabling Mouse0 [ 154.277] (WW) Disabling Keyboard0 [ 154.277] (II) Loader magic: 0x55bc0d90c020 [ 154.277] (II) Module ABI versions: [ 154.277] X.Org ANSI C Emulation: 0.4 [ 154.277] X.Org Video Driver: 23.0 [ 154.277] X.Org XInput driver : 24.1 [ 154.277] X.Org Server Extension : 10.0 [ 154.278] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/33554432, BIOS @ 0x????????/131072 [ 154.278] (II) "glx" will be loaded. This was enabled by default and also specified in the config file. [ 154.278] (II) LoadModule: "glx" [ 154.278] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [ 154.278] (II) Module glx: vendor="X.Org Foundation" [ 154.279] compiled for 1.19.5, module version = 1.0.0 [ 154.279] ABI class: X.Org Server Extension, version 10.0 [ 154.279] (II) LoadModule: "modesetting" [ 154.279] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so [ 154.279] (II) Module modesetting: vendor="X.Org Foundation" [ 154.279] compiled for 1.19.5, module version = 1.19.5 [ 154.279] Module class: X.Org Video Driver [ 154.279] ABI class: X.Org Video Driver, version 23.0 [ 154.279] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 154.279] (--) using VT number 2 [ 154.282] (EE) open /dev/dri/card0: No such file or directory [ 154.282] (WW) Falling back to old probe method for modesetting [ 154.282] (EE) open /dev/dri/card0: No such file or directory [ 154.282] (EE) Screen 0 deleted because of no matching config section. [ 154.282] (II) UnloadModule: "modesetting" [ 154.282] (EE) Device(s) detected, but none match those in the config file. [ 154.283] (EE) Fatal server error: [ 154.283] (EE) no screens found(EE) [ 154.283] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 154.283] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 154.284] (EE) [ 154.287] (EE) Server terminated with error (1). Closing log file. |
open /dev/dri/card0: No such file or directory
Falling back to old probe method for modesetting
open /dev/dri/card0: No such file or directory
Screen 0 deleted because of no matching config section.
UnloadModule: "modesetting"
Device(s) detected, but none match those in the config file.
モニターのドライバーが見つからないとか?
Xorg -configure でコンフィグレーション作成
Xorg -configure でコンフィグレーションを再作成。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
$ sudo Xorg -configure X.Org X Server 1.19.5 Release Date: 2017-10-12 X Protocol Version 11, Revision 0 Build Operating System: 3.10.0-514.el7.x86_64 Current Operating System: Linux amazonlinux2_vm 4.14.173-137.228.amzn2.x86_64 #1 SMP Thu Mar 19 16:50:21 UTC 2020 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.14.173-137.228.amzn2.x86_64 root=UUID=47aaca63-0650-48cd-a46e-e7237118c308 ro console=ttyS0,115200n8 console=tty0 net.ifnames=0 biosdevname=0 nvme_core.io_timeout=4294967295 LANG=en_US.UTF-8 Build Date: 16 August 2018 09:59:22AM Build ID: xorg-x11-server 1.19.5-6.amzn2.0.2 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: Fri Apr 3 17:28:01 2020 List of video drivers: modesetting (++) Using config file: "/root/xorg.conf.new" (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) (EE) Backtrace: (EE) 0: Xorg (xorg_backtrace+0x4d) [0x55cd4465438d] (EE) 1: Xorg (0x55cd4449e000+0x1ba119) [0x55cd44658119] (EE) 2: /lib64/libpthread.so.0 (0x7f7ee24ba000+0x117e0) [0x7f7ee24cb7e0] (EE) (EE) Segmentation fault at address 0x0 (EE) Fatal server error: (EE) Caught signal 11 (Segmentation fault). Server aborting (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. Aborted |
Segmentation fault at address 0x0
うーん。
コメント