[问题]求助,升级到7.04不可以 直接 进X了,但可以用startx进入

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
fxpopboy
帖子: 18
注册时间: 2007-03-31 18:46
来自: 江西南昌

[问题]求助,升级到7.04不可以 直接 进X了,但可以用startx进入

#1

帖子 fxpopboy » 2007-04-17 13:10

求助,升级到7.04不可以 直接 进X了,但可以用startx进入。登录的 提示是xorg.conf有 错误但 仔细看了 下 没有错误阿,显卡驱动也 正常阿 ,郁闷阿 :(
fxpopboy
帖子: 18
注册时间: 2007-03-31 18:46
来自: 江西南昌

#2

帖子 fxpopboy » 2007-04-17 13:12

这个 是xorg.conf内的内容


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV44 [GeForce 6200 TurboCache]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "7Klr"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV44 [GeForce 6200 TurboCache]"
Monitor "7Klr"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
头像
daviszhao
帖子: 56
注册时间: 2006-07-19 22:31
联系:

#3

帖子 daviszhao » 2007-04-17 22:43

先恢复默认的xorg.conf:
#dpkg-reconfigure -phigh xserver-xorg
再配置:
#dpkg-reconfigure xserver-xorg
fxpopboy
帖子: 18
注册时间: 2007-03-31 18:46
来自: 江西南昌

#4

帖子 fxpopboy » 2007-04-18 22:05

首先谢谢楼上的 提示,我 按你的 方法试了下,还是不可以。
fxpopboy
帖子: 18
注册时间: 2007-03-31 18:46
来自: 江西南昌

#5

帖子 fxpopboy » 2007-04-18 22:08

这个是我的 /var/log/Xorg.0.log 里面的 内容,希望大家帮我分析下:


(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load /usr/lib/xorg/modules/extensions//libglx.so
(EE) Failed to load module "glx" (loader failed, 7)
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(EE) xf86OpenSerial: Cannot open device /dev/wacom
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
上次由 fxpopboy 在 2007-04-19 22:36,总共编辑 2 次。
头像
vvoody
帖子: 749
注册时间: 2007-01-21 20:10

#6

帖子 vvoody » 2007-04-19 17:37

添加两段 代码:
Section "Extensions"
Option "Composite" "0"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

注意,上面这一段非常重要!
特别声明:7.04中千万不要加Option "AIGLX" off 这一段,否则进不去x。

viewtopic.php?t=26188
fxpopboy
帖子: 18
注册时间: 2007-03-31 18:46
来自: 江西南昌

#7

帖子 fxpopboy » 2007-04-19 19:21

首先谢谢 楼上的答复,但是还是不可以:
好像就是这几个地方原因
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
dlopen: libGLcore.so.1: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/extensions//libglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules//libint10.so
还有一下几行:
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : Success
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : Success
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : Success
(II) Configured Mouse: ps2EnableDataReporting: succeeded
chenzhouc
帖子: 131
注册时间: 2006-08-28 16:52
来自: 上海外国语大学

#8

帖子 chenzhouc » 2007-04-19 20:57

(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : Success
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : Success
(**) Option "Device" "/dev/wacom"
(EE) xf86OpenSerial: Cannot open device /dev/wacom
No such file or directory.
Error opening /dev/wacom : Success
(II) Configured Mouse: ps2EnableDataReporting: succeeded
这个是个什么输入的设备阿还是什么的,如果没有猜错的话,楼主应该用的是笔记本,看看你的xorg.conf下面的这一段
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB

这个有错误是正常的。就我看来,上面的一个问题应该才是症结所在,只是我不知道,期待高手。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#9

帖子 eexpress » 2007-04-19 21:05

看晕。 lz 应该学会 grep EE Xorg.0.log。而不是全部贴出来。
● 鸣学
fxpopboy
帖子: 18
注册时间: 2007-03-31 18:46
来自: 江西南昌

#10

帖子 fxpopboy » 2007-04-19 22:15

chenzhouc 写了:这个是个什么输入的设备阿还是什么的,如果没有猜错的话,楼主应该用的是笔记本,看看你的xorg.conf下面的这一段
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB

这个有错误是正常的。就我看来,上面的一个问题应该才是症结所在,只是我不知道,期待高手。
我用的是台式电脑,这个问题是我更新显卡驱动的时候出现的问题,恢复到原来的状态结果还是如此.
fxpopboy
帖子: 18
注册时间: 2007-03-31 18:46
来自: 江西南昌

#11

帖子 fxpopboy » 2007-04-19 22:19

eexpress 写了:看晕。 lz 应该学会 grep EE Xorg.0.log。而不是全部贴出来。
笑话了,呵呵,我一会就修改过来
我以前用的是FC对于很多ubuntu的知识还要请教大家了,我想我的问题关键还是在glx上.
回复