QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 537|回复: 0

【求助】请问debian的X如何配置?

[复制链接]
发表于 2005-3-11 13:39:30 | 显示全部楼层 |阅读模式
本来没打算装debian的,因为对Linux还不怎么了解。结果想在Redhat9下升级内核玩的时候把系统搞坏了,刚好又看到了篇硬盘安装debian的文章,就打算装个debian。
用的是网络安装方式,下载sarge-i386-netinst.iso和另外几个文件到windows下的分区然后通过原来的grub控制台安装。安装完毕后在windows下用vmware装载整个硬盘来进行update以及安装X。
在安装X的过程中,我基本上都是按照默认的设置来选择的,结果等到我重启进入debian的时候,问题出来了:不能进入xwindow,提示Fatal server error: no screens found
运行startx的时候提示:
XIO: fatal IO error 104(Connection reset by peer) no X server ":0.0" after 0 requests (0 known processed) with 0 events remaining

我看了下/etc/X11/XF86Config-4文件,很多都是vmware的东西,我感觉就是显卡设置之类的问题。在别人指点下运行dpkg-reconfigure xserver-xfree86进行设置,但设置完以后XF86Config-4文件并没有变化。。。没办法下我只好自己凭感觉修改XF86Config-4文件(已备份),还是没搞定。。。

因为身边没有熟悉ati显卡配置的人,哪位指点我一下吗?最好能给我说一下XF86Config-4应该如何修改,谢谢

ps:我的机器配置见签名档,另附上我乱改的XF86Config-4文件(希望高手给我指点一下哪里需要修改,修改成什么样子):

### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
# Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
# Load "xie"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

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

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

Section "Device"
Identifier "ATI Rage Mobility"
Driver "ATI"
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "Generic LCD Monitor"
HorizSync 28-50
VertRefresh 43-75
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic LCD Monitor"
Monitor "Generic LCD Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

### END DEBCONF SECTION
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-24 09:45 , Processed in 0.044104 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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