LinuxSir.cn,穿越时空的Linuxsir!

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

startx的问题(NVIDIA),再请教了!谢谢!

[复制链接]
发表于 2004-5-1 02:21:00 | 显示全部楼层 |阅读模式
NVIDIA GeForce4 MX440的显卡(64M)

参照北南南北大哥的帖子,
以root用户登陆,安装了NVIDIA-Linux-x86-1.0-5328-pkg0.24.run驱动
(论坛上下的)
修改了 /XF86Config的相关信息
修改了/etc/inittab(id:5->id:3)

输入startx时出现如下信息:

execve failed for /etc/X11/X (errno 2)
give up.
xinit:
No such file or directionary(errno 2) unable to connect to X server

xinit: No such process (errno 3): server error.

难道是我的KDE没有安装好吗?今天就先搞到这里了,请兄弟们给我些提示哈。谢了先!
我明天准备重装一下系统试试看。
发表于 2004-5-1 08:22:00 | 显示全部楼层
把/etc/X11/XF86Config文件的内容帖一下看看?
发表于 2004-5-1 08:36:53 | 显示全部楼层
可能修改错了。
 楼主| 发表于 2004-5-1 10:37:12 | 显示全部楼层

先谢谢2位了!XF86Config的内容

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

#  Load        "dbe"          #<--------------------------------------这行加了个#
#Double buffer extension


# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"

# This loads the GLX module
    Load       "glx"

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier        "Standard VGA"
    VendorName        "Unknown"
    BoardName        "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset        "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "nvidia"   #<--------------------------------------这行改为nvidia


# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "CI:0:10:0"

#    VideoRam        256

#    Clocks        25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "My Video Card"
    Driver      "nvidia"   #<--------------------------------------这行也改为nvidia
        # unsupported card
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection


:thank :thank :thank
 楼主| 发表于 2004-5-1 10:42:21 | 显示全部楼层
另外
我该如何查看KDE有没有安装呢?
在X11目录下是不是应该有X目录?
谢谢了!
发表于 2004-5-1 10:50:18 | 显示全部楼层
修改Section "Device"
即可,其他文件都不要改
我的,供参考:
  1. # XFree86 4.0 configuration generated by Xconfigurator

  2. Section "ServerLayout"
  3.         Identifier "XFree86 Configured"
  4.         Screen        0        "Screen0" 0 0
  5.         InputDevice        "Keyboard0" "CoreKeyboard"
  6.         InputDevice        "HWTablet" "SendCoreEvents"
  7.         InputDevice        "Mouse2" "CorePointer"
  8. EndSection

  9. # By default, Red Flag Linux 2.0 and later use fonts paths
  10. Section "ServerFlags"
  11.         Option        "AllowMouseOpenFail" "yes"
  12. EndSection

  13. Section "Files"
  14.         FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
  15. #        FontPath "unix/:7100"
  16.    FontPath  "/usr/X11R6/lib/X11/fonts/local/"
  17.     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
  18.     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
  19.     FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
  20.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
  21.     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
  22.    #   FontPath  "unix/:-1"
  23.    ModulePath "/usr/X11R6/lib/modules"
  24. EndSection

  25. # This loads all the modules...


  26. Section "Module"
  27.         Load  "GLcore"
  28.         Load  "dbe"
  29.         Load  "xtt"
  30.         Load  "dri"
  31.         Load  "extmod"
  32.         Load  "glx"
  33.         Load  "pex5"
  34.         Load  "record"
  35.         Load  "xie"
  36.         Load  "v4l"
  37.         Load  "type1"
  38. EndSection

  39. Section "InputDevice"
  40.         Identifier        "Keyboard0"
  41.         Driver        "keyboard"
  42.         Option        "XkbLayout" "us"
  43. EndSection

  44. Section "InputDevice"
  45.         Identifier        "HWTablet"
  46.         Driver        "HWUSBTablet"
  47.         Option        "Device"        "/dev/input/mice"
  48.         Option        "AlwaysCore"        "on"
  49.         Option        "screenno"        "0"
  50.         Option        "MinimumXPosition"        "1792"
  51.         Option        "MaximumXPosition"        "8192"
  52.         Option        "MinimumYPosition"        "1792"
  53.         Option        "MaximumYPosition"        "8192"
  54.         Option        "UntouchDelay"        "1"
  55.         Option        "ReportDelay"        "1"
  56. EndSection

  57. Section "InputDevice"
  58.         Identifier        "Mouse2"
  59.         Driver        "mouse"
  60.         Option        "Device"        "/dev/psaux"
  61.         Option        "Protocol"        "IMPS/2"
  62.         Option        "Emulate3Buttons"        "yes"
  63.         Option        "ZAxisMapping"        "4 5"
  64. EndSection

  65. Section "Monitor"
  66.         Identifier "30-85 60-160"
  67.         VendorName "Unknown"
  68.         ModelName  "Unknown"
  69.         HorizSync 30-85
  70.         VertRefresh 60-160
  71.         Option "dpms"
  72.         ModeLine "1024x768"     94.50   1024 1088 1184 1376    768  769  772  808 +hsync +vsync
  73. EndSection

  74. Section "Device"
  75.         Identifier "NVIDIA GeForce 2 MX (generic)"
  76.         Driver "nvidia" #  [color=red]<---------修改这里[/color]
  77.         BoardName "Unknown"
  78. EndSection

  79. Section "Screen"
  80.         Identifier "Screen0"
  81.         Device "NVIDIA GeForce 2 MX (generic)"
  82.         Monitor "30-85 60-160"
  83.         DefaultDepth 16
  84.         Subsection "Display"
  85.                 Depth 16
  86.                 Modes "1024x768"
  87.         EndSubSection
  88. EndSection

  89. Section "DRI"
  90. EndSection
复制代码
 楼主| 发表于 2004-5-1 12:45:58 | 显示全部楼层

哈哈,看到图形界面了!谢谢了!

重装了一下系统就可以了!谢谢了哈!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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