LinuxSir.cn,穿越时空的Linuxsir!

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

gentoo无法startx(安装xorg配置问题)

[复制链接]
发表于 2010-5-9 15:55:18 | 显示全部楼层 |阅读模式
我安装的xorg。安装过程倒是没问题。但是一输入startx无法启动桌面。
我的配置是:
               主板:技嘉EP43
               CPU:E2180
               显卡:GF9400GT
               内存:威刚2G+1G DDR800
               显示器:ACER 20寸 16:9
下面是我的xorg.conf文件内容。我不知道怎么改。还望高手指点。
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      "nvidia"
        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


上面那个是我安装好xorg-x11的时候,照手册Xorg –configure做的。然后把新生成的xorg配置文件拷贝到/etc/X11/xorg.conf。结果startx的时候报错:
(==)log file:”/var/log/xorg.0.log”,Time
(==)Using config file:”/etc/X11/xorg.conf”
(EE)May 18 05:37:26 NVIDIA(0): Failed to initialize the GLX module;please check in your X
(EE) May 18 05:37:26 NVIDIA(0):log file that the GLX module has been loaded in your X
(EE) May 18 05:37:26 NVIDIA(0):server,and that the module is the NVIDIA GLX module ,IF
(EE) May 18 05:37:26 NVIDIA(0):you continue to encounter problems,please try
(EE) May 18 05:37:26 NVIDIA(0):reinstalling the NVIDIA driver
Expected keysym,got XF86TouchpadToggle:line 122 of inet

/etc/X11/xinit/xinitrc:line58:twm:command not found
/etc/X11/xinit/xinitrc:line59:xclock:command not found
/etc/X11/xinit/xinitrc:line60:xterm:command not found
/etc/X11/xinit/xinitrc:line61:xterm:command not found
/etc/X11/xinit/xinitrc:line62:exec:xterm:not found

Waiting for x server to shut down
发表于 2010-5-9 16:09:35 | 显示全部楼层
可否贴一下错误日志呢?
回复 支持 反对

使用道具 举报

发表于 2010-5-9 16:13:13 | 显示全部楼层
贴输出哦……
回复 支持 反对

使用道具 举报

发表于 2010-5-9 17:41:33 | 显示全部楼层
错误是什么呀?能描述一下错误吗?

比如是在emerge xorg-server后输入startx还是?

我前几天重装后也是startx没有起来,后来发现是那个少emerge 软件了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-5-16 21:08:50 | 显示全部楼层
我贴了错误信息。不知道应该怎么做呀。我用想安个gnome。可是连桌面也进不了.
回复 支持 反对

使用道具 举报

发表于 2010-5-17 09:13:22 | 显示全部楼层
你没有描述错误现象,上面补充提供的几个错误我猜也不是很关键,你装一下twm和xterm,或者装好gnome再来startx
回复 支持 反对

使用道具 举报

发表于 2010-5-17 09:24:06 | 显示全部楼层
nvidia显卡闭源驱动要用nv自带的config程序来生成。
回复 支持 反对

使用道具 举报

发表于 2010-5-17 14:54:13 | 显示全部楼层
emerge nvidia-drivers
nvidia-xconfig 生成 /etc/X11/xorg.conf

emerge twm xclock xterm
再试试 startx
回复 支持 反对

使用道具 举报

发表于 2010-5-17 22:45:05 | 显示全部楼层
XSESSION=Gnome 之类的东西 配了没
回复 支持 反对

使用道具 举报

发表于 2010-5-17 23:10:14 | 显示全部楼层
eselect opengl ....
回复 支持 反对

使用道具 举报

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

本版积分规则

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