グラフィカルインターフェイスの起動に失敗しました。

グラフィカルインターフェイスの起動に失敗しました。

私はLinux Mint 14を使用していますが、最近次のような問題が発生しました。

一部のソフトウェア(正確にはTorchatとLibreOffice)をアンインストールしてインストールしてから再起動した後、システムにログインできないことがわかりました。

私が最初に気づいたのは、私のログインとパスワードを入力するためのコンソールラインでした。その後、コンソールは私を迎えました。

bash: /usr/lib/git-core/git-sh-prompt: No such file or directory

私のすべてを走らせよう開始x結果は、アクティブなマウス矢印付きの黒い画面です。

単にWebを閲覧しながらmdmをインストールすることが可能な解決策である可能性があることがわかりました。しかし、その後、コンソールからいつでもスキップしてすぐにこの黒い画面にログインし始めたので、削除する必要がありました。インターネット上で見つけた他の方法のどれも動作しないようです。

これはstartxのログファイルです:

組み込み拡張の最初のバッチ処理が初期化されています。

loading extension GLX
The XKEYBOARD keymap compiler (xkbcomp) reports:
Warning: Compat map for group 2 redefined
Using new definition
Warning: Compat map for group 3 redefined
Using new definition
Warning: Compat map for group 4 redefined
Using new definition
Errors from xkbcomp are not fatal to the X server

このレポートは3回繰り返され、ついに次のような結果が得られました。

xinit: connection to X server lost
waiting for X server to shut down Server terminated successfully (0). Closing log file.
xinit: unexpected signal 1

この混乱を解決する方法について提案をいただきありがとうございます。事前にありがとう

修正する

~/.xsession-errors 出力

Xsession: X session started for root at Wed May 7 17:35:27 MSK 2014
localuser: root being added to access control list
Setting IM through im-switch for locale=all_ALL
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default
Failed to connect to the VirtualBox kernel service
Failed to connect to the VirtualBox kernel service
Failed to connect to the VirtualBox kernel service
Failed to connect to the VirtualBox kernel service

ベストアンサー1

おそらく、Officeパッケージの依存関係でxserverを削除した可能性があります。

まず作ってみてください。

sudo /etc/init.d/[gdm kdm ...] start

何も起こらない場合は、/var/logで最後のログメッセージを見つけてください。

ls -lhtr /var/log

そして、最近修正されたファイルの尾を読んでください。

おすすめ記事