页次: 1
新安装的系统,使用nvidia-xconfig自动生成 /etc/X11/xorg.conf,按照 Wiki 中“配置文件样例”部分给出的 xorg.conf 的链接把"InputDevice" 部分注释掉后(它的上面还有一个提示:注意: "InputDevice" 部分已经注释掉,因为它们由 10-evdev.conf 负责。看到这个提示后,更坚定了我把"InputDevice" 部分注释掉的心),却无法进入 GUI了。(目前就按装了 slim, openbox, thunar, chromium和scitx,边看wiki边做其余的)
查询 X 的日志文件,没有发现问题
22:34:27 xiaolong@Arch ~ $ grep EE /var/log/Xorg.0.log
[ 14.343] Current Operating System: Linux Arch 3.4.4-2-ARCH #1 SMP PREEMPT Su
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 14.515] (II) Loading extension MIT-SCREEN-SAVER
查询 slim 的日志文件,如下
slim: waiting for X server to begin accepting connections
X.Org X Server 1.12.2
Release Date: 2012-05-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.32-1-lts x86_64
Current Operating System: Linux Arch 3.4.4-2-ARCH #1 SMP PREEMPT Sun Jun 24 18:59:47 CEST 2012 x86_64
Kernel command line: root=/dev/sda5 ro vga=0x034b ipv6.disable=1
Build Date: 30 May 2012 07:24:13PMCurrent version of pixman: 0.26.2
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 Jul 9 22:21:33 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
Data incomplete in file /etc/X11/xorg.conf
Undefined InputDevice "Keyboard0" referenced by ServerLayout "Layout0".Fatal server error:
no screens foundPlease consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.Server terminated with error (1). Closing log file.
Giving up.
slim: unable to connect to X server
/usr/bin/xauth: file /var/run/slim.auth does not exist
看来是 /etc/X11/xorg.conf 有问题,然后我把 /etc/X11/xorg.conf 之前注释掉的地方取消注释后就恢复正常了。我确定注释掉的地方是"InputDevice" 部分,不是"Screen"部分,这算不算 Wiki 中的一个错误呢?有其他同学遇到同样的问题吗?(应该不会有吧……在 X 能正常工作的情况下还去改配置文件真心有些闲的蛋疼了,比如鄙人)
离线
按照LZ说的试了试……
我这里正常。
http://pastebin.com/vQmd5PiZ
Site: CVHC.CC Twitter: @cuihaoleo Org: LUG@USTC
AD: ~欢迎参与志愿计算~
离线
我用的开源的驱动……不过记得闭源的当时直接没配置就用了,完全没按wiki来……
>>>>>>>>>jekyll博客>>>>>>>>>>
<<<<<<<<<更残念的vimwiki<<<<<<<<<
本人vim控,偏偏喜欢lisp
离线
啊,是我的错误,看了cuihao同学的配置文件,我发现之前不能进入 GUI 的原因是我没有同时把"ServerLayout"部分里的 InputDevice 也给注释掉……
离线
页次: 1