LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1829|回复: 16

三个月,无缘gnome桌面

[复制链接]
发表于 2010-6-27 13:51:28 | 显示全部楼层 |阅读模式
希望路过的都能给点意见
下面是我的/etc/X11/xorg.conf的配置文件。但是进不了桌面gnome
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dri"
        Load  "extmod"
        Load  "dbe"
        Load  "record"
        Load  "dri2"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                   # [<bool>]
        #Option     "HWcursor"                   # [<bool>]
        #Option     "NoAccel"                    # [<bool>]
        #Option     "ShadowFB"                   # [<bool>]
        #Option     "UseFBDev"                   # [<bool>]
        #Option     "Rotate"                     # [<str>]
        #Option     "VideoKey"                   # <i>
        #Option     "FlatPanel"                  # [<bool>]
        #Option     "FPDither"                   # [<bool>]
        #Option     "CrtcNumber"                 # <i>
        #Option     "FPScale"                    # [<bool>]
        #Option     "FPTweak"                    # <i>
        #Option     "DualHead"                   # [<bool>]
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "G96 [GeForce 9400 GT]"
        BusID       "CI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection



在我输入startx的时候会报错以下是提示
(==)Log file:"/var/log/xorg.0.log",Time:Tun jun 29 03:44:21 2010
(==)using config file:"/etc/X11/xorg.conf"
exptected keysym,got XF86TouchPadToggle:line 122 of inet
which:no keychain in (/usr/local/sbin:/usr/local/bin:usr/sbin:usr/bin:/sbin:/bin/opt/bin:/usr/i686-pclinux-gnu/gcc-bin/4.3.4)
/etc/X11/xinit/xinitrc:line 58:twm:command not found
/etc/X11/xinit/xinitrc:line 59:xclock:commad not found
/etc/X11/xinit/xinitrc:line 60:xterm:command not found
/etc/X11/xinit/xinitrc:line 61:xterm:command not found
/etc/X11/xinit/xinitrc:line 62:exec:command not found

waiting for x server to shut down error setting METT(base = 0d0000000,size = 0xff00000 ,type = 1) invalid argument (22)


还望哪位高人指点一下。我都装gentoo三个月了。还停留在字符阶段。
发表于 2010-6-27 13:57:39 | 显示全部楼层
格式化重装即可~~~
话说Gnome 2.30真是有点恶心~~~~~~
不过Gentoo用的2.28确实不错~~~~~~~~
还有Debian/openSUSE也不错
KDE用的时间长了会对它的plasma/oxygen主题感到厌烦~~~
回复 支持 反对

使用道具 举报

发表于 2010-6-27 14:02:53 | 显示全部楼层
兄弟,我也是在安装gnome时折腾了十多天,系统也重装了很多次,也差点因此而放弃gentoo了,最终在兄弟们的帮助下成功了~

你可以看看我求助过的帖子:
http://www.linuxsir.cn/bbs/thread370010.html
http://www.linuxsir.cn/bbs/thread368902.html
希望可以帮到你~
回复 支持 反对

使用道具 举报

发表于 2010-6-27 14:25:11 | 显示全部楼层
在安装xorg-server前,先执行emerge -pv xorg-server 看看USE标记里有没有-hal这个词,我的就是因为这个总失败,-hal前面不能有负号的,如果你的也有的话,一定要去掉~
回复 支持 反对

使用道具 举报

发表于 2010-6-27 17:41:16 | 显示全部楼层
我从不配置xorg....
曾经xorg --configure 测试过,但死机...但是桌面照样进....
开启了hal dbus支持,好像就可以了...
现在听说要配置Xorg还是迷迷糊糊
如ls所言,干脆就加个全局USE,hal dbus的
回复 支持 反对

使用道具 举报

发表于 2010-6-27 17:46:16 | 显示全部楼层
还有

/etc/X11/xinit/xinitrc:line 58:twm:command not found
/etc/X11/xinit/xinitrc:line 59:xclock:commad not found
/etc/X11/xinit/xinitrc:line 60:xterm:command not found
/etc/X11/xinit/xinitrc:line 61:xterm:command not found
/etc/X11/xinit/xinitrc:line 62:exec:command not found

这里说的是/etc/X11/xinit/xinitrc配置错误,不是Xorg的

你自己配置个.~/xinitrc
内容是exec gnome-session还是啥的,你具体看看,我用的是kde
你干脆装个gdm得了,直接gdm启动X
回复 支持 反对

使用道具 举报

发表于 2010-6-27 17:51:36 | 显示全部楼层
如果是在命令行下startx的话,需要改一下/home/user/.xinitrc, 加上下面这句:
exec gnome-session
回复 支持 反对

使用道具 举报

发表于 2010-6-28 08:57:38 | 显示全部楼层
1.8的xorg-server已经推荐不再使用hal了,改成了udev。

http://www.gentoo.org/proj/en/de ... 8-upgrade-guide.xml

Post by hongri2010;2099974
在安装xorg-server前,先执行emerge -pv xorg-server 看看USE标记里有没有-hal这个词,我的就是因为这个总失败,-hal前面不能有负号的,如果你的也有的话,一定要去掉~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-28 10:04:14 | 显示全部楼层
gdm,进去之后鼠标键盘全都不管用。只有重启。
加了hal udev,是整个gnome都要重新编译,还是只有xorg重新编译?
回复 支持 反对

使用道具 举报

发表于 2010-6-28 10:17:39 | 显示全部楼层
只有xorg重新编译//
如果你享用startx启动gnome,你需要在.xinitrc文件里面加入exec gnome-session
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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