2016年4月21日 星期四

解決 (EE) no screens found 問題

root@kali:/etc/X11/xorg.conf.d# cat /var/log/Xorg.0.log
[   201.991] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
[   201.992] X Protocol Version 11, Revision 0
[   201.992] Build Operating System: Linux 3.16.0-4-armmp-lpae armv7l Debian
[   201.992] Current Operating System: Linux kali 3.18.5-v7+ #1 SMP PREEMPT Fri Feb 6 23:06:57 CET 2015 armv7l
[   201.993] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0x18cd2f9 smsc95xx.macaddr=B8:27:EB:8C:D2:F9 bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.fiq_fix_enable=2 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0
[   202.018] Build Date: 05 April 2016  07:04:24AM
[   202.026] xorg-server 2:1.18.3-1 (http://www.debian.org/support) 
[   202.034] Current version of pixman: 0.33.6
[   202.050]  Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
[   202.050] Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   202.082] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 20 13:19:10 2016
[   202.091] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   202.093] (==) No Layout section.  Using the first Screen section.
[   202.093] (==) No screen section available. Using defaults.
[   202.093] (**) |-->Screen "Default Screen Section" (0)
[   202.093] (**) |   |-->Monitor ""
[   202.094] (==) No device specified for screen "Default Screen Section".
 Using the first device section listed.
[   202.094] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[   202.094] (==) No monitor specified for screen "Default Screen Section".
 Using a default monitor configuration.
[   202.094] (==) Automatically adding devices
[   202.095] (==) Automatically enabling devices
[   202.095] (==) Automatically adding GPU devices
[   202.095] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   202.095] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   202.095]  Entry deleted from font path.
[   202.095] (==) FontPath set to:
 /usr/share/fonts/X11/misc,
 /usr/share/fonts/X11/100dpi/:unscaled,
 /usr/share/fonts/X11/75dpi/:unscaled,
 /usr/share/fonts/X11/Type1,
 /usr/share/fonts/X11/100dpi,
 /usr/share/fonts/X11/75dpi,
 built-ins
[   202.095] (==) ModulePath set to "/usr/lib/xorg/modules"
[   202.095] (II) The server relies on udev to provide the list of input devices.
 If no devices become available, reconfigure udev or disable AutoAddDevices.
[   202.095] (II) Loader magic: 0x76fc1f68
[   202.095] (II) Module ABI versions:
[   202.095]  X.Org ANSI C Emulation: 0.4
[   202.095]  X.Org Video Driver: 20.0
[   202.095]  X.Org XInput driver : 22.1
[   202.096]  X.Org Server Extension : 9.0
[   202.102] (++) using VT number 1

[   202.115] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   202.115] (II) no primary bus or device found
[   202.116] (II) LoadModule: "glx"
[   202.117] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   202.141] (II) Module glx: vendor="X.Org Foundation"
[   202.141]  compiled for 1.18.3, module version = 1.0.0
[   202.142]  ABI class: X.Org Server Extension, version 9.0
[   202.142] (==) AIGLX enabled
[   202.142] (II) LoadModule: "fbturbo"
[   202.143] (WW) Warning, couldn't open module fbturbo
[   202.143] (II) UnloadModule: "fbturbo"
[   202.143] (II) Unloading fbturbo
[   202.143] (EE) Failed to load module "fbturbo" (module does not exist, 0)
[   202.143] (EE) No drivers available.
[   202.143] (EE) 
Fatal server error:
[   202.143] (EE) no screens found(EE) 
[   202.144] (EE) 
Please consult the The X.Org Foundation support 
  at http://wiki.x.org
 for help. 
[   202.144] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   202.144] (EE) 
[   202.168] (EE) Server terminated with error (1). Closing log file.
又花了點時間安裝哪個在淘寶入手的 LCD 顯示屏到 Raspberry Pi 上。今次是 Kali Linux。搞了很久都不成功,而且連原本能進的 startx 也失效。網上找的解答都不適用,最後出動撒手間:「rm /usr/share/X11/xorg.conf.d/99-fbturbo.conf」及「rm /etc/X11/xorg.conf.d/99-calibration.conf」使 startx 回復正常。因為這兩個檔案分別是 LCD 顯示屏及觸摸屏的設定。

沒有留言: