还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

其他Linux/Unix/BSD/OSX等发行版讨论
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#1

帖子 adagio » 2008-12-01 23:10

archlinux-2008.06-core-i686.iso
终于刻盘安装成功了!不容易啊,因为硬盘安装总是失败,找不到我的SATA硬盘。
顺利连上网,然后装上xorg、gdm、gnome,还有xf86-video-ati,因为我是ATI 2400 PRO显卡
然后在hwd -xa的基础上把xorg.conf改成了如下样子:

代码: 全选

Section "ServerLayout"
	Identifier     "Xorg Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section "ServerFlags"
	Option "AllowMouseOpenFail"  "true"
	
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc:unscaled"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/75dpi:unscaled"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/share/fonts/100dpi:unscaled"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
	FontPath     "/usr/share/fonts/cyrillic"
#	FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#	FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/ttf/western"
	FontPath     "/usr/share/fonts/ttf/decoratives"
	FontPath     "/usr/share/fonts/truetype"
	FontPath     "/usr/share/fonts/truetype/openoffice"
	FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
	FontPath     "/usr/share/fonts/latex-ttf-fonts"
	FontPath     "/usr/share/fonts/defoma/CID"
	FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
	Load  "dbe"
        Load  "drm"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
        Load  "bitmap" # bitmap-fonts
	Load  "freetype"
	Load  "record"
	#   Load  "synaptics"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
        Option      "CoreKeyboard"
	Option "XkbRules" "xorg"
	Option "XkbModel" "pc105"
	Option "XkbLayout" "us"
	Option "XkbVariant" ""
EndSection

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

# Auto-generated by Archie mkxcfg

Section "Monitor"
	Identifier "Monitor0"
		Option "DPMS" "true"
#	HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
	HorizSync    30.0 - 83.0 # Warning: This may fry old Monitors
	VertRefresh  55.0 - 75.0 # Very conservative. May flicker.
#	VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
	#  Default modes distilled from
	#      "VESA and Industry Standards and Guide for Computer Display Monitor
	#       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
	#  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
	# 800x600 @ 75Hz (VESA) hsync: 46.9kHz
	ModeLine "800x600"    49.5  800  816  896 1056    600  601  604  625 +hsync +vsync
	# 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
	ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
	# 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
	ModeLine "1280x1024" 135.0 1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync

# Auto-generated by Archie mkxcfg


Section "Device"
	Identifier  "ATI2400PRO"
	Driver      "radeon"
	VendorName  "All"
	BoardName   "All"
	Option      "XAANoOffscreenPixmaps"  "true"
	Option      "ColorTiling"  "on"
	Option      "AccelMethal"  "EXA"
EndSection


Section "Screen"
	Identifier "Screen0"
	Device     "ATI2400PRO"
	Monitor    "Monitor0"
	DefaultColorDepth 16
	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 "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes "1208x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     32
		Modes "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
       Group "video"
EndSection
运行gdm后成功看见登陆画面,输入root,晕喔,居然和ubuntu一样,禁止root登陆,没法了只好先adduser一个用户对付一下
好了,进去了,终于看见可爱的gnome,一切都挺好是不?等等等等……,突然发现:

第1个问题:用普通用户登陆X,然后打开FF没有连接,就是说连不上网,可是在TTY下用root登陆,再pppoe-start已经显示链接成功的,而且可以pacman -Syu升级的,说明网络肯定是连通的啊!晕啊,看wiki说要想听声还要加入“audio”组,当时就纳闷了,不过我用ubuntu就知道用sudo要加入“sudoer”组,莫非这个arch里普通用户要上网还要加入个什么“internet”组不成?
望解答……

第2个问题:普通用户登陆X以后,如果我再“CTRL+ALT+F1”切换到终端,就发现终端屏幕字体变成全部黑底绿色文字的,类似显示不正常的样子,而且按“CTRL+ALT+F7”想切换回X就不行了,显示器显示“超出显示范围”!我倒啊!刚才还在gnome折腾的,很正常啊,为啥切到终端再切回来就“超出显示范围”了呢?
想破头也不懂……

第3个问题:这个是目前最严重的,我鬼使神差的又pacman -Syu 一下,他说有新的xorg-server-1.5.3-2,问我要生不生?废话!有新版我为啥不生?
按下Y……,等他生出来了,我就reboot,再输入gdm看看……
哇!蓝屏!
有没有搞错?

以下是/var/log/Xorg.0.log的内容:

代码: 全选

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-ARCH i686 
Current Operating System: Linux Arch.Von 2.6.27-ARCH #1 SMP PREEMPT Fri Nov 28 10:56:24 UTC 2008 i686
Build Date: 09 November 2008  07:16:27PM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec  1 21:35:53 2008
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 16 of section Files in file /etc/X11/xorg.conf
	"RgbPath" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
:em21
我好苦,搞了这么几天不容易啊,眼看成功又这样了……
这回无论如何这个死球的X就是进不去了

非常不好意思的麻烦你们再帮忙看看,又是哪里不对了!
谢谢啊 :em80
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#2

帖子 HuntXu » 2008-12-01 23:19

rgb行注释掉
今天挂了比较多人...
基本上不是自己大改过而是用hwd出来的xorg.conf都挂了...
具体去看看sir上arch版的帖子...
HUNT Unfortunately No Talent...
头像
ebok
帖子: 852
注册时间: 2008-02-15 0:09

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#3

帖子 ebok » 2008-12-01 23:52

:em20
我就是LS 所说的比较多人中的一个,一开始进不了X,
然后找来找去看到注释rgb那行,照做,然后是可以看到gdm的登录画面,但接着是
键盘鼠标都没反应了,搞得相当的头大,算了,明天再折腾。
Somebody think they are full of niubility, so they play a zhuangbility, but only reflect their shability.
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#4

帖子 zhuqin_83 » 2008-12-02 0:24

一看就是不读wiki和主页新闻的。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#5

帖子 adagio » 2008-12-02 0:42

我KAO,按照洪同学的指示,去sir上找到这个http://www.linuxsir.org/bbs/thread339907.html
再照他说的,把Section "Files"中的RgbPath项,Section "ServerLayout"中inputdevice项,还有所有Section “InputDevice”项全部干掉,终于进来了,而且我发现如果我用开源驱动的话还是不行,一样显示“超出显示范围”,只有用vesa才行,我倒……
我受不了了,打击太大了,还是洗了睡吧,太折腾人了这个……
:em30 :em43 :ema9
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
AutoXBC
帖子: 1744
注册时间: 2007-10-23 12:54

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#6

帖子 AutoXBC » 2008-12-02 1:36

1.wiki 上有答案了
2.软件在 AUR 上找
3.升级是平滑的

换种说法是不是
1.你将遇到很多问题
2.源里没有你要的软件
3.你要自己处理升级 bug
上次由 AutoXBC 在 2008-12-02 1:41,总共编辑 1 次。
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#7

帖子 HuntXu » 2008-12-02 1:38

AutoXBC 写了:1.wiki 上有答案了
2.软件在 ABS 上找
3.升级是平滑的

换种说法是不是
1.你将遇到很多问题
2.源里没有你要的软件
3.你要自己处理升级 bug
不否认,但没这么夸张...偶尔出现的小问题,只会让你更好的加深理解,个人感觉是这样的...
大问题,还没遇过,我属于纯白的,开着testing源的那种...
HUNT Unfortunately No Talent...
dragon8021
帖子: 57
注册时间: 2008-07-28 22:16

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#8

帖子 dragon8021 » 2008-12-02 2:07

其实,看看wiki,看看论坛,就不会出什么问题了
我的nv6100也在xserver1.5.3里面用的好好的了
只是,1280*1024是注定要黑屏的~
kevin.c
帖子: 145
注册时间: 2008-04-01 12:28

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#9

帖子 kevin.c » 2008-12-02 10:15

第1个问题:加用户到network组试试。不行就装wicd,去wiki看怎么安装
第2个问题:别自己手动配置xorg.conf。把现在的xorg.conf删掉(删前备份一下,以防不测),再hwd -xa,然后aticonfig --initial一下就OK了
第3个问题:错误信息写的很清楚了
Parse error on line 16 of section Files in file /etc/X11/xorg.conf
"RgbPath" is not a valid keyword in this section.
打开xorg.conf把RgbPath行删掉

要多看wiki,留意错误信息。linux下的提示信息都是很有用的,不像windows下的那样毫无意义
头像
xiooli
帖子: 6956
注册时间: 2007-11-19 21:51
来自: 成都
联系:

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#10

帖子 xiooli » 2008-12-02 11:05

lz 成功的让我对arch产生了恐惧 :em09
头像
qiang_liu8183
论坛版主
帖子: 10699
注册时间: 2006-09-10 22:36
系统: Arch Debian
来自: 北京

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#11

帖子 qiang_liu8183 » 2008-12-02 11:34

xiooli 写了:lz 成功的让我对arch产生了恐惧 :em09
:em04
看破、放下、自在、随缘、念佛
真诚、清净、平等、正觉、慈悲
头像
yihan189
帖子: 89
注册时间: 2007-10-14 15:47

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#12

帖子 yihan189 » 2008-12-02 12:36

我已经舒心的用了一周多了! 虽然更新后也出过问题,但是解决了!
life is short, use arch!
头像
Terpineol
帖子: 1230
注册时间: 2007-12-09 14:35

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#13

帖子 Terpineol » 2008-12-02 13:07

lz装显卡时无论如何认真看wiki,同意4楼zhuqin的意见,我的n卡用xconfig,那个xorg.conf都没有的用的好好的 :em20
Linux is for human being,love is for human making
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#14

帖子 adagio » 2008-12-02 13:31

我说LS各位,我知道你们说的对,多看wiki倒是当然了,我在新手区也这样对新手说的
可是wiki那么多问题和注意事项,鬼才知道自己会遇上那个,要都看完、记住了谈何容易啊!那得老鼻子了!
还不是要先实践了,等遇上问题再来想办法解决么!
再说那个wiki里很多E文的都没有译完,我看着实在头晕
所以先发个帖试试运气嘛,这样省心点不是?
再说保不准别人也有这个问题亚,刚好看到你们解答就是他要的,岂不痛快?
:em06

LS这话咋说的,我要是没看wiki,连pacman咋用都还不会呢,又咋会知道用hwd -xa?

kevin.c 写了:第1个问题:加用户到network组试试。不行就装wicd,去wiki看怎么安装
第2个问题:别自己手动配置xorg.conf。把现在的xorg.conf删掉(删前备份一下,以防不测),再hwd -xa,然后aticonfig --initial一下就OK了
第3个问题:错误信息写的很清楚了
Parse error on line 16 of section Files in file /etc/X11/xorg.conf
"RgbPath" is not a valid keyword in this section.
打开xorg.conf把RgbPath行删掉

要多看wiki,留意错误信息。linux下的提示信息都是很有用的,不像windows下的那样毫无意义
第一个问题,果然如此,那多谢一下,我晚上试试
第二个问题,我这次打算用开源驱动,不想用官方那个闪啊闪的破烂货了,眼睛疼。而且我的xorg.conf就是用hwd -xa生成的,升级xorg后就不行了
第三个问题,看我5楼的帖子,已经解决了,不光要删除"RgbPath"那一行,而是所有有关“InputDevice”的项目都要干掉,看sir上的帖子,说是有个啥新咚咚在作怪,反正这样搞我已经进去了。
多谢解答!
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 还在折腾arch,这回是xorg搞不定了,各位再帮个忙……

#15

帖子 adagio » 2008-12-02 13:43

补充一下,我看到爱因斯坦推荐新手优先使用开源驱动,就不太同意,这个咚咚我在ubuntu里一次都没有搞定,水平差点吧,可是用官方的很顺利就装上,只是闪屏这个问题讨厌

嘿嘿,这次去上sir那个坛子,倒是发现几个熟人啦,比如 zhuqin、猪嘴企鹅、bjsm…… :em09
不知道还有谁,你们说说
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
回复