[问题]大虾们帮忙看看!!xorg.conf (问题已自行解决,并留参考)

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

[问题]大虾们帮忙看看!!xorg.conf (问题已自行解决,并留参考)

#1

帖子 yjxlove » 2007-09-23 4:48

新安装的7.04
安装了NVIDIA-Linux-x86-100.14.19-pkg1.run
然后生成的xorg.conf 就是不能启动
后来也试了旧的驱动,也是不行,试了源里的驱动,还是不行。
帮忙看看这个文件有啥问题!!


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Sep 12 14:29:35 PDT 2007

# /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 xorg.conf(5) manual page.
# (Type "man 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 "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "Files"

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

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

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

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

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

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

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

Section "Monitor"
Identifier "SyncMaster931BW"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "nVidia Corporation NV34 [GeForce FX 5500]"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV34 [GeForce FX 5500]"
Monitor "SyncMaster931BW"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 4
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x900"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900_60"
EndSubSection
EndSection
上次由 yjxlove 在 2007-09-23 6:52,总共编辑 1 次。
yjxlove
帖子: 37
注册时间: 2006-04-10 11:55
来自: 上海市

#2

帖子 yjxlove » 2007-09-23 6:51

重装 并按以下步骤操作 问题得到解决

代码: 全选

7.安装显卡驱动程序(我的显卡是nv7050 默认没有驱动需要安装)

(1)去www.nvidia.com下载最新的驱动:NVIDIA-Linux-x86-100.14.11-pkg1.run

(2)终端运行:sudo apt-get install build-essential pkg-config xserver-xorg-dev linux-headers-`uname -r`

(3)删除两个已有文件:

终端运行:sudo rm -f /etc/init.d/nvidia-glx

sudo rm -f /etc/init.d/nvidia-kernel

(4)修改linux-restricted-modules-common

终端运行:sudo gedit /etc/default/linux-restricted-modules-common

修改其中的 DISABLED_MODULES="",改为:DISABLED_MODULES="nv nvidia_new"

(5)终端运行:rm -f /lib/linux-restricted-modules/.nvidia_new_installed

(6)xWindows桌面按alt+ctrl+f2,并登陆

(7)$sudo /etc/init.d/gdm stop

(Cool安装驱动: $sudo sh xxxx.run (如果提示缺少某某模块(modules,kernel),询问是否上网下载,选no;其它选yes或ok)

(9)装好后 $sudo /etc/init.d/gdm start 重启xWindows 
为后来的同志留点参考:

7.04 并升级完所有补丁(2007-9-22)

本人电脑配置:
AMD 2500+
FX 5500
升技 KV7
DDR 1G
三星 SyncMaster 931BW
西部数据 SATA 320G(企业版)

安装完驱动后 用 Nvidia X Server Settings 生成了xorg.conf放在桌面上

备份原有xorg.conf后
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak1

将新的配置文件覆盖进去
sudo cp /home/xxx/Desktop/xorg.conf /etc/X11/xorg.conf.bak[/code]
头像
arsui
帖子: 889
注册时间: 2007-05-06 2:01
来自: 特麓村->浦北->五山->罗湖

#3

帖子 arsui » 2007-11-28 10:06

我昨晚试图安装NVIDIA-Linux-x86-169.04-pkg1.run 提示错误说不能在启动Xserver的模式下安装~~~
将新的配置文件覆盖进去
sudo cp /home/xxx/Desktop/xorg.conf /etc/X11/xorg.conf.bak
ps.:上面这句是不是写错了~?不是覆盖xorg.conf的咩?
Ubuntu 9.04 & Win Xp
------------------------------------------------------
Company: http://www.mazingtech.com
HomePage: http://www.arsui.com
回复