Xorg
Arch Linux Gnome 問題
我有一個非常奇怪的問題,我無法擺脫。我正在使用 ArchLinux,因為我來自德國,所以我使用的是德語鍵盤佈局等。
因此,當我通過 startx 啟動 Gnome 時,據說 Gnome 無法工作,我必須註銷。我已經擺脫了這個問題兩次,但直到我重新啟動。在 rebot 發生同樣的問題之後,我不再能夠使用 Gnome。只要我不重新啟動,我就已經擺脫了這個問題,但我不知道是什麼導致了這個問題。首先我收到 XKEYBOARD 的警告:
XKEYBOARD keymap compiler (xkbcomp) reports: Compat map for group 2 redifined. Compat map for group 3 redifined. Compat map for group 4 redifined. Using new definitions. Type "ONELEVEL" has 1 levels, but <RALT> has 2 Symbols.
它說:
xinit:Connection to X server lost
我的日誌文件顯示以下內容,但我已將其縮短:
[user@Work log]$ grep -e WW -e EE /var/log/Xorg.0.log.old [ 1281.385] Current Operating System: Linux Work 3.16.3-1-ARCH #1 SMP PREEMPT Wed Sep 17 21:54:13 CEST 2014 x86_64 (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 1281.386] (WW) The directory "/usr/share/fonts/OTF/" does not exist. [ 1281.386] (WW) The directory "/usr/share/fonts/Type1/" does not exist. [ 1281.386] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/". [ 1281.386] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/". [ 1281.394] (WW) intel(0): Detected a hung GPU, disabling acceleration. [ 1281.395] (WW) intel(0): loading DRI2 whilst the GPU is wedged. [ 1287.428] (EE) Server terminated successfully (0). Closing log file.
然後我還發現了一些關於類似問題的文章,所以我在目錄*/etc/X11/xorg.conf.d*中添加了三個文件。我猜這是第一次解決了這個問題,但它仍然不起作用。
/etc/X11/xorg.conf.d/20-keyboard.conf
Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "de" Option "XkbVariant" "nodeadkeys" EndSection
/etc/X11/xorg.conf.d/20-keyboard.conf
Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "de" Option "XkbVariant" "nodeadkeys" EndSection
/etc/X11/xorg.conf.d/20-intel.conf
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "NoAccel" "True" EndSectio
並使用 locale-gen 重新生成語言環境。
請幫助我,因為我只是不知道該怎麼做。:D
執行 xfce4 沒有任何問題。
所以我終於解決了這個問題。我需要解除安裝 xf86-video-vesa 驅動程序:
pacman -R xf86-video-vesa
然後我需要將*/etc/X11/xorg.conf.d/20-intel.conf*文件更改為:
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "DRI" "False" EndSection