X-Window System を壊した復旧過程で詰まりました

Linux Mintの初心者向けフォーラム

X-Window System を壊した復旧過程で詰まりました

投稿記事by obelisk » 2016年11月30日(水) 20:39

Mint 17.2 の不具合を直そうとする過程で
$ sudo apt purge xserver-xorg
したバカ者です。なんとか xserver-xorg を入れ直して
$ sudo dpkg-reconfigure xserver-xorg
までこぎ着けたのですが、
$ startx
で Fatal error が出ます。ログを見てもよくわからず、ここで詰まってしまいました。自分の X-Window System は回復するのでしょうか。よろしくおねがいします。

PCは VAIO Fit 15E mk2 VJF1521 です。

/var/log/Xorg.0.log は以下です。
コード: 全て選択
[  8183.816]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[  8183.816] X Protocol Version 11, Revision 0
[  8183.816] Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
[  8183.816] Current Operating System: Linux tomoki-VJF152 3.19.0-74-generic #82~14.04.1-Ubuntu SMP Fri Oct 21 15:43:47 UTC 2016 x86_64
[  8183.816] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.19.0-74-generic root=UUID=dde67761-8d68-4ce4-8ad8-a697f1b3dea1 ro quiet splash
[  8183.816] Build Date: 12 February 2015  02:49:29PM
[  8183.816] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
[  8183.817] Current version of pixman: 0.30.2
[  8183.817]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  8183.817] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  8183.817] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov 30 19:48:49 2016
[  8183.817] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  8183.817] (==) No Layout section.  Using the first Screen section.
[  8183.817] (==) No screen section available. Using defaults.
[  8183.817] (**) |-->Screen "Default Screen Section" (0)
[  8183.817] (**) |   |-->Monitor "<default monitor>"
[  8183.817] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[  8183.817] (==) Automatically adding devices
[  8183.817] (==) Automatically enabling devices
[  8183.817] (==) Automatically adding GPU devices
[  8183.817] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  8183.817]    Entry deleted from font path.
[  8183.817] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  8183.817]    Entry deleted from font path.
[  8183.817] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  8183.817]    Entry deleted from font path.
[  8183.817] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  8183.817]    Entry deleted from font path.
[  8183.817] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  8183.817]    Entry deleted from font path.
[  8183.817] (==) FontPath set to:
   /usr/share/fonts/X11/misc,
   /usr/share/fonts/X11/Type1,
   built-ins
[  8183.817] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[  8183.817] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[  8183.817] (II) Loader magic: 0x55b095c1ad40
[  8183.817] (II) Module ABI versions:
[  8183.817]    X.Org ANSI C Emulation: 0.4
[  8183.817]    X.Org Video Driver: 15.0
[  8183.818]    X.Org XInput driver : 20.0
[  8183.818]    X.Org Server Extension : 8.0
[  8183.818] (II) xfree86: Adding drm device (/dev/dri/card0)
[  8183.819] (--) PCI:*(0:0:2:0) 8086:0a16:1d19:0004 rev 11, Mem @ 0xb0000000/4194304, 0xa0000000/268435456, I/O @ 0x00004000/64
[  8183.819] Initializing built-in extension Generic Event Extension
[  8183.819] Initializing built-in extension SHAPE
[  8183.819] Initializing built-in extension MIT-SHM
[  8183.819] Initializing built-in extension XInputExtension
[  8183.819] Initializing built-in extension XTEST
[  8183.819] Initializing built-in extension BIG-REQUESTS
[  8183.819] Initializing built-in extension SYNC
[  8183.819] Initializing built-in extension XKEYBOARD
[  8183.819] Initializing built-in extension XC-MISC
[  8183.819] Initializing built-in extension SECURITY
[  8183.819] Initializing built-in extension XINERAMA
[  8183.819] Initializing built-in extension XFIXES
[  8183.819] Initializing built-in extension RENDER
[  8183.819] Initializing built-in extension RANDR
[  8183.819] Initializing built-in extension COMPOSITE
[  8183.819] Initializing built-in extension DAMAGE
[  8183.819] Initializing built-in extension MIT-SCREEN-SAVER
[  8183.819] Initializing built-in extension DOUBLE-BUFFER
[  8183.819] Initializing built-in extension RECORD
[  8183.819] Initializing built-in extension DPMS
[  8183.819] Initializing built-in extension Present
[  8183.819] Initializing built-in extension DRI3
[  8183.819] Initializing built-in extension X-Resource
[  8183.819] Initializing built-in extension XVideo
[  8183.819] Initializing built-in extension XVideo-MotionCompensation
[  8183.819] Initializing built-in extension SELinux
[  8183.820] Initializing built-in extension XFree86-VidModeExtension
[  8183.820] Initializing built-in extension XFree86-DGA
[  8183.820] Initializing built-in extension XFree86-DRI
[  8183.820] Initializing built-in extension DRI2
[  8183.820] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
[  8183.820] (II) "glx" will be loaded by default.
[  8183.820] (WW) "xmir" is not to be loaded by default. Skipping.
[  8183.820] (II) LoadModule: "glx"
[  8183.820] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  8183.821] (II) Module glx: vendor="X.Org Foundation"
[  8183.821]    compiled for 1.15.1, module version = 1.0.0
[  8183.821]    ABI class: X.Org Server Extension, version 8.0
[  8183.821] (==) AIGLX enabled
[  8183.821] Loading extension GLX
[  8183.821] (==) Matched intel as autoconfigured driver 0
[  8183.821] (==) Matched intel as autoconfigured driver 1
[  8183.821] (==) Matched modesetting as autoconfigured driver 2
[  8183.821] (==) Matched fbdev as autoconfigured driver 3
[  8183.821] (==) Matched vesa as autoconfigured driver 4
[  8183.821] (==) Assigned the driver to the xf86ConfigLayout
[  8183.821] (II) LoadModule: "intel"
[  8183.821] (WW) Warning, couldn't open module intel
[  8183.821] (II) UnloadModule: "intel"
[  8183.821] (II) Unloading intel
[  8183.821] (EE) Failed to load module "intel" (module does not exist, 0)
[  8183.821] (II) LoadModule: "modesetting"
[  8183.822] (WW) Warning, couldn't open module modesetting
[  8183.822] (II) UnloadModule: "modesetting"
[  8183.822] (II) Unloading modesetting
[  8183.822] (EE) Failed to load module "modesetting" (module does not exist, 0)
[  8183.822] (II) LoadModule: "fbdev"
[  8183.822] (WW) Warning, couldn't open module fbdev
[  8183.822] (II) UnloadModule: "fbdev"
[  8183.822] (II) Unloading fbdev
[  8183.822] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  8183.822] (II) LoadModule: "vesa"
[  8183.822] (WW) Warning, couldn't open module vesa
[  8183.822] (II) UnloadModule: "vesa"
[  8183.822] (II) Unloading vesa
[  8183.822] (EE) Failed to load module "vesa" (module does not exist, 0)
[  8183.822] (==) Matched intel as autoconfigured driver 0
[  8183.822] (==) Matched intel as autoconfigured driver 1
[  8183.822] (==) Matched modesetting as autoconfigured driver 2
[  8183.822] (==) Matched fbdev as autoconfigured driver 3
[  8183.822] (==) Matched vesa as autoconfigured driver 4
[  8183.822] (==) Assigned the driver to the xf86ConfigLayout
[  8183.822] (II) LoadModule: "intel"
[  8183.822] (WW) Warning, couldn't open module intel
[  8183.822] (II) UnloadModule: "intel"
[  8183.822] (II) Unloading intel
[  8183.822] (EE) Failed to load module "intel" (module does not exist, 0)
[  8183.822] (II) LoadModule: "modesetting"
[  8183.823] (WW) Warning, couldn't open module modesetting
[  8183.823] (II) UnloadModule: "modesetting"
[  8183.823] (II) Unloading modesetting
[  8183.823] (EE) Failed to load module "modesetting" (module does not exist, 0)
[  8183.823] (II) LoadModule: "fbdev"
[  8183.823] (WW) Warning, couldn't open module fbdev
[  8183.823] (II) UnloadModule: "fbdev"
[  8183.823] (II) Unloading fbdev
[  8183.823] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  8183.823] (II) LoadModule: "vesa"
[  8183.823] (WW) Warning, couldn't open module vesa
[  8183.823] (II) UnloadModule: "vesa"
[  8183.823] (II) Unloading vesa
[  8183.823] (EE) Failed to load module "vesa" (module does not exist, 0)
[  8183.823] (EE) No drivers available.
[  8183.823] (EE)
Fatal server error:
[  8183.823] (EE) no screens found(EE)
[  8183.823] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[  8183.823] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  8183.823] (EE)


書き忘れていました。なぜか /etc/X11/xorg.conf がないのです。
$ sudo Xorg -configure
をすると次のメッセージが出るだけです。
コード: 全て選択
[  4960.701]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[  4960.701] X Protocol Version 11, Revision 0
[  4960.701] Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
[  4960.701] Current Operating System: Linux tomoki-VJF152 3.19.0-74-generic #82~14.04.1-Ubuntu SMP Fri Oct 21 15:43:47 UTC 2016 x86_64
[  4960.701] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.19.0-74-generic root=UUID=dde67761-8d68-4ce4-8ad8-a697f1b3dea1 ro quiet splash
[  4960.701] Build Date: 12 February 2015  02:49:29PM
[  4960.701] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
[  4960.701] Current version of pixman: 0.30.2
[  4960.701]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[  4960.701] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4960.701] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov 30 18:55:06 2016
[  4960.701] (II) Loader magic: 0x55b660463d40
[  4960.701] (II) Module ABI versions:
[  4960.701]    X.Org ANSI C Emulation: 0.4
[  4960.701]    X.Org Video Driver: 15.0
[  4960.701]    X.Org XInput driver : 20.0
[  4960.701]    X.Org Server Extension : 8.0
[  4960.702] (II) xfree86: Adding drm device (/dev/dri/card0)
[  4960.703] (--) PCI:*(0:0:2:0) 8086:0a16:1d19:0004 rev 11, Mem @ 0xb0000000/4194304, 0xa0000000/268435456, I/O @ 0x00004000/64
[  4960.704] Missing output drivers.  Configuration failed.
obelisk
前相撲
 
記事: 8
登録日時: 2015年10月03日(土) 22:50

Re: X-Window System を壊した復旧過程で詰まりました

投稿記事by fu-sen » 2016年12月01日(木) 16:02

もっと前の段階の情報が必要です。
「Mint 17.2 の不具合」というのは具体的にどのような状態になってしまっていますか?
また Mint 17.2 の種類は何ですか?(Cinnamon・MATE・KDE・Xfce)

少なくても Linux Mint はディスプレイマネージャ(MDM)で表示する前提になっているので、
startx で起動する状態には設定されていません。それは更に設定が必要です。
fu-sen
関脇
 
記事: 364
登録日時: 2014年3月06日(木) 17:40

Re: X-Window System を壊した復旧過程で詰まりました

投稿記事by obelisk » 2016年12月01日(木) 22:50

fu-sen様、返信ありがとうございます。

まず Mint 17.2 の不具合ですが、起動時に途中で画面上方に「keys:Iを押して無視する…」(うろおぼえです)というようなメッセージが出るというものです。Mint は Cinnamon です。Mint を壊したあともまだこのメッセージは出て、それから(英文の)メッセージ(上に挙げた/var/log/Xorg.0.logの内容など)が出、そして tty1 のコンソール画面になります。
少なくても Linux Mint はディスプレイマネージャ(MDM)で表示する前提になっているので、
startx で起動する状態には設定されていません。

なるほど、確かに英文で「MDMを構成せよ」(だったか「立ち上げよ」だったか)というメッセージも出ていました。

壊れた Mint 17.2 をもう一度立ち上げてみて、確認してみます。

こんな英文ですね。
The X server is now disabled. Restart MDM when it is configured corrctly.

「MDMが正しく構成されたならMDMを再起動せよ」くらいの意味なのでしょうか。

それからもうひとつ。こんな英文も出ました。
X: cannot stat /etc/X11/X (No such file or directory), aborting.

しかし、/etc/X11/Xは存在するようですが。よろしくお願い致します。
obelisk
前相撲
 
記事: 8
登録日時: 2015年10月03日(土) 22:50

Re: X-Window System を壊した復旧過程で詰まりました

投稿記事by fu-sen » 2016年12月02日(金) 00:43

今参照しなおして見つけましたが……
obelisk さんが書きました:書き忘れていました。なぜか /etc/X11/xorg.conf がないのです。

なくて正常です。今多くの Linux はこれを生成しません。残っているのは Slackware 系位だと思います。

う〜〜〜ん…… :roll:

おそらくデスクトップ関連のパッケージを丸ごと失っていると思うので、
回復作業を行うよりも、必要なデータはバックアップしておいて、
再インストールしなおすのがはやいと思います。
fu-sen
関脇
 
記事: 364
登録日時: 2014年3月06日(木) 17:40

Re: X-Window System を壊した復旧過程で詰まりました

投稿記事by obelisk » 2016年12月02日(金) 11:26

返信ありがとうございます。

おそらくデスクトップ関連のパッケージを丸ごと失っていると思うので、
回復作業を行うよりも、必要なデータはバックアップしておいて、
再インストールしなおすのがはやいと思います。


どうもそんな感じですね。じつは別に既に Mint 18 をインストールしたので、Mint 17.2 はお役御免というところでしょうか。データはまったく死んでいないので、そこいらは大丈夫です。

わざわざ何度もありがとうございました。
obelisk
前相撲
 
記事: 8
登録日時: 2015年10月03日(土) 22:50


Return to 初心者サポート

オンラインデータ

このフォーラムを閲覧中のユーザー: なし & ゲスト[11人]