LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 943|回复: 10

【已解决】安装xorg-server后出错,无法进入X

[复制链接]
发表于 2010-12-6 23:08:46 | 显示全部楼层 |阅读模式
安装xorg-server后的Xorg.0.log如下:
[   606.927]
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[   606.928]
X.Org X Server 1.9.2.901 (1.9.3 RC 1)
Release Date: 2010-11-13
[   606.929] X Protocol Version 11, Revision 0
[   606.929] Build Operating System: Linux 2.6.35-gentoo-r12 i686 Gentoo
[   606.929] Current Operating System: Linux HAYSE 2.6.35-gentoo-r12 #1 Wed Dec 1 23:39:19 CST 2010 i686
[   606.929] Kernel command line: root=/dev/sda6
[   606.930] Build Date: 06 December 2010  07:48:07PM
[   606.930]  
[   606.930] Current version of pixman: 0.20.0
[   606.930]         Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   606.930] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   606.932] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec  6 21:09:49 2010
[   606.932] (==) Using config file: "/etc/X11/xorg.conf"
[   606.933] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   606.934] (==) ServerLayout "Layout0"
[   606.934] (**) |-->Screen "Screen0" (0)
[   606.934] (**) |   |-->Monitor "Monitor0"
[   606.934] (**) |   |-->Device "Device0"
[   606.934] (**) |-->Input Device "Keyboard0"
[   606.934] (**) |-->Input Device "Mouse0"
[   606.934] (==) Automatically adding devices
[   606.934] (==) Automatically enabling devices
[   606.934] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[   606.934]         Entry deleted from font path.
[   606.934] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   606.934]         Entry deleted from font path.
[   606.934] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   606.934]         Entry deleted from font path.
[   606.934] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   606.934]         Entry deleted from font path.
[   606.934] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[   606.934]         Entry deleted from font path.
[   606.934] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[   606.934]         Entry deleted from font path.
[   606.934] (==) FontPath set to:
       
[   606.934] (==) ModulePath set to "/usr/lib/xorg/modules"
[   606.934] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   606.934] (WW) Disabling Keyboard0
[   606.934] (WW) Disabling Mouse0
[   606.934] (II) Loader magic: 0x81e0d60
[   606.934] (II) Module ABI versions:
[   606.934]         X.Org ANSI C Emulation: 0.4
[   606.934]         X.Org Video Driver: 8.0
[   606.934]         X.Org XInput driver : 11.0
[   606.934]         X.Org Server Extension : 4.0
[   606.935] (--) PCI:*(0:1:0:0) 10de:02e1:1043:8237 rev 162, Mem @ 0xfd000000/16777216, 0xe0000000/268435456, 0xfc000000/16777216, BIOS @ 0x????????/131072
[   606.935] (II) LoadModule: "extmod"
[   606.936] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[   606.936] (II) Module extmod: vendor="X.Org Foundation"
[   606.936]         compiled for 1.9.2.901, module version = 1.0.0
[   606.936]         Module class: X.Org Server Extension
[   606.936]         ABI class: X.Org Server Extension, version 4.0
[   606.936] (II) Loading extension MIT-SCREEN-SAVER
[   606.936] (II) Loading extension XFree86-VidModeExtension
[   606.936] (II) Loading extension XFree86-DGA
[   606.936] (II) Loading extension DPMS
[   606.936] (II) Loading extension XVideo
[   606.936] (II) Loading extension XVideo-MotionCompensation
[   606.936] (II) Loading extension X-Resource
[   606.936] (II) LoadModule: "dbe"
[   606.936] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[   606.936] (II) Module dbe: vendor="X.Org Foundation"
[   606.936]         compiled for 1.9.2.901, module version = 1.0.0
[   606.936]         Module class: X.Org Server Extension
[   606.937]         ABI class: X.Org Server Extension, version 4.0
[   606.937] (II) Loading extension DOUBLE-BUFFER
[   606.937] (II) LoadModule: "glx"
[   606.937] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   606.937] (II) Module glx: vendor="X.Org Foundation"
[   606.937]         compiled for 1.9.2.901, module version = 1.0.0
[   606.937]         ABI class: X.Org Server Extension, version 4.0
[   606.937] (==) AIGLX enabled
[   606.937] (II) Loading extension GLX
[   606.937] (II) LoadModule: "record"
[   606.937] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[   606.937] (II) Module record: vendor="X.Org Foundation"
[   606.937]         compiled for 1.9.2.901, module version = 1.13.0
[   606.937]         Module class: X.Org Server Extension
[   606.937]         ABI class: X.Org Server Extension, version 4.0
[   606.937] (II) Loading extension RECORD
[   606.937] (II) LoadModule: "dri"
[   606.938] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[   606.938] (II) Module dri: vendor="X.Org Foundation"
[   606.938]         compiled for 1.9.2.901, module version = 1.0.0
[   606.938]         ABI class: X.Org Server Extension, version 4.0
[   606.938] (II) Loading extension XFree86-DRI
[   606.938] (II) LoadModule: "dri2"
[   606.938] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[   606.938] (II) Module dri2: vendor="X.Org Foundation"
[   606.938]         compiled for 1.9.2.901, module version = 1.2.0
[   606.938]         ABI class: X.Org Server Extension, version 4.0
[   606.938] (II) Loading extension DRI2
[   606.938] (II) LoadModule: "nvidia"
[   606.938] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   607.012] (II) Module nvidia: vendor="NVIDIA Corporation"
[   607.012]         compiled for 4.0.2, module version = 1.0.0
[   607.012]         Module class: X.Org Video Driver
[   607.029] (II) NVIDIA dlloader X Driver  260.19.21  Thu Nov  4 20:26:43 PDT 2010
[   607.034] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   607.034] (--) using VT number 7

[   607.038] (II) Loading sub module "fb"
[   607.038] (II) LoadModule: "fb"
[   607.038] (II) Loading /usr/lib/xorg/modules/libfb.so
[   607.048] (II) Module fb: vendor="X.Org Foundation"
[   607.048]         compiled for 1.9.2.901, module version = 1.0.0
[   607.048]         ABI class: X.Org ANSI C Emulation, version 0.4
[   607.048] (II) Loading sub module "wfb"
[   607.048] (II) LoadModule: "wfb"
[   607.048] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   607.053] (II) Module wfb: vendor="X.Org Foundation"
[   607.053]         compiled for 1.9.2.901, module version = 1.0.0
[   607.053]         ABI class: X.Org ANSI C Emulation, version 0.4
[   607.053] (II) Loading sub module "ramdac"
[   607.053] (II) LoadModule: "ramdac"
[   607.053] (II) Module "ramdac" already built-in
[   607.074] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   607.074] (==) NVIDIA(0): RGB weight 888
[   607.075] (==) NVIDIA(0): Default visual is TrueColor
[   607.075] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   607.075] (**) NVIDIA(0): Enabling RENDER acceleration
[   607.075] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[   607.075] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[   607.076] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[   607.076] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[   607.076] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[   608.284] (II) NVIDIA(0): NVIDIA GPU GeForce 7600 GS (G73) at PCI:1:0:0 (GPU-0)
[   608.284] (--) NVIDIA(0): Memory: 262144 kBytes
[   608.284] (--) NVIDIA(0): VideoBIOS: 05.73.22.54.00
[   608.284] (II) NVIDIA(0): Detected AGP rate: 8X
[   608.284] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[   608.284] (--) NVIDIA(0): Connected display device(s) on GeForce 7600 GS at PCI:1:0:0
[   608.284] (--) NVIDIA(0):     Eizo L461 (CRT-1)
[   608.284] (--) NVIDIA(0): Eizo L461 (CRT-1): 400.0 MHz maximum pixel clock
[   608.284] (II) NVIDIA(0): Assigned Display Device: CRT-1
[   608.284] (==) NVIDIA(0):
[   608.284] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   608.284] (==) NVIDIA(0):     will be used as the requested mode.
[   608.284] (==) NVIDIA(0):
[   608.284] (II) NVIDIA(0): Validated modes:
[   608.284] (II) NVIDIA(0):     "nvidia-auto-select"
[   608.284] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
[   608.292] (--) NVIDIA(0): DPI set to (101, 104); computed from "UseEdidDpi" X config
[   608.292] (--) NVIDIA(0):     option
[   608.305] (==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
[   608.305] (--) Depth 24 pixmap format is 32 bpp
[   608.306] (II) NVIDIA(0): Initialized AGP GART.
[   608.323] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   608.323] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   608.323] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   608.323] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   608.323] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   608.323] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   608.323] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   608.323] (II) NVIDIA(0):     Config Options in the README.
[   608.323] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[   608.422] (II) Loading extension NV-GLX
[   608.456] (II) NVIDIA(0): Initialized OpenGL Acceleration
[   608.475] (==) NVIDIA(0): Disabling shared memory pixmaps
[   608.475] (II) NVIDIA(0): Initialized X Rendering Acceleration
[   608.475] (==) NVIDIA(0): Backing store disabled
[   608.475] (==) NVIDIA(0): Silken mouse enabled
[   608.476] (**) NVIDIA(0): DPMS enabled
[   608.476] (II) Loading extension NV-CONTROL
[   608.477] (II) Loading extension XINERAMA
[   608.477] (II) Loading sub module "dri2"
[   608.477] (II) LoadModule: "dri2"
[   608.477] (II) Reloading /usr/lib/xorg/modules/extensions/libdri2.so
[   608.477] (II) NVIDIA(0): [DRI2] Setup complete
[   608.477] (==) RandR enabled
[   608.477] (II) Initializing built-in extension Generic Event Extension
[   608.477] (II) Initializing built-in extension SHAPE
[   608.477] (II) Initializing built-in extension MIT-SHM
[   608.477] (II) Initializing built-in extension XInputExtension
[   608.477] (II) Initializing built-in extension XTEST
[   608.477] (II) Initializing built-in extension BIG-REQUESTS
[   608.477] (II) Initializing built-in extension SYNC
[   608.477] (II) Initializing built-in extension XKEYBOARD
[   608.477] (II) Initializing built-in extension XC-MISC
[   608.477] (II) Initializing built-in extension XINERAMA
[   608.477] (II) Initializing built-in extension XFIXES
[   608.477] (II) Initializing built-in extension RENDER
[   608.477] (II) Initializing built-in extension RANDR
[   608.477] (II) Initializing built-in extension COMPOSITE
[   608.477] (II) Initializing built-in extension DAMAGE
[   608.492] (II) AIGLX: Screen 0 is not DRI2 capable
[   608.492] (II) AIGLX: Screen 0 is not DRI capable
[   608.535] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
[   608.535] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   608.742] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   608.742] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   608.742] (II) LoadModule: "evdev"
[   608.743] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   608.754] (II) Module evdev: vendor="X.Org Foundation"
[   608.755]         compiled for 1.9.2.901, module version = 2.5.0
[   608.755]         Module class: X.Org XInput Driver
[   608.755]         ABI class: X.Org XInput driver, version 11.0
[   608.755] (**) Power Button: always reports core events
[   608.755] (**) Power Button: Device: "/dev/input/event1"
[   608.755] (--) Power Button: Found keys
[   608.755] (II) Power Button: Configuring as keyboard
[   608.755] (II) XINPUT: Adding extended input device "ower Button" (type: KEYBOARD)
[   608.755] (**) Option "xkb_rules" "evdev"
[   608.755] (**) Option "xkb_model" "evdev"
[   608.755] (**) Option "xkb_layout" "us"
[   608.788] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[   608.789] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[   608.789] (**) Sleep Button: always reports core events
[   608.789] (**) Sleep Button: Device: "/dev/input/event0"
[   608.789] (--) Sleep Button: Found keys
[   608.789] (II) Sleep Button: Configuring as keyboard
[   608.789] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
[   608.789] (**) Option "xkb_rules" "evdev"
[   608.789] (**) Option "xkb_model" "evdev"
[   608.789] (**) Option "xkb_layout" "us"
[   608.791] (II) config/udev: Adding input device Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) (/dev/input/event3)
[   608.791] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Applying InputClass "evdev pointer catchall"
[   608.792] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): always reports core events
[   608.792] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Device: "/dev/input/event3"
[   608.792] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found 3 mouse buttons
[   608.792] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found scroll wheel(s)
[   608.792] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found relative axes
[   608.792] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found x and y relative axes
[   608.792] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Configuring as mouse
[   608.792] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): YAxisMapping: buttons 4 and 5
[   608.792] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   608.792] (II) XINPUT: Adding extended input device "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" (type: MOUSE)
[   608.792] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) keeping acceleration scheme 1
[   608.792] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration profile 0
[   608.792] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration factor: 2.000
[   608.792] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration threshold: 4
[   608.792] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): initialized for relative axes.
[   608.792] (II) config/udev: Adding input device Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) (/dev/input/mouse0)
[   608.792] (II) No input driver/identifier specified (ignoring)
[   608.793] (II) config/udev: Adding input device Dell Dell USB Keyboard (/dev/input/event4)
[   608.793] (**) Dell Dell USB Keyboard: Applying InputClass "evdev keyboard catchall"
[   608.793] (**) Dell Dell USB Keyboard: always reports core events
[   608.793] (**) Dell Dell USB Keyboard: Device: "/dev/input/event4"
[   608.793] (--) Dell Dell USB Keyboard: Found keys
[   608.793] (II) Dell Dell USB Keyboard: Configuring as keyboard
[   608.793] (II) XINPUT: Adding extended input device "Dell Dell USB Keyboard" (type: KEYBOARD)
[   608.793] (**) Option "xkb_rules" "evdev"
[   608.793] (**) Option "xkb_model" "evdev"
[   608.793] (**) Option "xkb_layout" "us"
[   608.798] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
[   608.798] (II) No input driver/identifier specified (ignoring)
[   608.885] (II) Power Button: Close
[   608.885] (II) UnloadModule: "evdev"
[   608.885] (II) Sleep Button: Close
[   608.885] (II) UnloadModule: "evdev"
[   608.886] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Close
[   608.886] (II) UnloadModule: "evdev"
[   608.886] (II) Dell Dell USB Keyboard: Close
[   608.886] (II) UnloadModule: "evdev"

搜索了论坛相关的内容,安装了并把dbus、hald提到default层,
并安装显卡驱动NVIDIA,及eselect opengl set nvidia 成功
安装了xterm , twm。

make.conf内容如下:
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN"
CONFIG_PROTECT="*"

INPUT_DEVICES="keyboard mouse evdev"
VIDEO_CARDS="nvidia"
ALSA_CARDS="snd-cs46xx"

ACCEPT_KEYWORDS="~x86"

FEATURES="sandbox ccache confcache parallel-fetch"
CCACHE_SIZE="2G"

SYNC="rsync://rsync.cn.gentoo.org/gentoo-portage"

GENTOO_MIRRORS="http://mirrors.163.com/gentoo/ http://gentoo.aditsu.net/ http://gentoo.gg3.net/"
USE=" -debug -ipv6 -arts X aac acl acpi alsa bzip2 cairo cdda cjk cups dbus \
     dri dvd exif flac ffmmpeg ftp firefox font-server freetype gb gif gmp glc gphoto2 gtk gtk2 \
     gzip hal jpeg jpeg2k imap jbig -kde lame mad matroska mime mjpeg mmx mp3 mp4 mpeg4 mplayer \
     mpeg msn musepack nas net nls nptl ogg opengl oss oss4 pam perl pdf png python -qt3 -qt4 \
     quicktime readline sse sse2 tiff truetype unicode udev usb utils vcd vorbis wma wmf \
     win32codecs xml xpm xscreensaver xsl xv zlib stroke"

在xorg.conf中的段:
Section "Module"
        Load  "glx"
        Load  "extmod"
        Load  "xtrap"
        Load  "record"
        Load  "dbe"
#        Load  "dri"
        Load  "freetype"
        Load  "type1"
EndSection
 楼主| 发表于 2010-12-6 23:16:03 | 显示全部楼层
贴图回复信息框在IE6内如图所示。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2010-12-6 23:56:20 | 显示全部楼层
xorg.conf里面,有这么一段吗:

Section "Files"
        FontPath "/usr/share/fonts/corefonts/"
        ModulePath   "/usr/lib64/xorg/modules/"
        ModulePath   "/usr/lib64/opengl/xorg-x11/"
EndSection

也许是xorg-server找不到你的module了,你nvidia的module装载了哪儿,对应着设置一下modulepath看看呢?
回复 支持 反对

使用道具 举报

发表于 2010-12-6 23:59:11 | 显示全部楼层
不要xorg.conf试试看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-7 09:40:42 | 显示全部楼层
Post by kwindva;2122304
xorg.conf里面,有这么一段吗:

Section "Files"
        FontPath "/usr/share/fonts/corefonts/"
        ModulePath   "/usr/lib64/xorg/modules/"
        ModulePath   "/usr/lib64/opengl/xorg-x11/"
EndSection

也许是xorg-server找不到你的module了,你nvidia的module装载了哪儿,对应着设置一下modulepath看看呢?


直接用nvidia-xconfig配制的xorg.conf,没有你上面所说的段。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-7 09:41:22 | 显示全部楼层
Post by jamesgt;2122305
不要xorg.conf试试看


不用xorg.conf的话,同样进不去,出现screen那个错误。
回复 支持 反对

使用道具 举报

发表于 2010-12-7 13:40:57 | 显示全部楼层
Post by hayse2000;2122302
贴图回复信息框在IE6内如图所示。


我印象中linuxsir在ie下好像就是显示不行。

很久不用ie了
回复 支持 反对

使用道具 举报

发表于 2010-12-7 20:55:02 | 显示全部楼层
Post by hayse2000;2122326
直接用nvidia-xconfig配制的xorg.conf,没有你上面所说的段。


你看看你的x11模块装在了哪儿?也许需要如此设置一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-12-8 12:04:06 | 显示全部楼层
Post by kwindva;2122384
你看看你的x11模块装在了哪儿?也许需要如此设置一下。


弱弱的问句,如何查找x11模块,用find 还是?
回复 支持 反对

使用道具 举报

发表于 2010-12-8 17:59:53 | 显示全部楼层
equery f nvidia-drivers
应该在/usr/lib/下面。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表