设为首页 友情链接
在线留言 发表文章
加入收藏 广告联系

刺猬首页

| 专案技术 | 网络技术 | 图形图象 | 网络编程 | 网页设计 | 操作系统 | 服务器 | 技术白皮书 | 在线实验室 | 刺猬论坛 |
小说专版  | 数据库 | 设计赏析 | 存储频道 | 网络安全 | 私服架设 |  Solaris | 网站评估 | PC维护技巧 | 下载中心 | 博 客 |
专   题: | Linux | java | cisco | 防病毒 | 刀片 | SOA | iscsi | ASP.NET | SQL | Oracle |
您现在的位置: IT公社 IT community >> Linux专题 >> Linux应用技巧 >> 教程正文 用户登录 新用户注册
专 题 栏 目
最 新 热 门
最 新 推 荐
相 关 文 章
Linux中的Ftp客户端──…
Linux操作系统下APE格式…
教你在Linux操作系统下也…
配置VNC 使window下vnc访…
浅谈Linux操作系统KDE桌…
在Linux操作系统下用Win…
linux虚拟光驱介绍
用语言控制Linux:Linux…
用语言控制Linux:Linux…
Windows打印机管理向Lin…
  Linux系统无法进入图形界面的解决过程         
Linux系统无法进入图形界面的解决过程
 

首先说明,我是一个新手,所有有些地方可能很菜,有不对的地方还请大虾教导。

  我安装的是Red Hat Linux 9(另一个系统是Windows Xp),安装时候无法进入图形界面,提示"注意:显示超出范围: H: xx KHz V: xxHz" ,然后黑屏,没有办法,只好使用文字界面安装,不过安装还是能成功的。采用grub登陆。之后进入Linux系统,在进入图形界面的时候,出现同样的提示,然后黑屏。

  原因是默认显卡的驱动于显卡不符,我的显卡是GF FX5200 128M,找到驱动程序,但文件6MB多(NVIDIA-Linux-x86 -1.0-5336-pkg1.run),没法用磁盘,因为我有Combo,所以,驱动程序刻在光盘上。(安装的时候参照http: //www.nvidia.com/object/linux_display_ia32_1.0-5336.html)

  具体解决过程:1、在出现选择菜单时按e,然后选择第二行(kernel *那一行)再按e,在结尾处输入空格1.然后回车,按b引导。

  2、出现提示符后,vi /etc/inittab把id:5:initdefault的5改成3. (具体修改方法:用方向键找到要修改的地方,按键盘上的'Insert',向Word编辑一样修改,之后按ESC,再按:W,然后Ctrl-z即可)

  3、reboot 4、启动后用root登陆5、把刻好的光盘放进光驱,mount /mnt/cdrom cd /mnt/cdrom 6、cp NVIDIA-Linux-x86-1.0-5336-pkg1.run \root cd /root 7、sh NVIDIA-Linux-x86-1.0-5336-pkg1.run 8、依照驱动程序的说明修改ftp://download.nvidia.com/XFree86/Linux-x86/1.0-5336/README主要的一步如下:__________________________________________________________________________

  (sec-03) EDITING YOUR XF86CONFIG FILE __________________________________________________________________________

  When XFree86 4.0 was released, it used a slightly different XF86Config file syntax than the 3.x series did, and so to allow both 3.x and 4.x versions of XFree86 to co-exist on the same system, it was decided that XFree86 4.x was to use the configuration file "/etc/X11/XF86Config-4" if it existed, and only if that file did not exist would the file "/etc/X11/XF86Config" be used (actually, that is an over-simplification of the search criteria; please see the XF86Config man page for a complete description of the search path)。 Please make sure you know what configuration file XFree86 is using. If you are in doubt, look for a line beginning with "(==) Using config file:" in your XFree86 log file("/var/log/XFree86.0.log")。 This README will use "XF86Config" to refer to your configuration file, whatever it is named.

  If you do not have a working XF86Config file, there are several ways to start: there is a sample config file that comes with XFree86,and there is a sample config file included with the NVIDIA driver package (it gets installed in /usr/share/doc/NVIDIA_GLX-1.0/)。

  You could also use a program like 'xf86config'; some distributions provide their own tool for generating an XF86Config file. For more on XF86Config file syntax, please refer to the man page.

  If you already have an XF86Config file working with a different driver(such as the 'nv' or 'vesa' driver), then all you need to do is find the relevant Device section and replace the line:

  Driver "nv"(or Driver "vesa")

  with

  Driver "nvidia"

  In the Module section, make sure you have:

  Load "glx"

  You should also remove the following lines:

  Load "dri" Load "GLcore"

  if they exist. There are also numerous options that can be added to the XF86Config file to fine-tune the NVIDIA XFree86 driver. Please see Appendix D for a complete list of these options.

  Once you have configured your XF86Config file, you are ready to restart X and begin using the accelerated OpenGL libraries. After you restart X,you should be able to run any OpenGL application and it will automatically use the new NVIDIA libraries.(用vi 命令,和vi /etc/inittab一样用)

  9、reboot 10、再在出现选择BOOT OS菜单时按e,然后选择第二行(kernel *那一行)再按e,在结尾处输入空格1.然后回车,按b引导。

  11、出现提示符后,vi /etc/inittab把id:5:initdefault的3改成5. 12、reboot这12部结束后,我就看到了我的图形界面了有的地方可能写得太详细,太弱智了,不过是为了方便第一次安装和第一次接触Linux的朋友,请大虾们不要笑我。

  再次感谢好好先生和及时帮助我的朋友。 :D

Linux联盟收集整理

频道声明:本频道的文章除部分特别声明禁止转载的专稿外,可以自由转载.但请务必注明出出处和原始作者 文章版权归本频道与文章作者所有.对于被频道转载文章的个人和网站,我们表示深深的谢意。

原始作者:佚名 录入时间:2007-1-3 3:54:44
信息来源:不详 投稿信箱:itqoo@126.com
教程录入:itqoo    责任编辑:itqoo 
  • 上一个教程:

  • 下一个教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    - 关于我们 - 合作伙伴 - 友情链接 - 广告刊登 - 投稿热线 - 在线留言版权声明联系方式 -
    IT公社版权所有 粤ICP备05127012号
    Copyrigh@2005-2006 itqoo.com.Inc All Rights Reserved  推荐分辨率 1024*768
    联系站长:E-Mail:itqoo@126.com     MSN:urchincc@hotmail.com    QQ:点击这里给我发消息
    特别感谢:亿太网络提供空间支持