最終更新日: 2019-11-03 日 17:24
ホーム | 文書トップ | 目次

CentOS X Window System

Table of Contents

デスクトップ環境のインストール

作業

インストール

$ sudo yum -y groupinstall "GNOME Desktop"

起動モードの変更

$ sudo systemctl set-default graphical.target

確認

$ systemctl get-default
graphical.target

再起動

$ sudo shutdown -r now

ライセンスに同意して設定を完了。

事例

GUI(X)が起動できなくなった

各種アップデートを行った影響か、いつの間にか、起動時にGUIのログイン画面が出なくなっていた。

$ sudo cat /var/log/Xorg.0.log
(略)
[    17.072] (EE)
[    17.072] (EE) Backtrace:
[    17.072] (EE) 0: /usr/bin/X (xorg_backtrace+0x55) [0x55cef0b0f4f5]
[    17.072] (EE) 1: /usr/bin/X (0x55cef095e000+0x1b5179) [0x55cef0b13179]
[    17.072] (EE) 2: /lib64/libpthread.so.0 (0x7fb1f0b17000+0xf5d0) [0x7fb1f0b265d0]
[    17.072] (EE) 3: /lib64/libEGL_mesa.so.0 (0x7fb1e92cc000+0x10edc) [0x7fb1e92dcedc]
[    17.072] (EE) 4: /lib64/libEGL_mesa.so.0 (0x7fb1e92cc000+0x183d7) [0x7fb1e92e43d7]
[    17.072] (EE) 5: /lib64/libEGL_mesa.so.0 (0x7fb1e92cc000+0x204c3) [0x7fb1e92ec4c3]
[    17.072] (EE) 6: /lib64/libEGL_mesa.so.0 (0x7fb1e92cc000+0x17cfd) [0x7fb1e92e3cfd]
[    17.072] (EE) 7: /lib64/libEGL_mesa.so.0 (0x7fb1e92cc000+0x146be) [0x7fb1e92e06be]
[    17.072] (EE) 8: /lib64/libEGL_mesa.so.0 (0x7fb1e92cc000+0x14705) [0x7fb1e92e0705]
[    17.072] (EE) 9: /lib64/libEGL_mesa.so.0 (eglInitialize+0x108) [0x7fb1e92da118]
[    17.072] (EE) 10: /usr/lib64/xorg/modules/libglamoregl.so (glamor_egl_init+0x97) [0x7fb1ec4d9907]
[    17.072] (EE) 11: /usr/lib64/xorg/modules/drivers/modesetting_drv.so (0x7fb1ecd16000+0xae1e) [0x7fb1ecd20e1e]
[    17.072] (EE) 12: /usr/bin/X (InitOutput+0x9b9) [0x55cef09fb099]
[    17.072] (EE) 13: /usr/bin/X (0x55cef095e000+0x60330) [0x55cef09be330]
[    17.073] (EE) 14: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7fb1f076c495]
[    17.073] (EE) 15: /usr/bin/X (0x55cef095e000+0x4a61e) [0x55cef09a861e]
[    17.073] (EE)
[    17.073] (EE) Segmentation fault at address 0x55cef10005c0
[    17.073] (EE)
Fatal server error:
[    17.073] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    17.073] (EE)
[    17.074] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    17.074] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    17.074] (EE)
[    17.097] (EE) Server terminated with error (1). Closing log file.

とりあえず root.Xauthority を削除して再起動したところ、GUIが使えるようになった。

参考

ホーム | 文書トップ | 目次
Created by Emacs 27.1 (Org mode 9.3)